Help with Health status for game

Hey all,

i’m having some problems with writing an algorithm i’m sure it is pretty simple but i just can’t think of it right now… heres my problem now tho…

i have my health set at 100 then when the person gets hit by a circle lets say i want the score to drop 10 each time they hit till there health gets to zero then its game over.

i have it changing in the dynamic text field so thats all working its just the algorithm i need help with.

Thanks in advance
:slight_smile: