execute if block ~ ~ ~ minecraft:nether_brick_slab[type=top] run scoreboard players set @s bw_block 578
execute if block ~ ~ ~ minecraft:nether_brick_slab[type=bottom] run scoreboard players set @s bw_block 579
execute if block ~ ~ ~ minecraft:nether_brick_slab[type=double] run scoreboard players set @s bw_block 580