Npc can't catch up to target player

no matter the walkspeed the npc can never catch up to the player, i tried many stuff like making it walk further when closer to target but that didn’t help, no idea how to fix this, im using noobpath i’ve tried simplepath and default roblox pathfinding or pure Moveto too but none worked, as far as i know this is a common issue but i did my research and didn’t find any solutions.

It’s because when you get the point you’re moving to, you’re getting the current player position, when the player moves, the player’s position moves in whatever direction, basically causing it to go to the old player position, then the new player position. (This means the NPC will never catch up unless the player stops moving)

You need to estimate where the player will be if the player is running/walking, and make the position in front of the player instead of at the player.

1 Like

client sided pathfinding is very effective at solving this and as long as you’re only doing the movement itself on the client, not the damage, it works but if you encounter problems with exploiters then you can just switch it to wizulous idea