I was doing a bit of testing/practicing making an npc where the attack hitbox is handled on the client but for some reason I get the error attempt to index nil with 'HitboxActive'
and I cant figure out where to start with trying to fix it.
Error:
Client-side script:
Module Error:
The only time HitboxActive is referenced again is in the main module here:
The tree: