scoreboard players add @s CadChainBreak 1
execute at @s run execute if block ~ ~ ~ bedrock run tag @s add StopMoveCad
execute at @s[tag=!StopMoveCad] run execute unless block ~ ~ ~ bedrock run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s[tag=!StopMoveCad] run execute unless block ~ ~1 ~ bedrock run fill ~ ~1 ~ ~ ~1 ~ air destroy
execute at @s run playsound minecraft:item.shield.break hostile @a[distance=..50] ~ ~ ~ 2 0.55 1
tag @s[scores={CadChainBreak=3..}] add StopMoveCad
