RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make them move"
local pfs = game:GetService("PathfindingService") local dummy = game.Workspace.Dummy local part = game.Workspace.MoveToPart local path = pfs:CreatePath() path:ComputeAsync(dummy.HumanoidRootPart.Position, part.Position) for _, waypoint in pairs(path:GetWaypoints()) do dummy.Humanoid:MoveTo(waypoint.Position) dummy.Humanoid.MoveToFinished:Wait() end