Right now, I’m making a melee combat system, but I’m starting to work on the Damage system for the melee, here’s a breakdown why this wouldn’t work, there’s a enemy that loses health when a melee enters a certain frame name whilst hitting them called attack1/2/3 in its timeline, the problem is, is that when I put it in update, it’s going to repeatedly do damage,
I want the enemy to take damage when it gets hit whilst the frame is playing, and it does a set amount of damage one at a time.