How to simply respawn the player?

I see that “agent” has a respawn method that accepts a position vector and rotation, I am trying to call this in an “OnEnter” when a players enters a mutator.

if (FortCharacter := Agent.GetFortCharacter[]):
Agent.Respawn(PadPosition, PadRotation) #this is from memory but I think it is #correct the PadPosition, PadRotation are from an editable respawn device.

I have a print statement to confirm my method is being called but, nothing happens. I am trying to do the same as what occurs in Only Up! when a player falls, we hear that sweet sound and the player spawns back at the start of the map. Right now my method is to add 101 damage to the player but …eh I would rather do a true respawn.

In Only Up, they are likely just teleporting the player with a teleporter device. Respawn() and TeleportTo() are both pretty buggy in published islands.

Ah, I think I came across someone else’s post that mentioned that it can be buggy to call respawn.

Thank you!