#Npc Follow Bug
1 messages · Page 1 of 1 (latest)
don't use movetofinished:wait(), it is a very common newb trap. do it properly https://create.roblox.com/docs/characters/pathfinding.
secondly, computeasync takes a bit to calculate a path, even a short path, add to this you're doing it on the server. there is some network latency involved there, the npc will always be slightly behind a moving player. best thing you can do is move directly towards the player if it has line of sight which saves a computeasync() call+wait.
So how can i change script
i just told you how you'd go about changing the script.