How can I make a hitbox that works but with low lag?
I was making a hitbox system using Spatial Query, and it worked, but it has to use a while loop to run, and I’m certain that would do terrible things to a game if multiple people were playing, is there another way I could make a hitbox w/o running a while loop ?
If you’re looking for a hitbox system that can be used in melee weapons, I would highly recommend that you look into the Raycast Hitbox 4.01 module. It’s widely used in many popular and large games due to it’s reliability and versatility due to using ray casts over physical parts and keeping server load minimal - whilst being easy to implement and adapt into any kind of melee.