Advertisement
Guest User

Untitled

a guest
Dec 11th, 2018
683
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. options:
  2. P: &8[&aDonaldn&8]&r
  3.  
  4.  
  5.  
  6.  
  7. command /hasteyboys [<text>]:
  8. permission: skript.op
  9. trigger:
  10. if arg 1 is on or enable:
  11. set {haste} to true
  12. broadcast "{@P} HasteyBoys is now enabled!"
  13.  
  14.  
  15. if arg 1 is off or disable:
  16. delete {haste}
  17. broadcast {@P} HasteyBoys is now disabled!"
  18.  
  19.  
  20. if arg 1 is not set:
  21. send "{@P} /hasteyboys on/off"
  22.  
  23. on inventory close:
  24. {haste} is true:
  25. loop all items in the inventory of player:
  26. if loop-item is shovel or pickaxe or axe:
  27. if loop-item is not enchanted with efficiency 3:
  28. enchant loop-item with efficiency 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement