I am making a boss battle where the boss goes about his maze randomly, but I can't seem to figure out
how to use PathfindingService correctly.
local pathservice = game:GetService("PathfindingService")
local path = pathservice:ComputeRawPathAsync(script.Parent.Torso.Position, game.Workspace.Stop.Position, 100000)
script.Parent.Humanoid:MoveTo(path)
Errors:
Unable to cast Instance to Vector3

1 comment
Tell me if this helped you! I would be glad to hear you accept it.