Advertisement
dai_pon

Untitled

Mar 16th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 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% bow"
  6. set {G2} to 100
  7. send "&9>>> &c当選しました!おめでとうございます!"
  8. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  9. set {_location} to location of player
  10. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  11. else:
  12. send "&9>>> &e残念、ハズレです。只今の当選確率は 1/%{G2}% です"
  13. subtract 1 from {G2}
  14. remove 1 of player's held item from the player's inventory
  15. set {_location} to location of player
  16. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  17.  
  18. variables:
  19. {G3} = 200
  20. on rightclick holding a lime shulker box:
  21. chance of 1/{G3}:
  22. execute console command "/menu grab %player% suisyou"
  23. set {G3} to 200
  24. broadcast "&9>>> &e%player%&cが&a&l強化水晶&cに当選しました!"
  25. send "&9>>> &c当選しました!おめでとうございます!"
  26. execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  27. set {_location} to location of player
  28. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
  29. else:
  30. broadcast "&9>>> &e%player%が強化水晶ガチャを引きました、只今の当選確率は 1/%{G3}% です。"
  31. send "&9>>> &e残念、ハズレです..."
  32. subtract 1 from {G3}
  33. remove 1 of player's held item from the player's inventory
  34. set {_location} to location of player
  35. play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement