For anyone getting the "too many npcs" error, change this:
ToCode:str.writeBits(12, npc.npcType);
Some servers have it set to 16, but it needs to be 14 or it wont load properlyCode:str.writeBits(14, npc.npcType);
==================================================
Dialogue heads are huge btw: