Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. on player's held item change:
  2. if {_hasFatigue} is true:
  3. remove mining fatigue from the player
  4. remove haste from the player
  5. set {_hasFatigue} to false
  6. if player's tool is not a carrot on a stick:
  7. remove mining fatigue from the player
  8. remove haste from the player
  9. set {_hasFatigue} to false
  10. if player's tool is carrot on a stick:
  11. apply mining fatigue 10 to the player for 2 hours
  12. apply haste 5 to player for 2 hours
  13. set {_hasFatigue} to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement