execute if block ~ ~ ~ minecraft:dark_oak_slab[type=top] run scoreboard players set @s bw_block 515
execute if block ~ ~ ~ minecraft:dark_oak_slab[type=bottom] run scoreboard players set @s bw_block 516
execute if block ~ ~ ~ minecraft:dark_oak_slab[type=double] run scoreboard players set @s bw_block 517