Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding redstone block:
- set {_gatya} to random integer between 1 and 40
- subtract 1 redstone block from player
- if {_gatya} is 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 22 or 23 or 24 or 25 or 26 or 26 or 27 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40:
- message "&a>>&a %player%さんがまわした結果はずれ...." to player
- if {_gatya} is 21:
- message "&a>>&c%player%さんがガチャにあたりました! これで次のランクいけるよ!" to player
- execute console command "/scoreboard players add %player% AT 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement