execute if block ~ ~ ~ minecraft:diorite_slab[type=top] run scoreboard players set @s bw_block 563
execute if block ~ ~ ~ minecraft:diorite_slab[type=bottom] run scoreboard players set @s bw_block 564
execute if block ~ ~ ~ minecraft:diorite_slab[type=double] run scoreboard players set @s bw_block 565