teleport script for both sides