I dont think the tildes are visible in the command, but basicaly I tp the armorstand 0,1 in the z direction and set its horizontal rotation to 180
nvm It was a problem in my datapack.
I dont think the tildes are visible in the command, but basicaly I tp the armorstand 0,1 in the z direction and set its horizontal rotation to 180