Why doesn't npc constantly chase player?

So i made a system with chatGPT that there is npc that has moveto() to chase players (no pathfinding). When the npc is in the part then it will use pathfinding to chase the player and when it is not in the part then it will use moveto() ai (no pathfinding)

problem is that the npc stops at way points, i want to make it that it is constantly chasing the player so it can avoid things in the way and chase the player while in the part

game file: ai testing.rbxl (84.7 KB)

note: the script is in serverscriptservice and i might not be online now

The fact you used ChatGPT to create this is impressing, but you should look into

2 Likes

thx so much!! it works now thx!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.