Advertisement
Kusa_Haenai_wWW

Untitled

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