execute positioned ~ ~ ~1 if block ~ ~ ~ #bd:z_axis_linked run function bd:movement/object/block_move_7
execute positioned ~ ~ ~-1 if block ~ ~ ~ #bd:z_axis_linked run function bd:movement/object/block_move_7
scoreboard players set global linkedBlock 2