execute if block ~ ~ ~ minecraft:polished_andesite_slab[type=top] run scoreboard players set @s bw_block 527
execute if block ~ ~ ~ minecraft:polished_andesite_slab[type=bottom] run scoreboard players set @s bw_block 528
execute if block ~ ~ ~ minecraft:polished_andesite_slab[type=double] run scoreboard players set @s bw_block 529