Isharo

Untitled

Jul 31st, 2015
508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. command /tpall:
  2. trigger:
  3. broadcast "&eTéléportation en cours..." #Message de tp
  4. Set {_x} to random integer between 300 and -300
  5. set {_z} to random integer between 300 and -300
  6. set {Tp.BlueTeam} to location at {_x}, 150, {_z} in world "test"
  7. Set {_x1} to random integer between 300 and -300
  8. set {_z1} to random integer between 300 and -300
  9. set {Tp.RedTeam} to location at {_x1}, 150, {_z1} in world "test"
  10. Set {_x2} to random integer between 300 and -300
  11. set {_z2} to random integer between 300 and -300
  12. set {Tp.GreenTeam} to location at {_x2}, 150, {_z2} in world "test"
  13. Set {_x3} to random integer between 300 and -300
  14. set {_z3} to random integer between 300 and -300
  15. set {Tp.YellowTeam} to location at {_x3}, 150, {_z3} in world "test"
  16. loop all players:
  17. if loop-players is {BlueTeam::*}:
  18. teleport loop-players to {Tp.BlueTeam}
  19. if loop-players is {RedTeam::*}:
  20. teleport loop-players to {Tp.RedTeam}
  21. if loop-players is {GreenTeam::*}:
  22. teleport loop-players to {Tp.GreenTeam}
  23. if loop-players is {YellowTeam::*}:
  24. teleport loop-players to {Tp.YellowTeam}
Advertisement
Add Comment
Please, Sign In to add comment