How to make a survival based game?

First you’ll need a timer to end the game after “help” comes. Use this;