Advertisement
Guest User

Untitled

a guest
Apr 24th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.16 KB | None | 0 0
  1. local function Pathfind(destination)
  2. local path = Pathfinding:CreatePath(PathInfo)
  3. path:ComputeAsync(RootPart.Position, destination.Position)
  4. return path
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement