Advertisement
modochan

Untitled

Apr 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. on rightclick holding redstone block:
  2. set {_gatya} to random integer between 1 and 40
  3. subtract 1 redstone block from player
  4. 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:
  5. message "&a>>&a %player%さんがまわした結果はずれ...." to player
  6. if {_gatya} is 21:
  7. message "&a>>&c%player%さんがガチャにあたりました! これで次のランクいけるよ!" to player
  8. execute console command "/scoreboard players add %player% AT 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement