-- IF YOU WANT TO MODIFY SOMETHING OF THE SCRIPT AND REUPLOAD IT IDC, YOU CAN ;) local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer -- SETTINGS local speed = 5 local MIN_SPEED = 1 local MAX_SPEED = 1000 local distance = 5 local enabled = false local highSpeedApproved = false local confirmationOpen = false local pendingSpeed = nil -- GUI local gui = Instance.new("ScreenGui") gui.Name = "TeleportLoopMenu" gui.ResetOnSpawn = false gui.DisplayOrder = 999999 gui.ZIndexBehavior = Enum.ZIndexBehavior.Global gui.IgnoreGuiInset = true gui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.fromOffset(310, 245) frame.Position = UDim2.new(0.5, -155, 0.5, -122) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 35) frame.BorderSizePixel = 0 frame.Active = true frame.ZIndex = 10 frame.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = frame -- TITLE local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 40) title.BackgroundColor3 = Color3.fromRGB(45, 45, 65) title.Text = "TELEPORT LOOP" title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.GothamBold title.TextSize = 17 title.ZIndex = 11 title.Parent = frame -- STATUS local status = Instance.new("TextLabel") status.Position = UDim2.fromOffset(15, 50) status.Size = UDim2.fromOffset(280, 25) status.BackgroundTransparency = 1 status.Text = "Status: OFF" status.TextColor3 = Color3.fromRGB(255, 90, 90) status.Font = Enum.Font.GothamBold status.TextSize = 15 status.ZIndex = 11 status.Parent = frame -- SPEED LABEL local speedLabel = Instance.new("TextLabel") speedLabel.Position = UDim2.fromOffset(15, 85) speedLabel.Size = UDim2.fromOffset(120, 25) speedLabel.BackgroundTransparency = 1 speedLabel.Text = "Speed:" speedLabel.TextColor3 = Color3.new(1, 1, 1) speedLabel.TextXAlignment = Enum.TextXAlignment.Left speedLabel.Font = Enum.Font.Gotham speedLabel.TextSize = 14 speedLabel.ZIndex = 11 speedLabel.Parent = frame -- SPEED TEXTBOX local textbox = Instance.new("TextBox") textbox.Position = UDim2.fromOffset(195, 82) textbox.Size = UDim2.fromOffset(95, 30) textbox.BackgroundColor3 = Color3.fromRGB(50, 50, 65) textbox.TextColor3 = Color3.new(1, 1, 1) textbox.Text = tostring(speed) textbox.Font = Enum.Font.GothamBold textbox.TextSize = 15 textbox.ClearTextOnFocus = false textbox.ZIndex = 11 textbox.Parent = frame -- SLIDER local slider = Instance.new("Frame") slider.Position = UDim2.fromOffset(15, 130) slider.Size = UDim2.fromOffset(280, 10) slider.BackgroundColor3 = Color3.fromRGB(65, 65, 80) slider.BorderSizePixel = 0 slider.Active = true slider.ZIndex = 11 slider.Parent = frame local fill = Instance.new("Frame") fill.Size = UDim2.new(0, 0, 1, 0) fill.BackgroundColor3 = Color3.fromRGB(0, 170, 255) fill.BorderSizePixel = 0 fill.ZIndex = 12 fill.Parent = slider local knob = Instance.new("TextButton") knob.Size = UDim2.fromOffset(20, 20) knob.AnchorPoint = Vector2.new(0.5, 0.5) knob.Position = UDim2.new(0, 0, 0.5, 0) knob.BackgroundColor3 = Color3.new(1, 1, 1) knob.Text = "" knob.ZIndex = 13 knob.Parent = slider local knobCorner = Instance.new("UICorner") knobCorner.CornerRadius = UDim.new(1, 0) knobCorner.Parent = knob -- SPEED DISPLAY local function renderSpeed() local percent = (speed - MIN_SPEED) / (MAX_SPEED - MIN_SPEED) textbox.Text = tostring(speed) fill.Size = UDim2.new(percent, 0, 1, 0) knob.Position = UDim2.new(percent, 0, 0.5, 0) end -- WARNING WINDOWS local showWarning showWarning = function(step) confirmationOpen = true local messages = { "Are you sure to loop TP at 10+ speed?\n\nRapid movement may cause eye strain or dizziness.", "Are you really really sure?", "Last warning! Rapid teleporting may damage your vision.\n\nAre you absolutely sure?" } local overlay = Instance.new("Frame") overlay.Name = "WarningOverlay" overlay.Size = UDim2.fromScale(1, 1) overlay.BackgroundColor3 = Color3.new(0, 0, 0) overlay.BackgroundTransparency = 0.4 overlay.Active = true overlay.ZIndex = 50 overlay.Parent = gui local window = Instance.new("Frame") window.Size = UDim2.fromOffset(350, 190) window.Position = UDim2.new(0.5, -175, 0.5, -95) window.BackgroundColor3 = Color3.fromRGB(30, 30, 40) window.BorderSizePixel = 0 window.ZIndex = 51 window.Parent = overlay local windowCorner = Instance.new("UICorner") windowCorner.CornerRadius = UDim.new(0, 12) windowCorner.Parent = window local heading = Instance.new("TextLabel") heading.Size = UDim2.new(1, 0, 0, 40) heading.BackgroundColor3 = Color3.fromRGB(170, 55, 35) heading.Text = "WARNING " .. step .. "/3" heading.TextColor3 = Color3.new(1, 1, 1) heading.Font = Enum.Font.GothamBold heading.TextSize = 18 heading.ZIndex = 52 heading.Parent = window local message = Instance.new("TextLabel") message.Position = UDim2.fromOffset(15, 50) message.Size = UDim2.new(1, -30, 0, 75) message.BackgroundTransparency = 1 message.Text = messages[step] message.TextColor3 = Color3.new(1, 1, 1) message.Font = Enum.Font.Gotham message.TextSize = 14 message.TextWrapped = true message.ZIndex = 52 message.Parent = window local function makeButton(name, position, color) local button = Instance.new("TextButton") button.Size = UDim2.fromOffset(145, 38) button.Position = position button.BackgroundColor3 = color button.Text = name button.TextColor3 = Color3.new(1, 1, 1) button.Font = Enum.Font.GothamBold button.TextSize = 14 button.ZIndex = 53 button.Parent = window local buttonCorner = Instance.new("UICorner") buttonCorner.CornerRadius = UDim.new(0, 7) buttonCorner.Parent = button return button end local confirm = makeButton( "CONFIRM", UDim2.fromOffset(15, 140), Color3.fromRGB(35, 155, 75) ) local cancel = makeButton( "CANCEL", UDim2.fromOffset(190, 140), Color3.fromRGB(180, 45, 45) ) confirm.MouseButton1Click:Connect(function() overlay:Destroy() if step < 3 then showWarning(step + 1) else confirmationOpen = false highSpeedApproved = true if pendingSpeed then speed = pendingSpeed pendingSpeed = nil renderSpeed() end end end) cancel.MouseButton1Click:Connect(function() overlay:Destroy() confirmationOpen = false pendingSpeed = nil renderSpeed() end) end -- SET SPEED local function setSpeed(value) if confirmationOpen then return end value = math.clamp( math.floor(value + 0.5), MIN_SPEED, MAX_SPEED ) if value >= 10 and not highSpeedApproved then pendingSpeed = value showWarning(1) return end speed = value renderSpeed() end -- SLIDER FUNCTIONALITY local sliding = false local function updateSlider(input) if confirmationOpen then return end local percent = math.clamp( (input.Position.X - slider.AbsolutePosition.X) / slider.AbsoluteSize.X, 0, 1 ) setSpeed(MIN_SPEED + percent * (MAX_SPEED - MIN_SPEED)) end local function startSliding(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then sliding = true updateSlider(input) end end slider.InputBegan:Connect(startSliding) knob.InputBegan:Connect(startSliding) UserInputService.InputChanged:Connect(function(input) if sliding and ( input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch ) then updateSlider(input) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then sliding = false end end) -- TEXTBOX textbox.FocusLost:Connect(function() local value = tonumber(textbox.Text) if value then setSpeed(value) else renderSpeed() end end) renderSpeed() -- TOGGLE BUTTON local toggleButton = Instance.new("TextButton") toggleButton.Position = UDim2.fromOffset(15, 165) toggleButton.Size = UDim2.fromOffset(280, 55) toggleButton.BackgroundColor3 = Color3.fromRGB(180, 45, 45) toggleButton.Text = "START TELEPORT" toggleButton.TextColor3 = Color3.new(1, 1, 1) toggleButton.Font = Enum.Font.GothamBold toggleButton.TextSize = 17 toggleButton.ZIndex = 11 toggleButton.Parent = frame local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(0, 8) toggleCorner.Parent = toggleButton local function setEnabled(value) enabled = value if enabled then status.Text = "Status: ON" status.TextColor3 = Color3.fromRGB(70, 255, 120) toggleButton.Text = "STOP TELEPORT" toggleButton.BackgroundColor3 = Color3.fromRGB(45, 160, 75) else status.Text = "Status: OFF" status.TextColor3 = Color3.fromRGB(255, 90, 90) toggleButton.Text = "START TELEPORT" toggleButton.BackgroundColor3 = Color3.fromRGB(180, 45, 45) end end toggleButton.MouseButton1Click:Connect(function() setEnabled(not enabled) end) -- TELEPORT LOOP local elapsed = 0 local forward = true RunService.Heartbeat:Connect(function(deltaTime) if not enabled then elapsed = 0 return end elapsed += deltaTime if elapsed >= 1 / speed then elapsed = 0 local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if root then local offset = root.CFrame.LookVector * distance if forward then root.CFrame = root.CFrame + offset else root.CFrame = root.CFrame - offset end forward = not forward end end end) -- F KEY TOGGLE UserInputService.InputBegan:Connect(function(input, processed) if not processed and not confirmationOpen and input.KeyCode == Enum.KeyCode.F then setEnabled(not enabled) end end) -- DRAGGABLE MENU local dragging = false local dragStart local startPosition local dragInput title.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPosition = frame.Position dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if dragging and ( input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch ) then local delta = input.Position - dragStart frame.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end)