execute if block ~ ~ ~ minecraft:red_nether_brick_slab[type=top] run scoreboard players set @s bw_block 560
execute if block ~ ~ ~ minecraft:red_nether_brick_slab[type=bottom] run scoreboard players set @s bw_block 561
execute if block ~ ~ ~ minecraft:red_nether_brick_slab[type=double] run scoreboard players set @s bw_block 562