execute if block ~ ~ ~ minecraft:jungle_slab[type=top] run scoreboard players set @s bw_block 503
execute if block ~ ~ ~ minecraft:jungle_slab[type=bottom] run scoreboard players set @s bw_block 504
execute if block ~ ~ ~ minecraft:jungle_slab[type=double] run scoreboard players set @s bw_block 505