So first, make a worldguard region of where you walk to to get teleported named Teleporter1, then use this skript:
every second:
loop all players:
if %region at loop-player% containsTeleporter1":
teleport loop-player to location 0, 0, 0 in world "world" #Set the 0,0,0 to the x,y,z and "world" to "NameOfWorldToBeTeleportedTo"