execute if block ~ ~ ~ minecraft:smooth_sandstone_slab[type=top] run scoreboard players set @s bw_block 548
execute if block ~ ~ ~ minecraft:smooth_sandstone_slab[type=bottom] run scoreboard players set @s bw_block 549
execute if block ~ ~ ~ minecraft:smooth_sandstone_slab[type=double] run scoreboard players set @s bw_block 550