How to make the last one alive teleport somewhere [HELP]

I am making a minigame map and one of the games is a battle royale but I have no idea on how to make the last person teleport somewhere when they are the last one alive. Any suggestions?

Do you need to know how to teleport people?

I need to know how to teleport the last one alive automatically back to the starting area (lobby)

You could place a teleporter, and make it to where it takes you where you need to go. How to use Teleporters(🟩) I think… ( Place it where you think that the people will be )

:-1:

You could use this guide, but teleport the player instead.