Advertisement
Itsyuumello2

Untitled

Nov 29th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. command /team <text>:
  2. permission: skript.admin
  3. trigger:
  4. if arg-1 is "start":
  5. add {red.%player%} to random player out of all players
  6. add {blue.%player%} to random player out of all players
  7. teleport {red.%player%} to {redtp.%player%}
  8. teleport {blue.%player%} to {bluetp.%player%}
  9. send "&aOK START"
  10. if arg-1 is "setredtp":
  11. set {redtp.%player%} to location of player
  12. send "&c赤 &aチームのスタートテレポートをセットしました。"
  13. if arg-1 is "setbluetp":
  14. set {bluetp.%player%} to location of player
  15. send "&9青 &aチームのスタートテレポートをセットしました!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement