I want to convert this simple dome script from a kill dome to a teleport dome.
I know setDamage 1 is to kill the player, what would I add instead to have someone teleported out instead?
if ((getPlayerUID player) in ["0" , "0" , "0"]) exitWith { titleText ["Welcome Home!", "PLAIN DOWN", 3]; //or,\\ titleText [format ["Welcome, %1", name player], "PLAIN DOWN"]; // welcomes you with your name }; // What happens if unauthorized players get into the dome titleText ["You're entering a restricted area, please leave.", "PLAIN DOWN", 3]; sleep 5; titleText ["Last warning, you have 5 seconds to leave!", "PLAIN DOWN", 3]; sleep 5; titleText ["Bang! You should've left...", "PLAIN DOWN", 3]; sleep 2; player setDamage 1;