execute as @e[type=armor_stand,name=concrete] at @s if block ~ ~-1 ~ white_concrete run summon armor_stand ~ ~-1 ~ {CustomName:'{"text":"concrete1"}'} kill @e[type=armor_stand,name=concrete] function test:concrete