Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /mineAll <text>:
- permission: skript.admin
- trigger:
- if arg 1 is "on":
- message "MineAll ON" to player
- set {mineskill.%player's UUID%} to true
- stop
- else:
- delete {mineskill.%player's UUID%}
- message "MineAll OFF" to player
- on mine:
- {mineskill.%player's UUID%} is set
- event-block is ore or stone
- set {_a} to type of event-block
- loop blocks in radius 1.9 of event-block:
- loop-block is {_a}
- add 1 to {minevalue::%player's UUID%}
- break loop-block naturally with player's tool
Advertisement
Add Comment
Please, Sign In to add comment