dai_pon

Untitled

Apr 6th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.72 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 "&6&lイベントガチャカプセル":
  138. remove 1 of player's held item from the player's inventory
  139. set {_r2} to a random integer between 1 and 2000
  140. if {_r2} is less than or equal to 1:
  141. set {_location} to location of player
  142. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  143. execute console command "scoreboard players set %player% eiyuu 1"
  144. broadcast "&8[&eEvent&cGatya&8] &e%player%&cが&c&l称号 &e英&6雄&cに当選しました!"
  145. send "&8[&eEvent&cGatya&8] &e&c&l称号 &e英&6雄に当選した!"
  146. else if {_r2} is equal to 2:
  147. set {_location} to location of player
  148. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  149. broadcast "&8[&eEvent&cGatya&8] &e%player%&cが&a&l50000円&cに当選しました!"
  150. execute console command "scoreboard players add %player% money 50000"
  151. send "&8[&eEvent&cGatya&8] &a50000円&eに当選した!"
  152. else if {_r2} is equal to 3:
  153. set {_location} to location of player
  154. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  155. broadcast "&8[&eEvent&cGatya&8] &e%player%&cが&6&lDesert Eagle Dual&cに当選しました!"
  156. execute console command "menu grab %player% a-desert2"
  157. send "&8[&eEvent&cGatya&8] &6Desert Eagle Dual&eに当選した!"
  158. else if {_r2} is equal to 4:
  159. set {_location} to location of player
  160. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  161. broadcast "&8[&eEvent&cGatya&8] &e%player%&cが&a&l翠水晶&cに当選しました!"
  162. execute console command "menu grab %player% suisyou"
  163. send "&8[&eEvent&cGatya&8] &a翠水晶&eに当選した!"
  164. else if {_r2} is between 5 and 10:
  165. set {_location} to location of player
  166. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  167. execute console command "scoreboard players add %player% money 30000"
  168. send "&8[&eEvent&cGatya&8] &e30000円に当選した!"
  169. else if {_r2} is between 11 and 30:
  170. set {_location} to location of player
  171. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  172. execute console command "scoreboard players add %player% money 10000"
  173. send "&8[&eEvent&cGatya&8] &e10000円に当選した!"
  174. else if {_r2} is between 11 and 100:
  175. set {_location} to location of player
  176. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  177. execute console command "scoreboard players add %player% money 5000"
  178. send "&8[&eEvent&cGatya&8] &e5000円に当選した!"
  179. else if {_r2} is between 101 and 200:
  180. set {_location} to location of player
  181. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  182. execute console command "scoreboard players add %player% money 3000"
  183. send "&8[&eEvent&cGatya&8] &e3000円に当選した!"
  184. else if {_r2} is between 201 and 400:
  185. set {_location} to location of player
  186. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  187. execute console command "scoreboard players add %player% money 1000"
  188. send "&8[&eEvent&cGatya&8] &e1000円に当選した!"
  189. else if {_r2} is equal to 401:
  190. set {_location} to location of player
  191. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  192. broadcast "&8[&eEvent&cGatya&8] &e%player%&cが&c&l200Zpoint&cに当選しました!"
  193. execute console command "scoreboard players add %player% playP 200"
  194. send "&8[&eEvent&cGatya&8] &e200Zpointに当選した!"
  195. else if {_r2} is between 402 and 405:
  196. set {_location} to location of player
  197. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  198. broadcast "&8[&eEvent&cGatya&8] &e%player%&cが&c&l100Zpoint&cに当選しました!"
  199. execute console command "scoreboard players add %player% playP 100"
  200. send "&8[&eEvent&cGatya&8] &e100Zpointに当選した!"
  201. else if {_r2} is between 406 and 410:
  202. set {_location} to location of player
  203. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  204. execute console command "scoreboard players add %player% playP 50"
  205. send "&8[&eEvent&cGatya&8] &e50Zpointに当選した!"
  206. else if {_r2} is between 406 and 410:
  207. set {_location} to location of player
  208. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  209. execute console command "scoreboard players add %player% playP 30"
  210. send "&8[&eEvent&cGatya&8] &e30Zpointに当選した!"
  211. else if {_r2} is between 411 and 500:
  212. set {_location} to location of player
  213. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  214. execute console command "scoreboard players add %player% playP 20"
  215. send "&8[&eEvent&cGatya&8] &e20Zpointに当選した!"
  216. else if {_r2} is between 501 and 600:
  217. set {_location} to location of player
  218. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  219. execute console command "scoreboard players add %player% playP 10"
  220. send "&8[&eEvent&cGatya&8] &e10Zpointに当選した!"
  221. else if {_r2} is between 601 and 700:
  222. set {_location} to location of player
  223. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  224. execute console command "scoreboard players add %player% playP 5"
  225. send "&8[&eEvent&cGatya&8] &e5Zpointに当選した!"
  226. else if {_r2} is between 701 and 900:
  227. set {_location} to location of player
  228. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  229. execute console command "scoreboard players add %player% money 500"
  230. send "&8[&eEvent&cGatya&8] &e500円に当選した!"
  231. else if {_r2} is equal to 901:
  232. set {_location} to location of player
  233. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  234. execute console command "menu grab %player% ticket20"
  235. send "&8[&eEvent&cGatya&8] &6ガチャカプセル引換券x20&eに当選した!"
  236. else if {_r2} is between 902 and 910:
  237. set {_location} to location of player
  238. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  239. execute console command "menu grab %player% ticket15"
  240. send "&8[&eEvent&cGatya&8] &6ガチャカプセル引換券x15&eに当選した!"
  241. else if {_r2} is between 911 and 950:
  242. set {_location} to location of player
  243. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  244. execute console command "menu grab %player% ticket10"
  245. send "&8[&eEvent&cGatya&8] &6ガチャカプセル引換券x10&eに当選した!"
  246. else if {_r2} is between 951 and 1050:
  247. set {_location} to location of player
  248. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  249. execute console command "menu grab %player% ticket5"
  250. send "&8[&eEvent&cGatya&8] &6ガチャカプセル引換券x5&eに当選した!"
  251. else if {_r2} is between 1051 and 1150:
  252. set {_location} to location of player
  253. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  254. execute console command "menu grab %player% ticket3"
  255. send "&8[&eEvent&cGatya&8] &6ガチャカプセル引換券x3&eに当選した!"
  256. else if {_r2} is between 1151 and 1500:
  257. set {_location} to location of player
  258. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  259. execute console command "scoreboard players add %player% money 300"
  260. send "&8[&eEvent&cGatya&8] &e300円に当選した!"
  261. else if {_r2} is between 1501 and 1700:
  262. set {_location} to location of player
  263. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  264. execute console command "menu grab %player% ticket2"
  265. send "&8[&eEvent&cGatya&8] &6ガチャカプセル引換券x2&eに当選した!"
  266. else if {_r2} is between 1701 and 2000:
  267. set {_location} to location of player
  268. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  269. execute console command "scoreboard players add %player% money 100"
  270. send "&8[&eEvent&cGatya&8] &e100円に当選した!"
  271.  
  272.  
  273.  
  274.  
  275. on right click:
  276. if name of held item contains "&c弾ガチャ":
  277. execute console command "scoreboard players tag %player% add gatya"
  278. remove 1 of player's held item from the player's inventory
  279. set {_r} to a random integer between 1 and 100
  280. if {_r} is less than or equal to 1:
  281. set {_location} to location of player
  282. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  283. execute console command "scoreboard players add %player% bullet 10"
  284. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾10発&cに当選しました!"
  285. send "&8[&cGatya&8] &e弾の数が10増えた!"
  286. else if {_r} is between 2 and 4:
  287. set {_location} to location of player
  288. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  289. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾5発&cに当選しました!"
  290. execute console command "scoreboard players add %player% bullet 5"
  291. send "&8[&cGatya&8] &e弾の数が5増えた!"
  292. else if {_r} is between 5 and 9:
  293. set {_location} to location of player
  294. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  295. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾3発&cに当選しました!"
  296. execute console command "scoreboard players add %player% bullet 3"
  297. send "&8[&cGatya&8] &e弾の数が3増えた!"
  298. else if {_r} is between 10 and 19:
  299. set {_location} to location of player
  300. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  301. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾1発&cに当選しました!"
  302. execute console command "scoreboard players add %player% bullet 1"
  303. send "&8[&cGatya&8] &e弾の数が1増えた!"
  304. else:
  305. set {_location} to location of player
  306. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  307. send "&8[&cGatya&8] &e残念、ハズレです..."
  308. {level.%player%}
  309.  
  310. command /k1:
  311. trigger:
  312. set {_location} to location of player
  313. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  314. send "&8[&c確率&8] &e只今の当選確率は 1/%{G2}% です。 "
  315.  
  316. command /k2:
  317. trigger:
  318. set {_location} to location of player
  319. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  320. send "&8[&c確率&8] &e只今の当選確率は 1/%{G3}% です。 "
  321.  
  322. command /k3:
  323. trigger:
  324. set {_location} to location of player
  325. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  326. send "&8[&c確率&8] &e只今の当選確率は 1/%{G4}% です。 "
  327.  
  328. command /k4:
  329. trigger:
  330. set {_location} to location of player
  331. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  332. send "&8[&c確率&8] &e只今の当選確率は 1/%{G5}% です。 "
  333.  
  334. command /k5:
  335. trigger:
  336. set {_location} to location of player
  337. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  338. send "&8[&c確率&8] &e只今の当選確率は 1/%{G6}% です。 "
  339.  
  340. command /k6:
  341. trigger:
  342. set {_location} to location of player
  343. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  344. send "&8[&c確率&8] &e只今の当選確率は 1/%{G7}% です。 "
  345.  
  346. command /k7:
  347. trigger:
  348. set {_location} to location of player
  349. play sound "UI_BUTTON_CLICK" with volume 1 with pitch 1 at {_location}
  350. send "&8[&c確率&8] &e只今の当選確率は 1/%{G8}% です。 "
Advertisement
Add Comment
Please, Sign In to add comment