local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local TARGET_POSITION = Vector3.new(160.41, 90, -6314.40) local TELEPORT_INTERVAL = 1 local TOGGLE_SOUND_ID = "rbxassetid://6698737249" local enabled = false local panelOpen = true local teleporting = false local old = playerGui:FindFirstChild("TeleportPanelPro") if old then old:Destroy() end -- GUI local gui = Instance.new("ScreenGui") gui.Name = "TeleportPanelPro" gui.ResetOnSpawn = false gui.DisplayOrder = 50 gui.Parent = playerGui local main = Instance.new("Frame") main.Name = "Main" main.Size = UDim2.fromOffset(290, 205) main.Position = UDim2.new(0, 35, 0.35, 0) main.BackgroundColor3 = Color3.fromRGB(19, 22, 32) main.BorderSizePixel = 0 main.Parent = gui Instance.new("UICorner", main).CornerRadius = UDim.new(0, 14) local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(100, 115, 255) stroke.Transparency = 0.2 stroke.Thickness = 1.5 stroke.Parent = main local header = Instance.new("Frame") header.Size = UDim2.new(1, 0, 0, 48) header.BackgroundColor3 = Color3.fromRGB(30, 34, 49) header.BorderSizePixel = 0 header.Parent = main Instance.new("UICorner", header).CornerRadius = UDim.new(0, 14) local headerCover = Instance.new("Frame") headerCover.Position = UDim2.new(0, 0, 1, -12) headerCover.Size = UDim2.new(1, 0, 0, 12) headerCover.BackgroundColor3 = header.BackgroundColor3 headerCover.BorderSizePixel = 0 headerCover.Parent = header local title = Instance.new("TextLabel") title.Position = UDim2.fromOffset(14, 0) title.Size = UDim2.new(1, -100, 1, 0) title.BackgroundTransparency = 1 title.Text = "TELEPORT / PRO" title.TextColor3 = Color3.fromRGB(245, 246, 255) title.Font = Enum.Font.GothamBold title.TextSize = 15 title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = header local hideButton = Instance.new("TextButton") hideButton.Size = UDim2.fromOffset(32, 30) hideButton.Position = UDim2.new(1, -74, 0, 9) hideButton.Text = "—" hideButton.Font = Enum.Font.GothamBold hideButton.TextSize = 18 hideButton.TextColor3 = Color3.new(1, 1, 1) hideButton.BackgroundColor3 = Color3.fromRGB(55, 60, 80) hideButton.BorderSizePixel = 0 hideButton.Parent = header Instance.new("UICorner", hideButton).CornerRadius = UDim.new(0, 8) local closeButton = Instance.new("TextButton") closeButton.Size = UDim2.fromOffset(30, 30) closeButton.Position = UDim2.new(1, -38, 0, 9) closeButton.Text = "×" closeButton.Font = Enum.Font.GothamBold closeButton.TextSize = 20 closeButton.TextColor3 = Color3.new(1, 1, 1) closeButton.BackgroundColor3 = Color3.fromRGB(170, 57, 72) closeButton.BorderSizePixel = 0 closeButton.Parent = header Instance.new("UICorner", closeButton).CornerRadius = UDim.new(0, 8) local status = Instance.new("TextLabel") status.Position = UDim2.fromOffset(15, 62) status.Size = UDim2.new(1, -30, 0, 24) status.BackgroundTransparency = 1 status.Text = "STATUS: DISABLED" status.TextColor3 = Color3.fromRGB(160, 165, 185) status.Font = Enum.Font.GothamMedium status.TextSize = 12 status.TextXAlignment = Enum.TextXAlignment.Left status.Parent = main local toggle = Instance.new("TextButton") toggle.Position = UDim2.fromOffset(15, 96) toggle.Size = UDim2.new(1, -30, 0, 45) toggle.BackgroundColor3 = Color3.fromRGB(45, 49, 66) toggle.Text = "▶ ENABLE TELEPORT" toggle.TextColor3 = Color3.new(1, 1, 1) toggle.Font = Enum.Font.GothamBold toggle.TextSize = 13 toggle.BorderSizePixel = 0 toggle.AutoButtonColor = true toggle.Parent = main Instance.new("UICorner", toggle).CornerRadius = UDim.new(0, 10) local info = Instance.new("TextLabel") info.Position = UDim2.fromOffset(15, 151) info.Size = UDim2.new(1, -30, 0, 35) info.BackgroundTransparency = 1 info.Text = "Auto teleport: every 1 second\nInsert — show / hide panel" info.TextColor3 = Color3.fromRGB(150, 157, 180) info.Font = Enum.Font.Gotham info.TextSize = 11 info.TextWrapped = true info.Parent = main local toggleSound = Instance.new("Sound") toggleSound.Name = "ToggleSound" toggleSound.SoundId = TOGGLE_SOUND_ID toggleSound.Volume = 0.7 toggleSound.Parent = gui local function playToggleSound() pcall(function() toggleSound.TimePosition = 0 toggleSound:Play() end) end local function updateUI() if enabled then toggle.Text = "■ DISABLE TELEPORT" toggle.BackgroundColor3 = Color3.fromRGB(35, 150, 105) status.Text = "STATUS: ACTIVE" status.TextColor3 = Color3.fromRGB(80, 240, 170) else toggle.Text = "▶ ENABLE TELEPORT" toggle.BackgroundColor3 = Color3.fromRGB(45, 49, 66) status.Text = "STATUS: DISABLED" status.TextColor3 = Color3.fromRGB(160, 165, 185) end end local function teleportOnce() local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if not root then return end -- This is intended for your own Roblox experience. root.CFrame = CFrame.new(TARGET_POSITION) end local function startTeleportLoop() if teleporting then return end teleporting = true task.spawn(function() while enabled do local ok, err = pcall(teleportOnce) if not ok then warn("[Teleport Panel] Teleport error:", err) end task.wait(TELEPORT_INTERVAL) end teleporting = false end) end local function setEnabled(value) if enabled == value then return end enabled = value updateUI() playToggleSound() if enabled then startTeleportLoop() end end toggle.Activated:Connect(function() setEnabled(not enabled) end) --Insert local function setPanelOpen(value) panelOpen = value if panelOpen then main.Visible = true main.BackgroundTransparency = 1 TweenService:Create( main, TweenInfo.new(0.18, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = 0} ):Play() else main.Visible = false end end UIS.InputBegan:Connect(function(input, processed) if processed then return end if input.KeyCode == Enum.KeyCode.Insert then setPanelOpen(not panelOpen) end end) hideButton.Activated:Connect(function() setPanelOpen(false) end) closeButton.Activated:Connect(function() setEnabled(false) gui:Destroy() end) -- panel local dragging = false local dragStart local startPos local dragInput header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = main.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) header.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UIS.InputChanged:Connect(function(input) if dragging and input == dragInput then local delta = input.Position - dragStart main.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) updateUI() print("[Teleport Panel Pro] Loaded")