Too Many Entities causing lag

So I am making a tower defence game and I find that the more towers placed and the more mobs that spawn, the more it lags. I heard Humanoids can make the game lag but is there any way to make it so that when there are many entities in the game, it wont lag

1 Like
NPCMODEL:SetNetworkOwnership(nil) -- switch nil with plr if available

All you need is just remove humanoids. Then you need to use lerp (recommended) or tween (i heard it’s worse than lerp in that case). To use animation you don’t need an humanoid, just use animation controller and inside it put animatior. (to load animation just do same thing like with humanoid, animationcontroller:LoadAnimation))