Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local MainScript = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local TextButton = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local other = Instance.new("Frame")
- local UICorner_3 = Instance.new("UICorner")
- local TextButton_2 = Instance.new("TextButton")
- local UICorner_4 = Instance.new("UICorner")
- --Properties:
- MainScript.Name = "MainScript"
- MainScript.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- MainScript.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainScript.ResetOnSpawn = false
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = MainScript
- MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- MainFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0.0189055614, 0, 0.328750014, 0)
- MainFrame.Size = UDim2.new(0, 181, 0, 41)
- UICorner.CornerRadius = UDim.new(0, 4)
- UICorner.Parent = MainFrame
- TextButton.Parent = MainFrame
- TextButton.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.19898507, 0, 0.14695926, 0)
- TextButton.Size = UDim2.new(0, 107, 0, 25)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "AutoReset: OFF"
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextSize = 16.000
- UICorner_2.Parent = TextButton
- other.Name = "other"
- other.Parent = MainScript
- other.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- other.BorderColor3 = Color3.fromRGB(0, 0, 0)
- other.BorderSizePixel = 0
- other.Position = UDim2.new(0.0189055633, 0, 0.393750012, 0)
- other.Size = UDim2.new(0, 181, 0, 41)
- UICorner_3.CornerRadius = UDim.new(0, 4)
- UICorner_3.Parent = other
- TextButton_2.Parent = other
- TextButton_2.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
- TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.19898507, 0, 0.14695926, 0)
- TextButton_2.Size = UDim2.new(0, 107, 0, 25)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "TP TO MAIN ACC"
- TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_2.TextSize = 16.000
- UICorner_4.Parent = TextButton_2
- -- Scripts:
- local function ZWMHEAF_fake_script() -- MainScript.anc1
- local script = Instance.new('LocalScript', MainScript)
- wait (0)
- game.StarterGui:SetCore("SendNotification", {
- Title = "System Says:";
- Text = "Script loaded with no errors !";
- Icon = ""; --- PUT 0 OR NOTHING
- Duration = 4;
- })
- end
- coroutine.wrap(ZWMHEAF_fake_script)()
- local function CEUXAP_fake_script() -- MainScript.anc2
- local script = Instance.new('LocalScript', MainScript)
- wait (0)
- game.StarterGui:SetCore("SendNotification", {
- Title = "Version";
- Text = "1.1";
- Icon = ""; --- PUT 0 OR NOTHING
- Duration = 4;
- })
- end
- coroutine.wrap(CEUXAP_fake_script)()
- local function SASQEKM_fake_script() -- MainScript.LocalScript
- local script = Instance.new('LocalScript', MainScript)
- -- LocalScript inside ScreenGui
- local player = game.Players.LocalPlayer
- local gui = script.Parent
- -- Wait until the GUI is fully loaded
- gui:GetPropertyChangedSignal("Parent"):Wait()
- -- Example loadstring code
- local code = loadstring(game:HttpGet("https://raw.githubusercontent.com/louismich4el/ItsLouisPlayz-Scripts/main/TSB%20Anti%20Lag.lua"))()
- -- Run it (ONLY works if LoadstringEnabled = true)
- if loadstring then
- local success, err = pcall(function()
- loadstring(code)()
- end)
- if not success then
- warn("Loadstring failed: " .. tostring(err))
- end
- else
- warn("loadstring() is not enabled on this experience.")
- end
- end
- coroutine.wrap(SASQEKM_fake_script)()
- local function MOXBRV_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- -- LocalScript inside the TextButton
- local button = script.Parent
- local player = game.Players.LocalPlayer
- -- Variables
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local autoResetEnabled = false
- local lastHealth = humanoid.Health
- local healthConnection -- used to connect/disconnect damage detection
- -- Update button text
- local function updateButtonText()
- if autoResetEnabled then
- button.Text = "AutoReset: ON"
- else
- button.Text = "AutoReset: OFF"
- end
- end
- updateButtonText()
- -- Handle damage
- local function onHealthChanged(newHealth)
- if autoResetEnabled and newHealth < lastHealth then
- -- Player took damage → reset
- humanoid.Health = 0
- autoResetEnabled = false -- turn off after one reset
- updateButtonText()
- -- Stop damage listening
- if healthConnection then
- healthConnection:Disconnect()
- healthConnection = nil
- end
- end
- lastHealth = newHealth
- end
- -- Manage health change connection
- local function setupAutoReset()
- -- Disconnect any previous listener
- if healthConnection then
- healthConnection:Disconnect()
- healthConnection = nil
- end
- if autoResetEnabled then
- -- Start listening for damage
- healthConnection = humanoid.HealthChanged:Connect(onHealthChanged)
- end
- end
- -- Handle respawn
- player.CharacterAdded:Connect(function(newChar)
- character = newChar
- humanoid = newChar:WaitForChild("Humanoid")
- lastHealth = humanoid.Health
- setupAutoReset()
- end)
- -- Toggle button click
- button.MouseButton1Click:Connect(function()
- autoResetEnabled = not autoResetEnabled
- updateButtonText()
- setupAutoReset()
- end)
- end
- coroutine.wrap(MOXBRV_fake_script)()
- local function QYEI_fake_script() -- TextButton_2.LocalScript
- local script = Instance.new('LocalScript', TextButton_2)
- -- LocalScript inside TextButton
- local button = script.Parent
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- -- 🧍♂️ Change this to the USERID of the target player
- local targetUserId = 3255255403-- << replace this with the real UserId
- button.Text = "ID: " .. targetUserId
- local teleporting = false
- -- Function: find player by UserId
- local function getTargetPlayer()
- for _, p in ipairs(Players:GetPlayers()) do
- if p.UserId == targetUserId then
- return p
- end
- end
- return nil
- end
- -- Function: teleport to target
- local function teleportToTarget()
- local targetPlayer = getTargetPlayer()
- if not targetPlayer then
- warn("Id not found / player left " .. targetUserId .. " not found.")
- return
- end
- local myChar = player.Character or player.CharacterAdded:Wait()
- local targetChar = targetPlayer.Character or targetPlayer.CharacterAdded:Wait()
- if myChar and targetChar and targetChar:FindFirstChild("HumanoidRootPart") and myChar:FindFirstChild("HumanoidRootPart") then
- myChar:MoveTo(targetChar.HumanoidRootPart.Position + Vector3.new(0, 3, 0))
- print("Succesfully Teleported to:" .. targetPlayer.Name)
- end
- end
- -- Click button to teleport (and enable auto-respawn teleport)
- button.MouseButton1Click:Connect(function()
- if teleporting then
- teleporting = false
- button.Text = "Teleport to target ID: " .. targetUserId
- print("ID:")
- else
- teleporting = true
- button.Text = "ID:"
- print("Teleported once and enabled auto-teleport")
- teleportToTarget()
- end
- end)
- -- Automatically teleport again after death/respawn if enabled
- player.CharacterAdded:Connect(function()
- if teleporting then
- task.wait(1.5) -- short delay to let character fully load
- teleportToTarget()
- end
- end)
- end
- coroutine.wrap(QYEI_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment