Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {G2} = 100
- on rightclick holding a cyan shulker box:
- chance of 1/{G2}:
- name of held item contains "&cガチャBOX"
- execute console command "/menu grab %player% bow"
- set {G2} to 100
- send "&9>>> &c当選しました!おめでとうございます!"
- make player execute command "/summon fireworks_rocket ~ ~1 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
- remove 1 cyan shulker box from player's inventory
- else:
- name of held item contains "&aダッシュ"
- send "&9>>> &e残念、ハズレです。只今の当選確率%{G2}%はです"
- subtract 1 from {G2}
- remove 1 cyan shulker box from player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement