PathfindingService is making NPC jump off the edge of map instead of chasing player

Oh and what’s better is I have just lost my whole script. GREAT.

Basically you want to move the code inside the while loop into a seperate function, then call that function inside the while loop.

See this is why my bio tells you more about my scripting job.

I quit making games. Thanks for helping. Bye.

Mutiple versions of your code are still posted on this thread so you can re-copy that if you want to attempt working on pathfinding again.

Sorry for wasting your o-so precious time :frowning:

Ok maybe I want to work on it again but can we do it on this post: How would I make a NPC jump when using :MoveTo() - #17 by graviiity

Since I have a new script.