on load:
register new shaped recipe for iron boots named "&2Lapis Boots" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using air, air, air, lapis lazuli, air, lapis lazuli, lapis lazuli, air, lapis lazuli
register new shaped recipe for iron boots named "&2Lapis Leggings" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, air, lapis lazuli, lapis lazuli, air, lapis lazuli
register new shaped recipe for iron boots named "&2Lapis Chestplate" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using lapis lazuli, air, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli
register new shaped recipe for iron boots named "&2Lapis Helmet" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, air, lapis lazuli, air, air, air
register new shaped recipe for iron boots named "&2Lapis Helmet" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using air, air, air, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, air, lapis lazuli
register new shaped recipe for iron boots named "&2Lapis Boots" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using air, air, air, lapis lazuli, air, lapis lazuli, lapis lazuli, air, lapis lazuli
every 15 seconds:
if {_lapis.%uuid of player%} is false:
if player is wearing iron helmet named "&2Lapis Boots":
if player is wearing iron chestplate named "&2Lapis Chestplate":
if player is wearing iron leggings named "&2Lapis Leggings":
if player is wearing iron boots named "&2Lapis Boots":
apply swiftness 2 to player
set {_lapis.%uuid of player%
every 15 seconds:
if {_lapis.%uuid of player%} is true
if player is not wearing iron helmet named "&2Lapis Boots":
execute console command "effect clear %player%"
set {_lapis.%uuid of player%} to false
if player is not wearing iron helmet named "&2Lapis Leggings":
execute console command "effect clear %player%"
set {_lapis.%uuid of player%} to false
if player is not wearing iron helmet named "&2Lapis Chestplate":
execute console command "effect clear %player%"
set {_lapis.%uuid of player%} to false
if player is not wearing iron helmet named "&2Lapis Helmet":
execute console command "effect clear %player%"
set {_lapis.%uuid of player%} to false