i have a system where the npc walks to players without pathfinding but when the npc is in a part then it will use pathfinding. the problem is the the npc keeps jumping when it is in the part ai testing anim.rbxl (1.9 MB)
also, the main script is in server script service and the simplepath module is in serverstorage
In your SimplePath module, change this line COMPARISON_CHECKS = 1; to COMPARISON_CHECKS = 10; in the DEFAULT_SETTINGS table.
For some reason that value was so low that it was checking if the NPC was stuck every frame (it checks by comparing its distance between its last position and its current position.