I have a 3 heart health bar. I want my character to hit any object in the game and once I hit an object the character will lose a heart from the health bar. Then hit the same object a 2nd time it will lose the 2nd heart Then hit the same object a 3rd time and it will then lose the 3rd and last heart and it's game over.