How would I make NPC animate scripts to play locally?

My friend and I are developing a game that involves a LOT of wandering NPCs. Right now, there are just under 300 of them, and we’re planning on adding more for new maps. However, these NPCs are causing a lot of lag, especially for mobile users.

I’m pretty sure the animate server scripts in each NPC is mainly causing the lag, so I’m looking for a way to make the animations play for the client, hoping that will minimize most of the lag. I’ve tried looking through many posts and forums, but I can’t find a definitive answer (Probably since I’m relatively new to local scripts and might not know the most simplest of things)

Here is the link to the game: Take Your Anger on Bacons! - Roblox

Any help is appreciated, and please let me know if anything else can be done to minimize the lag. Thanks!

2 Likes