dai_pon

Untitled

Mar 30th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.63 KB | None | 0 0
  1. variables:
  2. {G2} = 100
  3. on rightclick holding a cyan shulker box:
  4. chance of 1/{G2}:
  5. execute console command "/menu grab %player% a-bow"
  6. set {G2} to 100
  7. broadcast "&8[&cGatya&8] &e%player%&cが&9&lX-Bow&cに当選しました!"
  8. send "&8[&cGatya&8] &c当選しました!おめでとうございます!"
  9. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  10. set {_location} to location of player
  11. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  12. else:
  13. broadcast "&8[&cGatya&8] &e%player%が&9X-Bow&eガチャを引きました、只今の当選確率は 1/%{G2}% です。"
  14. send "&8[&cGatya&8] &e残念、ハズレです..."
  15. subtract 1 from {G2}
  16. remove 1 of player's held item from the player's inventory
  17. set {_location} to location of player
  18. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  19.  
  20. variables:
  21. {G3} = 200
  22. on rightclick holding a lime shulker box:
  23. chance of 1/{G3}:
  24. execute console command "/menu grab %player% suisyou"
  25. set {G3} to 200
  26. broadcast "&8[&cGatya&8] &e%player%&cが&a&l翠水晶&cに当選しました!"
  27. send "&8[&cGatya&8] &c当選しました!おめでとうございます!"
  28. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  29. set {_location} to location of player
  30. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  31. else:
  32. broadcast "&8[&cGatya&8] &e%player%が&a翠水晶&eガチャを引きました、只今の当選確率は 1/%{G3}% です。"
  33. send "&8[&cGatya&8] &e残念、ハズレです..."
  34. subtract 1 from {G3}
  35. remove 1 of player's held item from the player's inventory
  36. set {_location} to location of player
  37. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  38.  
  39. variables:
  40. {G4} = 100
  41. on rightclick holding a orange shulker box:
  42. chance of 1/{G4}:
  43. execute console command "/menu grab %player% a-rpg"
  44. set {G4} to 100
  45. broadcast "&8[&cGatya&8] &e%player%&cが&6&lRPG-7&cに当選しました!"
  46. send "&8[&cGatya&8] &c当選しました!おめでとうございます!"
  47. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  48. set {_location} to location of player
  49. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  50. else:
  51. broadcast "&8[&cGatya&8] &e%player%が&6RPG-7&eガチャを引きました、只今の当選確率は 1/%{G4}% です。"
  52. send "&8[&cGatya&8] &e残念、ハズレです..."
  53. subtract 1 from {G4}
  54. remove 1 of player's held item from the player's inventory
  55. set {_location} to location of player
  56. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  57.  
  58. variables:
  59. {G5} = 100
  60. on rightclick holding a gray shulker box:
  61. chance of 1/{G5}:
  62. execute console command "/menu grab %player% a-barret"
  63. set {G5} to 100
  64. broadcast "&8[&cGatya&8] &e%player%&cが&8&lBarret-M82&cに当選しました!"
  65. send "&8[&cGatya&8] &c当選しました!おめでとうございます!"
  66. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  67. set {_location} to location of player
  68. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  69. else:
  70. broadcast "&8[&cGatya&8] &e%player%が&8Barret-M82&eガチャを引きました、只今の当選確率は 1/%{G5}% です。"
  71. send "&8[&cGatya&8] &e残念、ハズレです..."
  72. subtract 1 from {G5}
  73. remove 1 of player's held item from the player's inventory
  74. set {_location} to location of player
  75. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  76.  
  77. variables:
  78. {G6} = 100
  79. on rightclick holding a white shulker box:
  80. chance of 1/{G6}:
  81. execute console command "/menu grab %player% a-ex"
  82. set {G6} to 100
  83. broadcast "&8[&cGatya&8] &e%player%&cが&7&lExcutionner&cに当選しました!"
  84. send "&8[&cGatya&8] &c当選しました!おめでとうございます!"
  85. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  86. set {_location} to location of player
  87. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  88. else:
  89. broadcast "&8[&cGatya&8] &e%player%が&7Excutionner&eガチャを引きました、只今の当選確率は 1/%{G6}% です。"
  90. send "&8[&cGatya&8] &e残念、ハズレです..."
  91. subtract 1 from {G6}
  92. remove 1 of player's held item from the player's inventory
  93. set {_location} to location of player
  94. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  95.  
  96. variables:
  97. {G7} = 100
  98. on rightclick holding a yellow shulker box:
  99. chance of 1/{G7}:
  100. execute console command "/menu grab %player% a-ballista"
  101. set {G7} to 100
  102. broadcast "&8[&cGatya&8] &e%player%&cが&6&lFN Ballista&cに当選しました!"
  103. send "&8[&cGatya&8] &c当選しました!おめでとうございます!"
  104. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  105. set {_location} to location of player
  106. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  107. else:
  108. broadcast "&8[&cGatya&8] &e%player%が&6FN Ballista&eガチャを引きました、只今の当選確率は 1/%{G7}% です。"
  109. send "&8[&cGatya&8] &e残念、ハズレです...残念賞をもらいました"
  110. subtract 1 from {G7}
  111. execute console command "/menu grab %player% zannen"
  112. remove 1 of player's held item from the player's inventory
  113. set {_location} to location of player
  114. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  115.  
  116. variables:
  117. {G8} = 100
  118. on rightclick holding a magenta shulker box:
  119. chance of 1/{G8}:
  120. execute console command "/menu grab %player% a-flame"
  121. set {G8} to 100
  122. broadcast "&8[&cGatya&8] &e%player%&cが&4&l火&c&l炎&4&l放&c&l射&4&l器&cに当選しました!"
  123. send "&8[&cGatya&8] &c当選しました!おめでとうございます!"
  124. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  125. set {_location} to location of player
  126. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  127. else:
  128. broadcast "&8[&cGatya&8] &e%player%が&4火&c炎&4放&c射&4器&eガチャを引きました、只今の当選確率は 1/%{G8}% です。"
  129. send "&8[&cGatya&8] &e残念、ハズレです...残念賞をもらいました"
  130. subtract 1 from {G8}
  131. execute console command "/menu grab %player% zannen"
  132. remove 1 of player's held item from the player's inventory
  133. set {_location} to location of player
  134. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  135.  
  136. on right click:
  137. if name of held item contains "&c弾ガチャ":
  138. execute console command "scoreboard players tag %player% add gatya"
  139. remove 1 of player's held item from the player's inventory
  140. set {_r} to a random integer between 1 and 100
  141. if {_r} is less than or equal to 1:
  142. set {_location} to location of player
  143. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  144. execute console command "scoreboard players add %player% bullet 10"
  145. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾10発&cに当選しました!"
  146. send "&8[&cGatya&8] &e弾の数が10増えた!"
  147. else if {_r} is between 2 and 4:
  148. set {_location} to location of player
  149. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  150. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾5発&cに当選しました!"
  151. execute console command "scoreboard players add %player% bullet 5"
  152. send "&8[&cGatya&8] &e弾の数が5増えた!"
  153. else if {_r} is between 5 and 9:
  154. set {_location} to location of player
  155. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  156. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾3発&cに当選しました!"
  157. execute console command "scoreboard players add %player% bullet 3"
  158. send "&8[&cGatya&8] &e弾の数が3増えた!"
  159. else if {_r} is between 10 and 19:
  160. set {_location} to location of player
  161. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  162. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾1発&cに当選しました!"
  163. execute console command "scoreboard players add %player% bullet 1"
  164. send "&8[&cGatya&8] &e弾の数が1増えた!"
  165. else:
  166. set {_location} to location of player
  167. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  168. send "&8[&cGatya&8] &e残念、ハズレです..."
  169. {level.%player%}
  170.  
  171. command /k1:
  172. trigger:
  173. set {_location} to location of player
  174. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  175. send "&8[&c確率&8] &e只今の当選確率は 1/%{G2}% です。 "
  176.  
  177. command /k2:
  178. trigger:
  179. set {_location} to location of player
  180. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  181. send "&8[&c確率&8] &e只今の当選確率は 1/%{G3}% です。 "
  182.  
  183. command /k3:
  184. trigger:
  185. set {_location} to location of player
  186. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  187. send "&8[&c確率&8] &e只今の当選確率は 1/%{G4}% です。 "
  188.  
  189. command /k4:
  190. trigger:
  191. set {_location} to location of player
  192. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  193. send "&8[&c確率&8] &e只今の当選確率は 1/%{G5}% です。 "
  194.  
  195. command /k5:
  196. trigger:
  197. set {_location} to location of player
  198. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  199. send "&8[&c確率&8] &e只今の当選確率は 1/%{G6}% です。 "
  200.  
  201. command /k6:
  202. trigger:
  203. set {_location} to location of player
  204. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  205. send "&8[&c確率&8] &e只今の当選確率は 1/%{G7}% です。 "
  206.  
  207. command /k7:
  208. trigger:
  209. set {_location} to location of player
  210. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  211. send "&8[&c確率&8] &e只今の当選確率は 1/%{G8}% です。 "
Add Comment
Please, Sign In to add comment