kjfalkeiae

Untitled

Dec 3rd, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. on damage:
  2. {game} is true
  3. if {ice.%victim%} is true:
  4. if {hunter.%attacker%} is false:
  5. set {ice.%victim%} to false
  6. broadcast "[&bSystem&r]&b%victim%&eが&b%attacker%&eにより復帰!"
  7. stop
  8. if {ice.%victim%} is false:
  9. if {hunter.%attacker%} is true:
  10. set {ice.%victim%} to true
  11. broadcast "[&bSystem&r]&c%attacker%&eは&b%victim%&eを捕獲した!"
  12. stop
  13.  
  14. on walk:
  15. {game} is true
  16. if {ice.%player%} is true:
  17. walking block is not air
  18. cancel event
  19. send "[&bSystem&r]&e凍っているときは走れません!" to player
  20.  
  21. command /game [<text>]:
  22. trigger:
  23. if sender's uuid is "b1f8c6be-7f1d-4087-ab88-70f463929e22":
  24. if arg 1 is not set:
  25. if {game} is true:
  26. send "[&bSystem&r]&b現在、ゲームは開始しています。"
  27. if {game} is false:
  28. send "[&bSystem&r]&b現在、ゲームは開始していません。"
  29. stop
  30. if arg 1 is "start":
  31. set {game} to true
  32. broadcast "[&bSystem&r]&bGame started!"
  33. stop
  34. if arg 1 is "stop":
  35. set {game} to false
  36. broadcast "[&bSystem]&r&bGame ended!"
  37. stop
Advertisement
Add Comment
Please, Sign In to add comment