taiyaki23

Untitled

Jul 11th, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. on damage:
  2. if {team.%victim%} is "red":
  3. if {team.%attacker%} is "red":
  4. cancel event
  5. if {team.%attacker%} is "blue":
  6. command "/tp %victim% 118 107 -460"
  7. broadcast "&9%attacker%&rが&c%victim%&rを倒した"
  8. set {team.%victim%} to "none"
  9. set {_redpl} to {_redpl} - 1
  10. set {kill.%attacker%} to {kill.%attacker%} + 1
  11. if {_redpl} is 0:
  12. set {_shiai} to "stop"
  13. set {_syouinn} to "blue pl"
  14. if {team.%victim%} is "blue":
  15. if {team.%attacker%} is "blue":
  16. cancel event
  17. if {team.%attacker%} is "red":
  18. command "/tp %victim% 118 107 -460"
  19. broadcast "&c%attacker%が&9%victim%を倒した"
  20. set {kill.%attacker%} to {kill.%attacker%} + 1
  21. set {_bluepl} to {_bluepl} - 1
  22. if {_bluepl} is 0:
  23. set {_shiai} to "stop"
  24. set {_syouinn} to "red pl"
  25.  
  26. on break:
  27. if {shiaisann.%player%} is "out":
  28. if player do not have permission "sk.op":
  29. cancel event
  30. if {shiaisann.%player%} is "in":
  31. cancel event
  32. {_shiai} is "start"
  33. if the event-block is red stained glass pane:
  34. if {team.%player%} is "blue":
  35. set {_shiai} to "stop"
  36. set {_syouinn} to "blue flag"
  37. if the event-block is blue stained glass pane:
  38. if {team.%player%} is "red":
  39. set {_shiai} to "stop"
  40. set {_syouinn} to "red flag"
  41. if the event-block is snow:
  42. if {yaku.%player%} is "back":
  43. if player have six snow ball:
  44. set action bar of player to "&c雪玉は六個しか持てません"
  45. if player have snow ball less than six:
  46. give player snow ball
  47. if player have three snow ball:
  48. set action bar of player to "&c雪玉は三個しか持てません"
  49. if player have snow ball less than 3:
  50. give player snow ball
Advertisement
Add Comment
Please, Sign In to add comment