execute if block ~ ~ ~ minecraft:lime_glazed_terracotta[facing=north] run scoreboard players set @s bw_block 767
execute if block ~ ~ ~ minecraft:lime_glazed_terracotta[facing=east] run scoreboard players set @s bw_block 768
execute if block ~ ~ ~ minecraft:lime_glazed_terracotta[facing=south] run scoreboard players set @s bw_block 769
execute if block ~ ~ ~ minecraft:lime_glazed_terracotta[facing=west] run scoreboard players set @s bw_block 770