execute if block ~ ~ ~ minecraft:dark_oak_fence_gate[facing=north] run scoreboard players set @s bw_block 723
execute if block ~ ~ ~ minecraft:dark_oak_fence_gate[facing=east] run scoreboard players set @s bw_block 724
execute if block ~ ~ ~ minecraft:dark_oak_fence_gate[facing=south] run scoreboard players set @s bw_block 725
execute if block ~ ~ ~ minecraft:dark_oak_fence_gate[facing=west] run scoreboard players set @s bw_block 726