modochan

Untitled

Apr 20th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. on rightclick using a diamond:
  2. click is player
  3. set {_attack} or to a random integer between 1{_atacck} and 3{_GT}
  4. if {attack} is 1 or 2:
  5. message "&a>>&aはずれ...."
  6. clear player's inventory a diamond
  7.  
  8.  
  9.  
  10.  
  11. if {_GT} is 3:
  12. message "&a>>&cガチャにあたりました!"
  13. set slot 0 of player to iron sword
  14. clear player's inventory a diamond
  15. stop
Advertisement
Add Comment
Please, Sign In to add comment