Attempt to index nil with HitboxActive on RaycstHitboxV4 by TeamSwordphin

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:
image

change the hitbox.HitStart() to hitbox:HitStart()

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.