Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {noweitemy.craft.cloudbootsy} = true #wlacz/wylacz true/false
- on script load:
- {noweitemy.craft.cloudbootsy} is true:
- 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
- on player login:
- wait 10 seconds
- if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
- apply jump boost 5 to the player for 999999999 seconds
- apply speed 2 to the player for 999999999 seconds
- set {cloudbootsy.%player%.zalozone} to 1
- else:
- if {cloudbootsy.%player%.zalozone} is set:
- remove jump boost from the player
- remove speed from the player
- delete {cloudbootsy.%player%.zalozone}
- on rightclick with a diamond boots:
- if player's boots is diamond boots named "<aqua><bold>Cloud Boots":
- apply jump boost 5 to the player for 999999999 seconds
- apply speed 2 to the player for 999999999 seconds
- set {cloudbootsy.%player%.zalozone} to 1
- on inventory close:
- if boots of player is not diamond boots named "<aqua><bold>Cloud Boots":
- if {cloudbootsy.%player%.zalozone} is set:
- remove jump boost from the player
- remove speed from the player
- delete {cloudbootsy.%player%.zalozone}
- else:
- apply jump boost 5 to the player for 999999999 seconds
- apply speed 2 to the player for 999999999 seconds
- set {cloudbootsy.%player%.zalozone} to 1
- on teleport:
- if {cloudbootsy.%player%.zalozone} is set:
- if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
- apply jump boost 5 to the player for 999999999 seconds
- apply speed 2 to the player for 999999999 seconds
- else:
- remove jump boost from the player
- remove speed from the player
- delete {cloudbootsy.%player%.zalozone}
- on damage:
- if boots of victim is diamond boots named "<aqua><bold>Cloud Boots":
- if {cloudbootsy.%victim%.zalozone} is not set:
- apply jump boost 5 to the victim for 999999999 seconds
- apply speed 2 to the victim for 999999999 seconds
- set {cloudbootsy.%victim%.zalozone} to 1
- damage cause is fall
- spawn 17 of particle smoke offset by 1, 1, 1 at location of victim
- spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of victim
- spawn 17 of particle instant spell offset by 1, 1, 1 at location of victim
- spawn 17 of particle magic crit offset by 1, 1, 1 at location of victim
- spawn 17 of particle spell offset by 1, 1, 1 at location of victim
- cancel event
- if boots of victim is not diamond boots named "<aqua><bold>Cloud Boots":
- if {cloudbootsy.%victim%.zalozone} is set:
- remove jump boost from the victim
- remove speed from the victim
- delete {cloudbootsy.%victim%.zalozone}
- on jump:
- if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
- if {cloudbootsy.%player%.zalozone} is not set:
- apply jump boost 5 to the player for 999999999 seconds
- apply speed 2 to the player for 999999999 seconds
- set {cloudbootsy.%player%.zalozone} to 1
- spawn 17 of particle smoke offset by 1, 1, 1 at location of player
- spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of player
- spawn 17 of particle instant spell offset by 1, 1, 1 at location of player
- spawn 17 of particle magic crit offset by 1, 1, 1 at location of player
- spawn 17 of particle spell offset by 1, 1, 1 at location of player
- if boots of player is not diamond boots named "<aqua><bold>Cloud Boots":
- if {cloudbootsy.%player%.zalozone} is set:
- remove jump boost from the player
- remove speed from the player
- delete {cloudbootsy.%player%.zalozone}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement