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}:
- execute console command "/menu grab %player% a-bow"
- set {G2} to 100
- send "&9&8[&cGatya&8] &c当選しました!おめでとうございます!"
- execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
- else:
- broadcast "&8[&cGatya&8] &e%player%が&9&lX-Bowガチャを引きました、只今の当選確率は 1/%{G2}% です。"
- send "&9>>> &e残念、ハズレです..."
- subtract 1 from {G2}
- remove 1 of player's held item from the player's inventory
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
- variables:
- {G3} = 200
- on rightclick holding a lime shulker box:
- chance of 1/{G3}:
- execute console command "/menu grab %player% suisyou"
- set {G3} to 200
- broadcast "&e &e%player%&cが&a&l翠水晶&cに当選しました!"
- send "&8[&cGatya&8] &c当選しました!おめでとうございます!"
- execute console command "summon fireworks_rocket ~ ~3 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
- else:
- broadcast "&8[&cGatya&8] &e%player%が翠水晶ガチャを引きました、只今の当選確率は 1/%{G3}% です。"
- send "&8[&cGatya&8] &e残念、ハズレです..."
- subtract 1 from {G3}
- remove 1 of player's held item from the player's inventory
- set {_location} to location of player
- play sound "ENTITY_PLAYER_LEVELUP" with volume 1 with pitch 1 at {_location}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement