Advertisement
Kusa_Haenai_wWW

Untitled

Mar 28th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. on right click holding a paper:
  2. if {guri.%player%} is true:
  3. message "&c連続して&eガチャ&cをすることは出来ません"
  4. else:
  5. set {guri.%player%} to true
  6. message "&eガチャ&aを回しました"
  7. name of held item contains "&6&lガチャ&e&lチケ"
  8. remove 1 of paper from player
  9. set {_lucky} to random integer between 1 and 100
  10. if {_lucky} is between 1 and 45:
  11. give player paper named "&aNormal &eTicket"
  12. else if {_lucky} is between 46 and 70:
  13. give player paper named "&cRare &eTicket"
  14. else if {_lucky} is between 71 and 85:
  15. give player paper named "&6Hyper&cRare &eTicket"
  16. else if {_lucky} is between 86 and 95:
  17. give player paper named "&aKABI&cRare &eTicket"
  18. else if {_lucky} is between 96 and 100:
  19. give player paper named "&dCandy&cRare &eTicket"
  20. wait 3 seconds
  21. delete {guri.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement