Advertisement
daipon0512

Untitled

Mar 9th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. variables:
  2. {G2} = 100
  3. on rightclick holding a paper:
  4. chance of 1/{G2}:
  5. play sound %entity.player.levelup% %2% and pitch %1% for %players%
  6. execute console command "/menu grab %player% bow"
  7. set {G2} to 100
  8. send "&9>>> &c当選しました!おめでとうございます!"
  9. make player execute command "/summon fireworks_rocket ~ ~1 ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;16753490],FadeColors:[I;15007580]}]}}}}"
  10. else:
  11. send "&9>>> &e残念、ハズレです。只今の当選確率%{G2}%はです"
  12. subtract 1 from {G2}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement