How do I setup a Game Over feature when the character dies?

I want to be game over for the player die over time.

Needs help