RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a script that MAKES MY CHARACTER WALK AROUND EVERYWHERE"
-- local script local pfs = game:GetService("PathfindingService") local player = game.Players.LocalPlayer local character = player.Character local humanoid = character:FindFirstChild("Humanoid") while true do local randomX = math.random(-100,100) local randomZ = math.random(-100,100) local destination = Vector3.new(randomX, 0, randomZ) local path = pfs:CreatePath() path:ComputeAsync(character.HumanoidRootPart.Position, destination) for _, waypoint in pairs(path:GetWaypoints()) do humanoid:MoveTo(waypoint.Position) humanoid.MoveToFinished:Wait() end wait(2) end