FA:S Help

I’m working on FA:S 2 attachments for the pointshop. I removed their collision and made it so that it uses ENT:Touch rather than ENT:Use. They spawn in just fine and you can equip them on your weapon. However equipping more than one attachment will give this error:
(Keep in mind I’m converting these to TTT)



[ERROR] addons/fas2/lua/autorun/fas2_shared.lua:1307: attempt to call method 'GetActiveWeapon' (a nil value)
  1. fn - addons/fas2/lua/autorun/fas2_shared.lua:1307
   2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183


[ERROR] gamemodes/terrortown/gamemode/cl_targetid.lua:43: attempt to call method 'GetTraitor' (a nil value)
  1. unknown - gamemodes/terrortown/gamemode/cl_targetid.lua:43