Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function Pathfind(destination)
- local path = Pathfinding:CreatePath(PathInfo)
- path:ComputeAsync(RootPart.Position, destination.Position)
- return path
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement