[FMX & AS] PLZ HELP! - My Platform Game

I am creating a new platform game.

The main problem is I want to create a function where another action (eg. Jumping) causes something else to happen (eg. Decrease Oxygen bar)


I need to know I can restart the game after 5 seconds when the character is dead.

If you need more detail PLZ ASK!! I will tell you everything else so you know what I’m talking about.

This platform game is based upon the one on the forum by Nathon. Do anyone know how I can get in-touch with him?