Hi, I'm a beginner scripter and I'm trying to figure out how to use the Pathfinding service. I've watch the Roblox tutorial and tried to get this working multiple times but have failed.
Here is my script,
path = game:GetService("PathfindingService"):ComputeRawPathAsync(workspace.Start.Position, workspace.Finish.Position, 200) points = path:GetPointCoordinates() for p = 1, #points do script.Parent:MoveTo(points) end
Thanks