Advertisement
daipon0512

Untitled

Mar 9th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 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. make player execute command "/summon fireworks_rocket ~ ~1 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  9.     remove 1 cyan shulker box from player's inventory
  10. else:
  11. send "&9>>> &e残念、ハズレです。只今の当選確率%{G2}%はです"
  12. subtract 1 from {G2}
  13.     remove 1 cyan shulker box from player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement