The lua error happens when i kill the npc but certain items dosent drop thers a few items that drop but not all.
And am not the best lua coder and i am asking for help.
I will provide more code if its missing just ask.
[ERROR] gamemodes/underdone/gamemode/core/sharedfiles/sh_paperdoll.lua:275: attempt to call method 'EnableMatrix' (a nil value)
1. BuildModel - gamemodes/underdone/gamemode/core/sharedfiles/sh_paperdoll.lua:275
2. CreateWorldItem - gamemodes/underdone/gamemode/core/sharedfiles/sh_util.lua:119
3. unknown - gamemodes/underdone/gamemode/core/serverfiles/sv_ai.lua:92