Advertisement
dai_pon

Untitled

Mar 18th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.37 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 silver 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. {G5} = 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. on right click:
  97. if name of held item contains "&c弾ガチャ":
  98. remove 1 of player's held item from the player's inventory
  99. set {_random} to a random integer between 1 and 100
  100. if {_random} equals 1:
  101. execute console command "scoreboard players add %player% bullet 10"
  102. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾10発&cに当選しました!"
  103. send "&8[&cGatya&8] &e弾の数が10増えた!"
  104. set {_location} to location of player
  105. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  106. else if {_random} is between 2 and 4:
  107. execute console command "scoreboard players add %player% bullet 5"
  108. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾5発&cに当選しました!"
  109. send "&8[&cGatya&8] &e弾の数が5増えた!"
  110. set {_location} to location of player
  111. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  112. else if {_random} is between 5 and 9:
  113. execute console command "scoreboard players add %player% bullet 3"
  114. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾3発&cに当選しました!"
  115. send "&8[&cGatya&8] &e弾の数が3増えた!"
  116. set {_location} to location of player
  117. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  118. else if {_random} is between 10 and 19:
  119. execute console command "scoreboard players add %player% bullet 1"
  120. broadcast "&8[&cGatya&8] &e%player%&cが&c&l弾1発&cに当選しました!"
  121. send "&8[&cGatya&8] &e弾の数が3増えた!"
  122. set {_location} to location of player
  123. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  124. else:
  125. send "&8[&cGatya&8] &e残念...ハズレです。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement