-- mobile friendly walkfling toggle local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer -- wait for character & gui to load repeat task.wait() until LocalPlayer.Character and LocalPlayer:FindFirstChildOfClass("PlayerGui") -- create GUI local gui = Instance.new("ScreenGui") gui.Name = "WalkflingGUI" gui.ResetOnSpawn = false gui.IgnoreGuiInset = false gui.Parent = LocalPlayer:FindFirstChildOfClass("PlayerGui") -- create button local toggle = Instance.new("TextButton") toggle.Size = UDim2.new(0, 200, 0, 60) toggle.Position = UDim2.new(0.5, -100, 0.85, 0) toggle.BackgroundColor3 = Color3.fromRGB(30, 30, 30) toggle.TextColor3 = Color3.new(1,1,1) toggle.TextScaled = true toggle.Text = "Walkfling: OFF" toggle.Parent = gui local flingEnabled = false local connection toggle.MouseButton1Click:Connect(function() flingEnabled = not flingEnabled toggle.Text = flingEnabled and "Walkfling: ON" or "Walkfling: OFF" -- disconnect old one if connection then connection:Disconnect() end if not flingEnabled then return end connection = RunService.Stepped:Connect(function() local char = LocalPlayer.Character if not char then return end local root = char:FindFirstChild("HumanoidRootPart") if not root then return end for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") then part.Touched:Connect(function(hit) local target = hit.Parent local targetRoot = target and target:FindFirstChild("HumanoidRootPart") if targetRoot and target ~= char then local strength = 750000 local dir = (targetRoot.Position - root.Position).Unit targetRoot.Velocity = dir * strength + Vector3.new(0, strength/10, 0) end end) end end end) end)