Help with Hixbox system

Hello, I have a hitbox system to calculate damage and reactions in custom abilities…but I have a problem that when I press the button that activates the ability only once, it will do its job of course, but it continues to do so. I return to the same person I hit with my ability after 5 minutes, and when my hitbox and his touch, the damage will happen to him again, even though I did not press the button that activates the ability. It just continues to interact between my hitbox and the other player because I only hit him once.

I tried everything but nothing works, any suggestions?

1 Like

the wording gave me brain damage
also
can you show your code please
(preferably with a video showing your entire studio, with all needed folders open, etc), to help with the hierarchy and potential non-code issues like duplicate names, etc.

It sounds like theres some sort of error where something isn’t closing properly, but as frowning said being able to see the scripts are essential for this.

I ran into a similar issue whenever I was making a HB system. I suggest you disable your Heartbeat / RS loop (If you have one checking for detection) after the attack ends, which fixed it for me.

Again, I do not know if that is your case, but it might work if it is.

Lol yeah I used google translate for this. English is not my native language. I learned it myself and it’s not good at all.

I used the disconnect function and that solved it but thank you all for trying to help.

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