Guest User

.sk

a guest
Jul 11th, 2015
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. on script load:
  2. register new shaped recipe for diamond boots of unbreaking 3 named "<aqua><bold>Cloud Boots" using air, gold ingot, air, feather, gold ingot, feather, gold block, gold block, gold block
  3. on player login:
  4. wait 10 seconds
  5. if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
  6. apply jump boost 5 to the player for 999999999 seconds
  7. apply speed 2 to the player for 999999999 seconds
  8. set {cloudbootsy.%player%.zalozone} to 1
  9. else:
  10. if {cloudbootsy.%player%.zalozone} is set:
  11. remove jump boost from the player
  12. remove speed from the player
  13. delete {cloudbootsy.%player%.zalozone}
  14. on rightclick with a diamond boots:
  15. if player's boots is diamond boots named "<aqua><bold>Cloud Boots":
  16. apply jump boost 5 to the player for 999999999 seconds
  17. apply speed 2 to the player for 999999999 seconds
  18. set {cloudbootsy.%player%.zalozone} to 1
  19. on inventory close:
  20. if boots of player is not diamond boots named "<aqua><bold>Cloud Boots":
  21. if {cloudbootsy.%player%.zalozone} is set:
  22. remove jump boost from the player
  23. remove speed from the player
  24. delete {cloudbootsy.%player%.zalozone}
  25. else:
  26. apply jump boost 5 to the player for 999999999 seconds
  27. apply speed 2 to the player for 999999999 seconds
  28. set {cloudbootsy.%player%.zalozone} to 1
  29. on damage:
  30. if boots of victim is diamond boots named "<aqua><bold>Cloud Boots":
  31. if {cloudbootsy.%victim%.zalozone} is not set:
  32. apply jump boost 5 to the victim for 999999999 seconds
  33. apply speed 2 to the victim for 999999999 seconds
  34. set {cloudbootsy.%victim%.zalozone} to 1
  35. damage cause is fall
  36. spawn 17 of particle smoke offset by 1, 1, 1 at location of victim
  37. spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of victim
  38. spawn 17 of particle instant spell offset by 1, 1, 1 at location of victim
  39. spawn 17 of particle magic crit offset by 1, 1, 1 at location of victim
  40. spawn 17 of particle spell offset by 1, 1, 1 at location of victim
  41. cancel event
  42. if boots of victim is not diamond boots named "<aqua><bold>Cloud Boots":
  43. if {cloudbootsy.%victim%.zalozone} is set:
  44. remove jump boost from the victim
  45. remove speed from the victim
  46. delete {cloudbootsy.%victim%.zalozone}
  47. on jump:
  48. if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
  49. if {cloudbootsy.%player%.zalozone} is not set:
  50. apply jump boost 5 to the player for 999999999 seconds
  51. apply speed 2 to the player for 999999999 seconds
  52. set {cloudbootsy.%player%.zalozone} to 1
  53. spawn 17 of particle smoke offset by 1, 1, 1 at location of player
  54. spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of player
  55. spawn 17 of particle instant spell offset by 1, 1, 1 at location of player
  56. spawn 17 of particle magic crit offset by 1, 1, 1 at location of player
  57. spawn 17 of particle spell offset by 1, 1, 1 at location of player
  58. if boots of player is not diamond boots named "<aqua><bold>Cloud Boots":
  59. if {cloudbootsy.%player%.zalozone} is set:
  60. remove jump boost from the player
  61. remove speed from the player
  62. delete {cloudbootsy.%player%.zalozone}
Advertisement
Add Comment
Please, Sign In to add comment