execute if score @s bw_block matches ..502 run function bw:blocks/slabs/oak/prexyz
execute if score @s bw_block matches 503..505 run function bw:blocks/slabs/jungle/prexyz
execute if score @s bw_block matches 506..508 run function bw:blocks/slabs/spruce/prexyz
execute if score @s bw_block matches 509.. run function bw:blocks/slabs/acacia/prexyz