I have 50-80 NPCs in my upcoming game. Most of them stand in one place, and will talk to you if you press a UI button that appears when you walk into their vicinity. A few of them are a bit more complex than that, but I have other plans for them.
Should I give all of the regular NPCs an indefinitely looping idle animation? I’m worried it might make may game lag slightly.
You should try it and see if it impacts the performance. You don’t know until you try.
I wouldn’t worry too much about it though because Roblox player characters by default are always animated (including an idle animation), and that doesn’t seem to lag the game, even in larger servers. I have mid range specs.
In the animation, it does not need to be very very smooth. Maybe add like a wait(0.01), it would help with lag, and there would be so little of a difference.