execute if block ~ ~ ~ minecraft:stone_slab[type=top] run scoreboard players set @s bw_block 545
execute if block ~ ~ ~ minecraft:stone_slab[type=bottom] run scoreboard players set @s bw_block 546
execute if block ~ ~ ~ minecraft:stone_slab[type=double] run scoreboard players set @s bw_block 547