Teleport problem!

Much easier could be setting this as a player

firstly you get overlaped object class, if it is teleporter just get its position or another position and set your position there