Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick using a diamond:
- click is player
- set {_attack} or to a random integer between 1{_atacck} and 3{_GT}
- if {attack} is 1 or 2:
- message "&a>>&aはずれ...."
- clear player's inventory a diamond
- if {_GT} is 3:
- message "&a>>&cガチャにあたりました!"
- set slot 0 of player to iron sword
- clear player's inventory a diamond
- stop
Advertisement
Add Comment
Please, Sign In to add comment