--// SETTINGS local positions = { Vector3.new(-35.098, 103.095, 38.509), Vector3.new(-34.980, 103.095, 25.033), Vector3.new(-35.210, 103.095, 10.875) } local loopEnabled = false local savedPosition --// CREATE UI local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local ToggleButton = Instance.new("TextButton") local CreditLabel = Instance.new("TextLabel") ScreenGui.Parent = game.CoreGui -- UI Frame (Draggable) MainFrame.Parent = ScreenGui MainFrame.Size = UDim2.new(0, 220, 0, 100) -- Adjusted size MainFrame.Position = UDim2.new(0.4, 0, 0.2, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.Active = true MainFrame.Draggable = true -- Toggle Button ToggleButton.Parent = MainFrame ToggleButton.Size = UDim2.new(1, -20, 0, 40) -- Adjusted size ToggleButton.Position = UDim2.new(0, 10, 0, 10) ToggleButton.Text = "Toggle: OFF" ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) ToggleButton.TextSize = 20 -- Credit Label (Now inside the box) CreditLabel.Parent = MainFrame CreditLabel.Size = UDim2.new(1, -20, 0, 30) CreditLabel.Position = UDim2.new(0, 10, 0, 55) CreditLabel.Text = "🔥 Made by Aintnoway123n (@aintnoway123n on TikTok) 🔥" CreditLabel.BackgroundTransparency = 1 CreditLabel.TextColor3 = Color3.fromRGB(255, 255, 0) CreditLabel.TextSize = 14 CreditLabel.Font = Enum.Font.SourceSansBold CreditLabel.TextWrapped = true -- Keeps text inside the box --// TELEPORT FUNCTION (No Crash) local function teleportLoop() local player = game.Players.LocalPlayer if not player.Character or not player.Character.PrimaryPart then return end savedPosition = player.Character.PrimaryPart.Position while loopEnabled do for _, pos in ipairs(positions) do if not loopEnabled then return end player.Character:SetPrimaryPartCFrame(CFrame.new(pos)) task.wait(0.05) -- Prevents crashing end end -- Return to original position if savedPosition then player.Character:SetPrimaryPartCFrame(CFrame.new(savedPosition)) end end --// TOGGLE FUNCTION ToggleButton.MouseButton1Click:Connect(function() loopEnabled = not loopEnabled ToggleButton.Text = "Toggle: " .. (loopEnabled and "ON" or "OFF") ToggleButton.BackgroundColor3 = loopEnabled and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0) if loopEnabled then spawn(teleportLoop) end end)