Hello again.
Since last night I've been working on a 'simple' skript that Teleports a complete team to a spawn base. this is my code:
so when I use it tps them to their team spawn
Let me know if you guys want me to paste the join skript
Since last night I've been working on a 'simple' skript that Teleports a complete team to a spawn base. this is my code:
Code:
command /spawnset [<text>]:
trigger:
if arg-1 is "Blue":
set {blue.location} to location of player
message "&1Blue &fspawn has been setted"
if arg-1 is "red":
set {red.location} to location of player
message "&cRed &fspawn has been setted"
if arg-1 is "none":
set {none.location} to location of player
message "&bNone &fspawn has been setted"
so when I use it tps them to their team spawn
Code:
command /begin:
trigger:
loop all players:
if {ir::red::%player%} is set:
teleport player to {red.location}
loop all players:
if {ir::blue::%player%} is set:
teleport player to {orange.location}
loop all players:
if {ir::none::%player%} is set:
teleport player to {none.location}
clear player's inventory
set gamemode of player to Creative
Let me know if you guys want me to paste the join skript