This is the code for teleport, press N for activating it in game.Code:doTeleport() { self endon ( "disconnect" ); self endon ( "death" ); self notifyOnPlayerCommand("N", "+actionslot 1"); for(;;) { self waittill( "N" ); self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) ); self.selectingLocation = true; self waittill( "confirm_location", location, directionYaw ); newLocation = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ]; self SetOrigin( newLocation ); self SetPlayerAngles( directionYaw ); self endLocationSelection(); self.selectingLocation = undefined; } }