Advertisement
kookoo1007

Untitled

May 1st, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. command /start:
  2. executable by: console
  3. trigger:
  4. set {info::battle::start1} to "start"
  5. if {info::battle::start1} is "start":
  6. broadcast "&6&l[Battle]まもなくゲームが始まります"
  7. if {info::battle::start1} is "start":
  8. wait 20 seconds
  9. broadcast "&6&l[Battle]10秒前"
  10. if {info::battle::start1} is "start":
  11. wait 5 seconds
  12. broadcast "&6&l[Battle]5秒前"
  13. if {info::battle::start1} is "start":
  14. wait 1 seconds
  15. broadcast "&6&l[Battle]4秒前"
  16. if {info::battle::start1} is "start":
  17. wait 1 seconds
  18. broadcast "&6&l[Battle]3秒前"
  19. if {info::battle::start1} is "start":
  20. wait 1 seconds
  21. broadcast "&6&l[Battle]2秒前"
  22. if {info::battle::start1} is "start":
  23. set {_r} to random integer between 1 and 2
  24. if {_r} is 1:
  25. set {info::Map} to "SkyWars"
  26. if {_r} is 2:
  27. set {info::Map} to "Hologram"
  28. if {info::battle::start1} is "start":
  29. wait 1 seconds
  30. broadcast "&6&l[Battle]1秒前"
  31. broadcast "&6&l[Battle]&eMapは&6&l%{info::Map}%&eです"
  32. if {info::battle::start1} is "start":
  33. wait 1 seconds
  34. broadcast "&6&l[Battle]スタート!!!"
  35. set {info::battle::start} to "start"
  36. loop all players:
  37. if {info::battle::%loop-player%::join} is "true":
  38. set the maximum health of the player to 20
  39. execute console command "/clear %loop-player%"
  40. execute console command "/effect %loop-player% 10 5 10 true"
  41. if {info::team::%loop-player%} is "red":
  42. set the loop-player's tablist name to "&4&l[Red]&e%name of loop-player%"
  43. set the loop-player's display name to "&4&l[Red]&e%name of loop-player%"
  44. if {info::team::%loop-player%} is "blue":
  45. set the loop-player's tablist name to "&1&l[Blue]&e%name of loop-player%"
  46. set the loop-player's display name to "&1&l[Blue]&e%name of loop-player%"
  47. if {info::Map} is "SkyWars":
  48. if {info::team::%loop-player%} is "blue":
  49. teleport loop-player to {Skywars-Blue}
  50. if {info::team::%loop-player%} is "red":
  51. teleport loop-player to {Skywars-Red}
  52. if {info::Map} is "Hologram":
  53. if {info::team::%loop-player%} is "blue":
  54. teleport loop-player to {Hologram-Blue}
  55. if {info::team::%loop-player%} is "red":
  56. teleport loop-player to {Hologram-Red}
  57. if {info::kit::%loop-player%} is "戦士":
  58. execute console command "/menu grab %loop-player% sensikit"
  59. send "6&l[Battle]&eあなたは&6&l戦士KIT&eです" to loop-player
  60. if {info::kit::%loop-player%} is "弓兵":
  61. execute console command "/menu grab %loop-player% archer"
  62. send "6&l[Battle]&eあなたは&6&l弓兵KIT&eです" to loop-player
  63. clear {info::battle::start1}
  64. command /swred:
  65. permission: sk.admin
  66. trigger:
  67. set {Skywars-Red} to player's location
  68. command /swblue:
  69. permission: sk.admin
  70. trigger:
  71. set {Skywars-Blue} to player's location
  72. command /hdred:
  73. permission: sk.admin
  74. trigger:
  75. set {Hologram-Red} to player's location
  76. command /hdblue:
  77. permission: sk.admin
  78. trigger:
  79. set {Hologram-Blue} to player's location
  80. command /swtest:
  81. permission: sk.admin
  82. trigger:
  83. send "%{info::teamset}%"
  84. command /gamestop:
  85. executable by: console
  86. trigger:
  87. set {info::battle::start} to "stop"
  88. clear {info::battle::start1}
  89. loop all players:
  90. clear {info::battle::%loop-player%::join}
  91. clear {info::team::%loop-player%}
  92. teleport loop-player to {spawn.point}
  93. set the loop-player's tablist name to "&f%name of loop-player%"
  94. set the loop-player's display name to "&f%name of loop-player%"
  95. clear {info::team::%loop-player%}
  96. execute console command "/clear %loop-player%"
  97. execute console command "/menu grab %loop-player% mm"
  98. broadcast "&6&l[Battle]&eゲームが止められました"
  99. set {info::battle::number} to 0
  100. clear {info::teamamout::red}
  101. clear {info::teamamout::blue}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement