Advertisement
daipon0512

Untitled

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