nunonuno_riku

MineAll

Oct 30th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. command /mineAll <text>:
  2. permission: skript.admin
  3. trigger:
  4. if arg 1 is "on":
  5. message "MineAll ON" to player
  6. set {mineskill.%player's UUID%} to true
  7. stop
  8. else:
  9. delete {mineskill.%player's UUID%}
  10. message "MineAll OFF" to player
  11.  
  12. on mine:
  13. {mineskill.%player's UUID%} is set
  14. event-block is ore or stone
  15. set {_a} to type of event-block
  16. loop blocks in radius 1.9 of event-block:
  17. loop-block is {_a}
  18. add 1 to {minevalue::%player's UUID%}
  19. break loop-block naturally with player's tool
Advertisement
Add Comment
Please, Sign In to add comment