execute if block ~ ~ ~ minecraft:observer[facing=up] run scoreboard players set @s bw_block 1170
execute if block ~ ~ ~ minecraft:observer[facing=down] run scoreboard players set @s bw_block 1171
execute if block ~ ~ ~ minecraft:observer[facing=north] run scoreboard players set @s bw_block 1172
execute if block ~ ~ ~ minecraft:observer[facing=west] run scoreboard players set @s bw_block 1173
execute if block ~ ~ ~ minecraft:observer[facing=east] run scoreboard players set @s bw_block 1174
execute if block ~ ~ ~ minecraft:observer[facing=south] run scoreboard players set @s bw_block 1175