How do I make a game when one person left the game ends (like battle royale)

You could use this guide , Just connect the counter to a property, and to see if
one player’s left, use blocks. (**If get property [your property] = 1, do: broadcast a message on channel: EndGame.