Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How did the creator of Defend The Statue make tons of animated NPCs with no lag?

Asked by 9 years ago

Simply converting Roblox's Animation script into a server script works to give an NPC regular animations, but with anything more than 5 NPCs this adds lots of lag. This game, however, has tons of animated NPCs and absolutely zero lag. How did the creator manage to accomplish this?

0
He might have used threading, coroutine/spawn/delay or use ModuleScript's to remove copies of code. MessorAdmin 598 — 9y
0
Maybe he used a Module Script. woodengop 1134 — 9y

1 answer

Log in to vote
0
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
9 years ago

Most likely he is using just a single animator script, or is utilizing ModuleScript(s) to avoid having multiple copies of the exact same functions in memory at the same time.

Without actually asking him yourself, none of us will know exactly how he's doing it.

0
Thanks ZeptixBlade 215 — 9y
Ad

Answer this question