Advertisement
daipon0512

Untitled

Mar 7th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. variables:
  2. {G2} = 100
  3. on rightclick holding a paper:
  4. chance of 1/{G2}:
  5. execute console command "/playsound entity.player.levelup master %player%"
  6. execute console command "/menu grab %player% q"
  7. {G2} = 100
  8. send "&9>>> &c当選しました!おめでとうございます!"
  9. else:
  10. execute console command "/playsound entity.player.levelup master %player%"
  11. send "&9>>> &e残念、ハズレです。只今の当選確率は%{G2}%,%G2%です"
  12. subtract 1 from {G2}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement