Should I use :MoveTo() every heartbeat?

Hi. I am making some NPCs and want them to move to the player. Currently, I am moving them every heartbeat with the :MoveTo() method that the Humanoid provides.

Are there consequences to do this? If so, what should I do instead? Please leave your ideas below an thanks for responding!

1 Like

Well, it can definitely have an impact if used on multiple scripts. If you control all NPCs on one script you should be fine. Besides that, I also consider it better than wait() and you don’t really have much of a choice if you want the NPC to constantly follow the player. You can test it anyways by putting multiple NPCs and see how the game performance is, and if it does better than using wait().

1 Like

Thanks for the advice. I guess I will use move to.