How do you save player location on 'button press' and respawn them there?

What’s in ‘respawn player’?