-- created by Gemini pcall(function() local networkPause = game:GetService("CoreGui").RobloxGui:FindFirstChild("CoreScripts/NetworkPause") if networkPause then networkPause:Destroy() end end) local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer local tpwalking = false local antiNoclipped = false local followObjEnabled = false local advancedOpen = false local speed = 1 -- 1 value = 50 studs/s local STUDS_PER_VALUE = 50 local connection = nil local followObjConnection = nil local followObjPart = nil local followObjY = nil local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "TPWalkUI" ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = player:WaitForChild("PlayerGui") local Main = Instance.new("Frame") Main.Name = "Main" Main.Size = UDim2.new(0, 148, 0, 85) Main.Position = UDim2.new(0.5, -74, 0.15, 0) Main.BackgroundColor3 = Color3.fromRGB(25, 25, 25) Main.BackgroundTransparency = 0.15 Main.BorderSizePixel = 0 Main.Active = true Main.Draggable = true Main.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 10) UICorner.Parent = Main local UIStroke = Instance.new("UIStroke") UIStroke.Color = Color3.fromRGB(0, 170, 255) UIStroke.Thickness = 1.5 UIStroke.Parent = Main local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -52, 0, 22) Title.Position = UDim2.new(0, 8, 0, 0) Title.BackgroundTransparency = 1 Title.Text = "TPWalk" Title.TextXAlignment = Enum.TextXAlignment.Left Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 14 Title.Font = Enum.Font.GothamBold Title.Parent = Main local AdvancedBtn = Instance.new("TextButton") AdvancedBtn.Name = "AdvancedToggle" AdvancedBtn.Size = UDim2.new(0, 40, 0, 18) AdvancedBtn.Position = UDim2.new(1, -44, 0, 3) AdvancedBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 45) AdvancedBtn.Text = "More" AdvancedBtn.TextColor3 = Color3.fromRGB(0, 170, 255) AdvancedBtn.TextSize = 11 AdvancedBtn.Font = Enum.Font.GothamBold AdvancedBtn.Parent = Main local AdvCorner = Instance.new("UICorner") AdvCorner.CornerRadius = UDim.new(0, 5) AdvCorner.Parent = AdvancedBtn local ToggleBtn = Instance.new("TextButton") ToggleBtn.Name = "Toggle" ToggleBtn.Size = UDim2.new(0, 128, 0, 25) ToggleBtn.Position = UDim2.new(0.5, -64, 0, 25) ToggleBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) ToggleBtn.Text = "OFF" ToggleBtn.TextColor3 = Color3.fromRGB(255, 80, 80) ToggleBtn.TextSize = 13 ToggleBtn.Font = Enum.Font.GothamBold ToggleBtn.Parent = Main local ToggleCorner = Instance.new("UICorner") ToggleCorner.CornerRadius = UDim.new(0, 6) ToggleCorner.Parent = ToggleBtn local NoclipBtn = Instance.new("TextButton") NoclipBtn.Name = "AntiNoclipped" NoclipBtn.Size = UDim2.new(0, 128, 0, 25) NoclipBtn.Position = UDim2.new(0.5, -64, 0, 54) NoclipBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) NoclipBtn.Text = "Anti-Noclipped: OFF" NoclipBtn.TextColor3 = Color3.fromRGB(255, 80, 80) NoclipBtn.TextSize = 11 NoclipBtn.Font = Enum.Font.GothamBold NoclipBtn.Visible = false NoclipBtn.Parent = Main local NoclipCorner = Instance.new("UICorner") NoclipCorner.CornerRadius = UDim.new(0, 6) NoclipCorner.Parent = NoclipBtn local FollowObjBtn = Instance.new("TextButton") FollowObjBtn.Name = "FollowObjToggle" FollowObjBtn.Size = UDim2.new(0, 128, 0, 25) FollowObjBtn.Position = UDim2.new(0.5, -64, 0, 83) FollowObjBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) FollowObjBtn.Text = "Follow Obj: OFF" FollowObjBtn.TextColor3 = Color3.fromRGB(255, 80, 80) FollowObjBtn.TextSize = 11 FollowObjBtn.Font = Enum.Font.GothamBold FollowObjBtn.Visible = false FollowObjBtn.Parent = Main local FollowObjCorner = Instance.new("UICorner") FollowObjCorner.CornerRadius = UDim.new(0, 6) FollowObjCorner.Parent = FollowObjBtn local SpeedBox = Instance.new("TextBox") SpeedBox.Name = "SpeedBox" SpeedBox.Size = UDim2.new(0, 128, 0, 24) SpeedBox.Position = UDim2.new(0.5, -64, 0, 54) SpeedBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40) SpeedBox.Text = tostring(speed) SpeedBox.PlaceholderText = "Value" SpeedBox.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedBox.PlaceholderColor3 = Color3.fromRGB(150, 150, 150) SpeedBox.TextSize = 14 SpeedBox.Font = Enum.Font.GothamBold SpeedBox.ClearTextOnFocus = false SpeedBox.Parent = Main local SpeedCorner = Instance.new("UICorner") SpeedCorner.CornerRadius = UDim.new(0, 6) SpeedCorner.Parent = SpeedBox local function updateAdvancedLayout() NoclipBtn.Visible = advancedOpen FollowObjBtn.Visible = advancedOpen if advancedOpen then AdvancedBtn.Text = "Less" SpeedBox.Position = UDim2.new(0.5, -64, 0, 112) Main.Size = UDim2.new(0, 148, 0, 143) else AdvancedBtn.Text = "More" SpeedBox.Position = UDim2.new(0.5, -64, 0, 54) Main.Size = UDim2.new(0, 148, 0, 85) end end local function applyStudAppearance(part) part.Size = Vector3.new(30, 30, 30) part.Anchored = true part.CanCollide = true part.Material = Enum.Material.Plastic part.Transparency = 0 part.Color = Color3.fromRGB(163, 162, 165) part.TopSurface = Enum.SurfaceType.Studs part.BottomSurface = Enum.SurfaceType.Studs part.FrontSurface = Enum.SurfaceType.Studs part.BackSurface = Enum.SurfaceType.Studs part.LeftSurface = Enum.SurfaceType.Studs part.RightSurface = Enum.SurfaceType.Studs end local function getRoot(character) if not character then return nil end return character:FindFirstChild("HumanoidRootPart") or character.PrimaryPart end local function syncFollowObjPosition(character) if not followObjEnabled then return end local activeChar = character or player.Character local root = getRoot(activeChar) if not root then return end if not followObjPart or not followObjPart.Parent then followObjPart = Instance.new("Part") followObjPart.Name = "TPWalkFollowObj" applyStudAppearance(followObjPart) followObjPart.Parent = Workspace end if followObjY == nil then followObjY = root.Position.Y - 3 - (followObjPart.Size.Y / 2) end followObjPart.Position = Vector3.new(root.Position.X, followObjY, root.Position.Z) end local function stopFollowObj() if followObjConnection then followObjConnection:Disconnect() followObjConnection = nil end if followObjPart then followObjPart:Destroy() followObjPart = nil end followObjY = nil end local function startFollowObj(character) stopFollowObj() if not followObjEnabled then return end local char = character or player.Character local root = getRoot(char) or (char and char:WaitForChild("HumanoidRootPart", 10)) if not root or not followObjEnabled then return end followObjPart = Instance.new("Part") followObjPart.Name = "TPWalkFollowObj" applyStudAppearance(followObjPart) followObjPart.Parent = Workspace followObjY = root.Position.Y - 3 - (followObjPart.Size.Y / 2) followObjPart.Position = Vector3.new(root.Position.X, followObjY, root.Position.Z) followObjConnection = RunService.RenderStepped:Connect(function() if not followObjEnabled then stopFollowObj() return end syncFollowObjPosition(player.Character) end) end local function getSafeDelta(character, humanoid, delta) local desired = humanoid.MoveDirection * (speed * STUDS_PER_VALUE) * delta if not antiNoclipped or desired.Magnitude == 0 then return desired end local root = getRoot(character) if not root then return desired end local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.FilterDescendantsInstances = { character, followObjPart } params.IgnoreWater = false local margin = 1.5 local origins = { root.Position, root.Position + Vector3.new(0, 1.5, 0), root.Position - Vector3.new(0, 1.8, 0), } local maxAllowedDist = desired.Magnitude local dir = desired.Unit for _, origin in ipairs(origins) do local result = Workspace:Raycast(origin, dir * (maxAllowedDist + margin), params) if result and result.Instance and result.Instance.CanCollide then local safeDist = math.max(0, result.Distance - margin) if safeDist < maxAllowedDist then maxAllowedDist = safeDist end end end return dir * maxAllowedDist end local function disconnectLoop() if connection then connection:Disconnect() connection = nil end end local function attachToCharacter(character) disconnectLoop() if not tpwalking or not character then return end local humanoid = character:FindFirstChildWhichIsA("Humanoid") or character:WaitForChild("Humanoid", 10) if not humanoid or not tpwalking then return end connection = RunService.Heartbeat:Connect(function(delta) if not tpwalking then disconnectLoop() return end if not character.Parent or not humanoid.Parent then disconnectLoop() return end if humanoid.MoveDirection.Magnitude > 0 then local stepVec = getSafeDelta(character, humanoid, delta) if stepVec.Magnitude > 0 then character:TranslateBy(stepVec) if followObjEnabled then syncFollowObjPosition(character) end end end end) end local function startTPWalk() tpwalking = true ToggleBtn.Text = "ON" ToggleBtn.TextColor3 = Color3.fromRGB(80, 255, 80) if player.Character then attachToCharacter(player.Character) end end function stopTPWalk() tpwalking = false disconnectLoop() ToggleBtn.Text = "OFF" ToggleBtn.TextColor3 = Color3.fromRGB(255, 80, 80) end AdvancedBtn.MouseButton1Click:Connect(function() advancedOpen = not advancedOpen updateAdvancedLayout() end) ToggleBtn.MouseButton1Click:Connect(function() if tpwalking then stopTPWalk() else startTPWalk() end end) NoclipBtn.MouseButton1Click:Connect(function() antiNoclipped = not antiNoclipped if antiNoclipped then NoclipBtn.Text = "Anti-Noclipped: ON" NoclipBtn.TextColor3 = Color3.fromRGB(80, 255, 80) else NoclipBtn.Text = "Anti-Noclipped: OFF" NoclipBtn.TextColor3 = Color3.fromRGB(255, 80, 80) end end) FollowObjBtn.MouseButton1Click:Connect(function() followObjEnabled = not followObjEnabled if followObjEnabled then FollowObjBtn.Text = "Follow Obj: ON" FollowObjBtn.TextColor3 = Color3.fromRGB(80, 255, 80) task.spawn(function() startFollowObj(player.Character) end) else FollowObjBtn.Text = "Follow Obj: OFF" FollowObjBtn.TextColor3 = Color3.fromRGB(255, 80, 80) stopFollowObj() end end) SpeedBox.FocusLost:Connect(function() local raw = SpeedBox.Text local num = tonumber(raw) if num and num == num and math.abs(num) ~= math.huge then speed = num else speed = 0 end SpeedBox.Text = raw end) player.CharacterAdded:Connect(function(newCharacter) followObjY = nil if followObjEnabled then task.spawn(function() startFollowObj(newCharacter) end) end if tpwalking then task.spawn(function() attachToCharacter(newCharacter) end) end end)