execute if block ~ ~ ~ minecraft:granite_slab[type=top] run scoreboard players set @s bw_block 554
execute if block ~ ~ ~ minecraft:granite_slab[type=bottom] run scoreboard players set @s bw_block 555
execute if block ~ ~ ~ minecraft:granite_slab[type=double] run scoreboard players set @s bw_block 556