while true do path = game:GetService("PathfindingService") :ComputeRawPathAsync(workspace.Start. Position, workspace.Finish. Position, 200)
Points = path:GetPoint:PointCoordinates()
game.Workspace.Points:ClearAllChildren()
for p = 1, #points do
part = Instance.new("Part")
part.FormFactor = Enum.FormFactor.Symmetric
part.CanCollide = false
part.Size = Vecter3.new(1.1.1)
part.Position = points[p]
part.Anchord = true
part.BrickColor = BrickColor.Gray()
Part.Parent = game.Workspace.Points
end
wait(0.1) end

3 comments
Please fix your question so that all of the code is inside the squiggles produced when you click the Lua button. Also, what exactly is the problem you're having?
You spelled position wrong in the parameters after the ComputeRawPathAsync.
its giveing me and error at Points = path:GetPoint:PointCoordinates()