Advertisement
kookoo1007

Untitled

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