execute as @a[scores={impact_frames=20..}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/20"}] 1
execute as @a[scores={impact_frames=19}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/19"}] 1
execute as @a[scores={impact_frames=18}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/18"}] 1
execute as @a[scores={impact_frames=17}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/17"}] 1

execute as @a[scores={impact_frames=16}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/16"}] 1
execute as @a[scores={impact_frames=15}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/15"}] 1
execute as @a[scores={impact_frames=14}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/14"}] 1
execute as @a[scores={impact_frames=13}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/13"}] 1
execute as @a[scores={impact_frames=12}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/12"}] 1
execute as @a[scores={impact_frames=11}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/11"}] 1
execute as @a[scores={impact_frames=10}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/10"}] 1
execute as @a[scores={impact_frames=9}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/9"}] 1
execute as @a[scores={impact_frames=8}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/8"}] 1
execute as @a[scores={impact_frames=7}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/7"}] 1
execute as @a[scores={impact_frames=6}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/6"}] 1
execute as @a[scores={impact_frames=5}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/5"}] 1
execute as @a[scores={impact_frames=4}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/4"}] 1
execute as @a[scores={impact_frames=3}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/3"}] 1
execute as @a[scores={impact_frames=2}] run item replace entity @s armor.legs with leather_leggings[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={asset_id:barrier,equip_sound:"item.armor.equip_leather",slot:"legs",camera_overlay:"custom/overlay/impact_frames/2"}] 1
scoreboard players remove @a impact_frames 2
execute as @a[scores={impact_frames=..1}] run item replace entity @s armor.legs with air