execute if block ~ ~ ~ minecraft:smooth_quartz_slab[type=top] run scoreboard players set @s bw_block 551
execute if block ~ ~ ~ minecraft:smooth_quartz_slab[type=bottom] run scoreboard players set @s bw_block 552
execute if block ~ ~ ~ minecraft:smooth_quartz_slab[type=double] run scoreboard players set @s bw_block 553