execute if block ~ ~ ~ minecraft:dark_oak_button[face=floor,facing=north] run scoreboard players set @s bw_block 643
execute if block ~ ~ ~ minecraft:dark_oak_button[face=floor,facing=east] run scoreboard players set @s bw_block 644
execute if block ~ ~ ~ minecraft:dark_oak_button[face=floor,facing=south] run scoreboard players set @s bw_block 645
execute if block ~ ~ ~ minecraft:dark_oak_button[face=floor,facing=west] run scoreboard players set @s bw_block 646
execute if block ~ ~ ~ minecraft:dark_oak_button[face=wall,facing=north] run scoreboard players set @s bw_block 647
execute if block ~ ~ ~ minecraft:dark_oak_button[face=wall,facing=east] run scoreboard players set @s bw_block 648
execute if block ~ ~ ~ minecraft:dark_oak_button[face=wall,facing=south] run scoreboard players set @s bw_block 649
execute if block ~ ~ ~ minecraft:dark_oak_button[face=wall,facing=west] run scoreboard players set @s bw_block 650
execute if block ~ ~ ~ minecraft:dark_oak_button[face=ceiling,facing=north] run scoreboard players set @s bw_block 651
execute if block ~ ~ ~ minecraft:dark_oak_button[face=ceiling,facing=east] run scoreboard players set @s bw_block 652
execute if block ~ ~ ~ minecraft:dark_oak_button[face=ceiling,facing=south] run scoreboard players set @s bw_block 653
execute if block ~ ~ ~ minecraft:dark_oak_button[face=ceiling,facing=west] run scoreboard players set @s bw_block 654