scoreboard players operation @s[tag=bw_spiq] bw_calc < #bw_cudu bw_calc
function bw:set
execute if score @s bw_mcxyz matches 5 run function bw:nostates/block_x
execute if score @s bw_mcxyz matches 6 run function bw:nostates/block_z
execute if score @s bw_mcxyz matches 7 run function bw:nostates/block_y
execute if score @s bw_mcxyz matches 8 run function bw:nostates/block_xz
execute if score @s bw_mcxyz matches 9 run function bw:nostates/block_xy
execute if score @s bw_mcxyz matches 10 run function bw:nostates/block_zy