I'm attempting to make a fighting game which for a beta test, uses a sword that has a hitbox on it which is just a transparent part. I use the Instance.Touched
event to check when the hitbox is touched, and a boolvalue called "Attacking" to check if the player is currently attacking.
The problem is however, the hitboxes on these swords feel super janky, and even only sometimes hit (Mostly when the player is moving). Is there any way that's better to do this? (There's not really any good code to show for this)