Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click holding a paper:
- name of held item contains "&6&lガチャ&e&lチケ"
- remove 1 of paper from player
- set {_lucky} to random integer between 1 and 100
- if {_lucky} is between 1 and 45:
- give player paper named "&aNormal &eTicket"
- else if {_lucky} is between 46 and 70:
- give player paper named "&cRare &eTicket"
- else if {_lucky} is between 71 and 85:
- give player paper named "&6Hyper&cRare &eTicket"
- else if {_lucky} is between 86 and 95:
- give player paper named "&aKABI&cRare &eTicket"
- else if {_lucky} is between 96 and 100:
- give player paper named "&dCandy&cRare &eTicket"
- if {guri.%player%} is true:
- message "&c連続して&eガチャ&cをすることは出来ません"
- else:
- set {guri.%player%} to true
- message "&eガチャ&aを回しました"
- wait 3 seconds
- delete {guri.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement