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% bow"
- set {G2} to 100
- send "&9>>> &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:
- send "&9>>> &e残念、ハズレです。只今の当選確率1/%{G2}%はです"
- 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%player%&cが&a強化水晶&cに当選しました!
- send "&9>>> &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 "&9>>> &e%player%が強化水晶がチャを引きました、只今の当選確率1/%{G3}%はです。"
- send "&9>>> &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