execute if block ~ ~ ~ minecraft:stone_brick_slab[type=top] run scoreboard players set @s bw_block 566
execute if block ~ ~ ~ minecraft:stone_brick_slab[type=bottom] run scoreboard players set @s bw_block 567
execute if block ~ ~ ~ minecraft:stone_brick_slab[type=double] run scoreboard players set @s bw_block 568