400 Custom NPCs with Animations

External Media

This is running for around 40-50 fps

Soo I made a Custom NPC System without the use of Humanoids but has animations due to AnimationControllers and Animators; I did not use BaseParts for world positioning, instead I used:

  • Buffer library
  • Bitpackers and bit32 magic
  • Roblox-TS for classes, enums and etc.
  • Vector3 and CFrame (of course)
  • Raycasts
  • RunService

I don’t know if this is impressive but I think Roblox Humanoids are less way optimized for mass NPC production. Let me know what you think! The values can increase up to 1000 npc but half the framerate. It also has collisions, I used shapecasts, for damaging the npc with the sword

1 Like

hi @TheLegendaryDragon99 , your custom npc system is impressive, and yeah, i also heard that like humanoids change how your character model (or any model in general with the humanoid class in them) handles physics. It is also amazing that you used the buffer library, if you are ever going to learn low levels like C or C++, you will need some knowledge when handling buffers.

Yes thanks! For making the models move, I just used simple Vector3 operations, no humanoid anything at all, just vector math and some math optimizations.

2 Likes