execute store result score @s[tag=bw_spiq] bw_calc run clear @s minecraft:gray_wool 0
execute if score @s bw_calc matches 1.. run function bw:direction
execute if entity @s[tag=bw_spiq] if score #bw_ic bw_calc matches 1.. run function bw:blocks/wool/gray/itemclear
execute if score #bw_ic bw_calc matches 1.. run playsound minecraft:block.wool.place block @s ~ ~ ~