execute as @e[tag=!GotCoord,type=armor_stand,tag=MoveSkeleStand1] run execute at @s run tp @e[type=#minecraft:skeletons,limit=1,sort=nearest,tag=MovingSkele1,distance=..2] ~ ~ ~
execute as @e[tag=!GotCoord,type=armor_stand,tag=MoveSkeleStand2] run execute at @s run tp @e[type=#minecraft:skeletons,limit=1,sort=nearest,tag=MovingSkele2,distance=..2] ~ ~ ~
execute as @e[tag=!GotCoord,type=armor_stand,tag=MoveSkeleStand3] run execute at @s run tp @e[type=#minecraft:skeletons,limit=1,sort=nearest,tag=MovingSkele3,distance=..2] ~ ~ ~