How do you make a part of the game register when you are in it, and if not, it ends the game?

Make a timer by making a trigger loop with them one of them having a one with 1 second delay and make it increment a counter when only one of the triggers transmits on a chennel when the counter reaches it’s target value connect to an end game device to end the game. Add a lifecycle to trigger the loop, as a matter of fact look at this because i haven’t gimkited in a while