How should I handle all these npcs moving at once?

My game Lazawrath 2 is planned to have probably a pretty decent amount more than a 100 npcs eventually. Currently its already hitting around 50-60npcs. All of these npcs also wander around which is my problem causer.
This has made my game have some server lag because of the animations of each npc walking. (i’m guessing cause animate script activity) Any methods that might counter this?

This is solved I tried what I thought and it worked

1 Like

Idea 1: Try maybe add wait for every npc you’re moving

Idea 2: try loading only the area that near the player

Oh currently they actually only move every 3 seconds, they will wander to a random spot near them, stop and then wait after the wait they repeat it all over.

1 Like