execute if block ~ ~ ~ minecraft:purpur_pillar[axis=x] run scoreboard players set @s bw_block 1152
execute if block ~ ~ ~ minecraft:purpur_pillar[axis=y] run scoreboard players set @s bw_block 1153
execute if block ~ ~ ~ minecraft:purpur_pillar[axis=z] run scoreboard players set @s bw_block 1154