execute as @e[type=armor_stand,name=concerete1] at @s run setblock ~ ~ ~ air execute as @e[type=armor_stand,name=concerete1] at @s if block ~1 ~ ~ white_concrete run summon armor_stand ~1 ~ ~ {CustomName:'{"text":"concrete2"}'} execute as @e[type=armor_stand,name=concerete1] at @s if block ~-1 ~ ~ white_concrete run summon armor_stand ~-1 ~ ~ {CustomName:'{"text":"concrete2"}'} execute as @e[type=armor_stand,name=concerete1] at @s if block ~ ~ ~1 white_concrete run summon armor_stand ~ ~ ~1 {CustomName:'{"text":"concrete2"}'} execute as @e[type=armor_stand,name=concerete1] at @s if block ~ ~ ~-1 white_concrete run summon armor_stand ~ ~ ~-1 {CustomName:'{"text":"concrete2"}'} execute as @e[type=armor_stand,name=concrete2] if entity @s run scoreboard players set @s concrete 1 kill @e[type=armor_stand,name=concrete1] function concrete:continue1