execute if entity @s[scores={faceDirection=1}] run summon armor_stand ~ ~-1 ~ {Tags:["setme","level_entity","level_exit"],DisabledSlots:4144959,NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1b,Glowing:0b,Pose:{Head:[0f,0f,0f]},ArmorItems:[{},{},{},{id:"minecraft:white_dye",Count:1b,tag:{CustomModelData:1234567}}]}
execute if entity @s[scores={faceDirection=3}] run summon armor_stand ~ ~-1 ~ {Tags:["setme","level_entity","level_exit"],DisabledSlots:4144959,NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1b,Glowing:0b,Pose:{Head:[0f,90f,0f]},ArmorItems:[{},{},{},{id:"minecraft:white_dye",Count:1b,tag:{CustomModelData:1234567}}]}
execute if entity @s[scores={faceDirection=5}] run summon armor_stand ~ ~-1 ~ {Tags:["setme","level_entity","level_exit"],DisabledSlots:4144959,NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1b,Glowing:0b,Pose:{Head:[0f,180f,0f]},ArmorItems:[{},{},{},{id:"minecraft:white_dye",Count:1b,tag:{CustomModelData:1234567}}]}
execute if entity @s[scores={faceDirection=7}] run summon armor_stand ~ ~-1 ~ {Tags:["setme","level_entity","level_exit"],DisabledSlots:4144959,NoGravity:1b,Silent:1b,Invulnerable:1b,Invisible:1b,Glowing:0b,Pose:{Head:[0f,270f,0f]},ArmorItems:[{},{},{},{id:"minecraft:white_dye",Count:1b,tag:{CustomModelData:1234567}}]}

scoreboard players operation @e[limit=1,tag=setme,type=armor_stand,sort=nearest] faceDirection = @s faceDirection
scoreboard players operation @e[limit=1,tag=setme,type=armor_stand,sort=nearest] setLevel = @s setLevel
tag @e[tag=setme,type=armor_stand,sort=nearest] remove setme