Advertisement
Guest User

Untitled

a guest
May 29th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. variables:
  2. {noweitemy.craft.cloudbootsy} = true #wlacz/wylacz true/false
  3.  
  4. on script load:
  5. {noweitemy.craft.cloudbootsy} is true:
  6. 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
  7.  
  8.  
  9. on player login:
  10. wait 10 seconds
  11. if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
  12. apply jump boost 5 to the player for 999999999 seconds
  13. apply speed 2 to the player for 999999999 seconds
  14. set {cloudbootsy.%player%.zalozone} to 1
  15. else:
  16. if {cloudbootsy.%player%.zalozone} is set:
  17. remove jump boost from the player
  18. remove speed from the player
  19. delete {cloudbootsy.%player%.zalozone}
  20.  
  21. on rightclick with a diamond boots:
  22. if player's boots is diamond boots named "<aqua><bold>Cloud Boots":
  23. apply jump boost 5 to the player for 999999999 seconds
  24. apply speed 2 to the player for 999999999 seconds
  25. set {cloudbootsy.%player%.zalozone} to 1
  26.  
  27. on inventory close:
  28. if boots of player is not diamond boots named "<aqua><bold>Cloud Boots":
  29. if {cloudbootsy.%player%.zalozone} is set:
  30. remove jump boost from the player
  31. remove speed from the player
  32. delete {cloudbootsy.%player%.zalozone}
  33. else:
  34. apply jump boost 5 to the player for 999999999 seconds
  35. apply speed 2 to the player for 999999999 seconds
  36. set {cloudbootsy.%player%.zalozone} to 1
  37.  
  38.  
  39. on teleport:
  40. if {cloudbootsy.%player%.zalozone} is set:
  41. if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
  42. apply jump boost 5 to the player for 999999999 seconds
  43. apply speed 2 to the player for 999999999 seconds
  44. else:
  45. remove jump boost from the player
  46. remove speed from the player
  47. delete {cloudbootsy.%player%.zalozone}
  48.  
  49. on damage:
  50. if boots of victim is diamond boots named "<aqua><bold>Cloud Boots":
  51. if {cloudbootsy.%victim%.zalozone} is not set:
  52. apply jump boost 5 to the victim for 999999999 seconds
  53. apply speed 2 to the victim for 999999999 seconds
  54. set {cloudbootsy.%victim%.zalozone} to 1
  55. damage cause is fall
  56. spawn 17 of particle smoke offset by 1, 1, 1 at location of victim
  57. spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of victim
  58. spawn 17 of particle instant spell offset by 1, 1, 1 at location of victim
  59. spawn 17 of particle magic crit offset by 1, 1, 1 at location of victim
  60. spawn 17 of particle spell offset by 1, 1, 1 at location of victim
  61. cancel event
  62. if boots of victim is not diamond boots named "<aqua><bold>Cloud Boots":
  63. if {cloudbootsy.%victim%.zalozone} is set:
  64. remove jump boost from the victim
  65. remove speed from the victim
  66. delete {cloudbootsy.%victim%.zalozone}
  67.  
  68. on jump:
  69. if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
  70. if {cloudbootsy.%player%.zalozone} is not set:
  71. apply jump boost 5 to the player for 999999999 seconds
  72. apply speed 2 to the player for 999999999 seconds
  73. set {cloudbootsy.%player%.zalozone} to 1
  74. spawn 17 of particle smoke offset by 1, 1, 1 at location of player
  75. spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of player
  76. spawn 17 of particle instant spell offset by 1, 1, 1 at location of player
  77. spawn 17 of particle magic crit offset by 1, 1, 1 at location of player
  78. spawn 17 of particle spell offset by 1, 1, 1 at location of player
  79. if boots of player is not diamond boots named "<aqua><bold>Cloud Boots":
  80. if {cloudbootsy.%player%.zalozone} is set:
  81. remove jump boost from the player
  82. remove speed from the player
  83. delete {cloudbootsy.%player%.zalozone}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement