Advertisement
kookoo1007

Untitled

Apr 19th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. command /start:
  2. executable by: console
  3. trigger:
  4. set {info::battle::start} to "start"
  5. broadcast "&6&l[Battle]まもなくゲームが始まります"
  6. if {info::battle::start} is "start":
  7. wait 30 seconds
  8. if {info::battle::start} is "start":
  9. broadcast "&6&l[Battle]30秒前"
  10. if {info::battle::start} is "start":
  11. wait 20 seconds
  12. broadcast "&6&l[Battle]10秒前"
  13. if {info::battle::start} is "start":
  14. wait 5 seconds
  15. broadcast "&6&l[Battle]5秒前"
  16. if {info::battle::start} is "start":
  17. wait 1 seconds
  18. broadcast "&6&l[Battle]4秒前"
  19. if {info::battle::start} is "start":
  20. wait 1 seconds
  21. broadcast "&6&l[Battle]3秒前"
  22. if {info::battle::start} is "start":
  23. wait 1 seconds
  24. broadcast "&6&l[Battle]2秒前"
  25. chance of 1:
  26. set {info::Map} to "SkyWars"
  27. if {info::battle::start} is "start":
  28. wait 1 seconds
  29. broadcast "&6&l[Battle]1秒前"
  30. broadcast "&6&l[Battle]&eMapは&6&l%{info::Map}%&eです"
  31. if {info::battle::start} is "start":
  32. wait 1 seconds
  33. broadcast "&6&l[Battle]スタート!!!"
  34. loop all players:
  35. if {info::battle::%loop-player%::join} is "true":
  36. set {info::team::%loop-player%} to "sub"
  37. if {info::team::%loop-player%} is "sub":
  38. set {info::team::%loop-player%} to "red"
  39. if {info::team::%loop-player%} is "sub":
  40. set {info::team::%loop-player%} to "blue"
  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. clear {info::battle::%loop-player%::join}
  53. command /swred:
  54. permission: sk.admin
  55. trigger:
  56. set {Skywars-Red} to player's location
  57. command /swblue:
  58. permission: sk.admin
  59. trigger:
  60. set {Skywars-Blue} to player's location
  61. command /swtest:
  62. permission: sk.admin
  63. trigger:
  64. teleport player to {Skywars-Blue}
  65. command /gamestop:
  66. executable by: console
  67. trigger:
  68. set {info::battle::start} to "stop"
  69. loop all players:
  70. clear {info::battle::%loop-player%::join}
  71. clear {info::team::%loop-player%}
  72. set the loop-player's tablist name to "&f%name of loop-player%"
  73. set the loop-player's display name to "&f%name of loop-player%"
  74. display board named "&e&m=*-*=&d&lW&b&le&d&ll&b&lc&d&lo&b&lm&d&le&e&m=*-*=" to loop-player
  75. broadcast "&6&l[Battle]&eゲームが止められました"
  76. set {info::battle::number} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement