(HELP) I need to make it so my sprite dies after being shot or hit multiple times

I know how to make the sprite die and restart the game but I don’t know how to make it so that the sprite must be shot multiple times before dying. I’ve tried multiple methods but none of them seemed to work. Please tell me if you know how to solve this issue that I have.

Take 2 number values, make one -1 and set the other one to how many hits you want it to take. Then take the -1 and plug it into the “+” of the hit number!

You’re welcome.


Pretty smart @Crigence