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

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