upload_12

Untitled

Oct 5th, 2018
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. on tool change:
  2. if tool is enchanted with feather falling 1:
  3. set {RISE.%player%} to 0.1
  4. if tool is enchanted with feather falling 2:
  5. set {RISE.%player%} to 0.2
  6. if tool is enchanted with feather falling 3:
  7. set {RISE.%player%} to 0.3
  8. if tool is enchanted with protection 1:
  9. set {DRIVE.%player%} to 2
  10. if tool is enchanted with protection 2:
  11. set {DRIVE.%player%} to 1
  12. if tool is enchanted with protection 3:
  13. set {DRIVE.%player%} to 0.5
  14. if tool is enchanted with blast protection 1:
  15. set {MGCT.%player%} to 1 seconds
  16. if tool is enchanted with blast protection 2:
  17. set {MGCT.%player%} to 0.1 seconds
  18. if tool is enchanted with blast protection 3:
  19. set {MGCT.%player%} to 0 second
  20.  
  21. on rightclick:
  22. player is not sneaking
  23. player's tool is enchanted with fortune
  24. set {_cooldown} to difference between {MG.%player%.lastused} and now
  25. if {_cooldown} is less than {MGCT.%player%}:
  26. stop
  27. push player upwards at speed {RISE.%player%}
  28. push player in direction of player at speed {DRIVE.%player%}
  29. chance of 10%:
  30. reduce level progress of player by 0.1
  31. set {MG.%player%.lastused} to now
Add Comment
Please, Sign In to add comment