CREAMPAN0408

Untitled

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