CREAMPAN0408

Untitled

Feb 2nd, 2019
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. command /tag <number>:
  2. ( )trigger:
  3. ( )( )set {gamemode::*} to false
  4. ( )( )set {gamemode::tag} to true
  5. ( )( )loop all players:
  6. ( )( )( )set {tag} to random player out of all players
  7. ( )( )execute {tag} command "/res"
  8. ( )( )broadcast "<magenta>雪合戦を開始します!"
  9. ( )( )broadcast "試合時間は%argument 1%秒です!"
  10. ( )( )broadcast "はじめ!"
  11. ( )( )loop all players:
  12. ( )( )( )set loop-player's level to arg
  13. ( )( )loop arg times:
  14. ( )( )( )loop all players:
  15. ( )( )( )( )reduce loop-player's level by 1
  16. ( )( )( )if {tag} is set:
  17. ( )( )( )( )wait 1 seconds
  18. ( )( )broadcast "終了~!!"
  19. ( )( )clear {tag}
  20. on death of player:
  21. ( ){gamemode::tag} is true
  22. ( )attacker is a player
  23. ( ){tag} is attacker
  24. ( )set {tag} to player
  25. ( )broadcast "%attacker%が%victim%を倒しました"
  26.  
  27. on respawn:
  28. ( )execute player command "/res"
  29.  
  30. command /res:
  31. ( )trigger:
  32. ( )( ){tag} is player
  33. ( )( )wait 1 tick
  34. ( )( )equip player with Red Wool
  35. ( )( )apply Speed 1 to player for 1 day
  36.  
  37. command /def:
  38. ( )trigger:
  39. ( )( )set {gamemode::*} to false
Add Comment
Please, Sign In to add comment