modochan

Untitled

Apr 27th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. on rightclick holding wool:
  2. set {_gatya} to arg wool at 40
  3. subtract 1 red mushroom from player
  4. if {_gatya} is 3 or 2 or 21 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 1:
  7. subtract 1 red mushroom from player
  8. message "&a>>&c%player%さんがガチャにあたりました!" to player
  9. execute console command "/scoreboard players add %player% GT 1"
Advertisement
Add Comment
Please, Sign In to add comment