Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /team <text>:
- permission: skript.admin
- trigger:
- if arg-1 is "start":
- add {red.%player%} to random player out of all players
- add {blue.%player%} to random player out of all players
- teleport {red.%player%} to {redtp.%player%}
- teleport {blue.%player%} to {bluetp.%player%}
- send "&aOK START"
- if arg-1 is "setredtp":
- set {redtp.%player%} to location of player
- send "&c赤 &aチームのスタートテレポートをセットしました。"
- if arg-1 is "setbluetp":
- set {bluetp.%player%} to location of player
- send "&9青 &aチームのスタートテレポートをセットしました!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement