you need to have the coords to teleport to as a vector3, so your X Y Z. You can use game guardian to locate the player position and read the value's when you are at the location you want to teleport to.
I added a debug function too my ESP that just displays player position as a vector3( x, y, z).