local TweenService = game:GetService("TweenService") local player = game.Players.LocalPlayer local mouse = player:GetMouse() local ScreenGui = Instance.new("ScreenGui") local ToggleButton = Instance.new("TextButton") local ScriptButton = Instance.new("TextButton") local DestroyButton = Instance.new("TextButton") ScreenGui.Name = "TeleportToggleGui" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = player:WaitForChild("PlayerGui") ToggleButton.Parent = ScreenGui ToggleButton.Size = UDim2.new(0, 120, 0, 40) ToggleButton.Position = UDim2.new(0, 10, 1, -60) ToggleButton.Text = "Mostrar" ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 120, 255) ToggleButton.TextColor3 = Color3.new(1, 1, 1) ToggleButton.Font = Enum.Font.SourceSansBold ToggleButton.TextSize = 20 ScriptButton.Parent = ScreenGui ScriptButton.Size = UDim2.new(0, 120, 0, 40) ScriptButton.Position = UDim2.new(0, 140, 1, -60) ScriptButton.Text = "Teleport Off" ScriptButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) ScriptButton.TextColor3 = Color3.new(1, 1, 1) ScriptButton.Font = Enum.Font.SourceSansBold ScriptButton.TextSize = 20 ScriptButton.BackgroundTransparency = 1 ScriptButton.TextTransparency = 1 DestroyButton.Parent = ScreenGui DestroyButton.Size = UDim2.new(0, 150, 0, 40) DestroyButton.Position = UDim2.new(0, 270, 1, -60) DestroyButton.Text = "Destruir" DestroyButton.BackgroundColor3 = Color3.new(0, 0, 0) DestroyButton.TextColor3 = Color3.new(1, 1, 1) DestroyButton.Font = Enum.Font.SourceSansBold DestroyButton.TextSize = 18 DestroyButton.BackgroundTransparency = 1 DestroyButton.TextTransparency = 1 local teleportActive = false local buttonsVisible = false local tweenInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local function showButtons() buttonsVisible = true TweenService:Create(ScriptButton, tweenInfo, { BackgroundTransparency = 0, TextTransparency = 0 }):Play() TweenService:Create(DestroyButton, tweenInfo, { BackgroundTransparency = 0, TextTransparency = 0 }):Play() end local function hideButtons() buttonsVisible = false TweenService:Create(ScriptButton, tweenInfo, { BackgroundTransparency = 1, TextTransparency = 1 }):Play() TweenService:Create(DestroyButton, tweenInfo, { BackgroundTransparency = 1, TextTransparency = 1 }):Play() end local function toggleScriptButton() if buttonsVisible then hideButtons() ToggleButton.Text = "Mostrar" else showButtons() ToggleButton.Text = "Ocultar" end end local function toggleTeleport() teleportActive = not teleportActive if teleportActive then ScriptButton.Text = "Teleport On" ScriptButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) else ScriptButton.Text = "Teleport Off" ScriptButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) end end local function resetCharacterAndGui() local fadeInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) for _, obj in pairs(ScreenGui:GetDescendants()) do if obj:IsA("TextButton") then TweenService:Create(obj, fadeInfo, { BackgroundTransparency = 1, TextTransparency = 1 }):Play() end end task.wait(0.5) ScreenGui:D