execute as @e[type=armor_stand,tag=MoveSkeleStand,tag=!GotWithSkele,tag=MoveSkeleStand1] run execute at @s run execute if entity @e[type=skeleton,distance=..1,tag=MovingSkele] run summon minecraft:wither_skeleton ~ ~ ~ {Attributes:[{Name:generic.armor,Base:20}],Tags:["MovingSkele1","MovingSkele"],NoAI:1,Rotation:[90F,0F],HandItems:[{id:"minecraft:iron_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:sharpness",lvl:1s},{id:"minecraft:fire_aspect",lvl:1s}]}},{}]}
execute as @e[type=armor_stand,tag=MoveSkeleStand,tag=!GotWithSkele,tag=MoveSkeleStand2] run execute at @s run execute if entity @e[type=skeleton,distance=..1,tag=MovingSkele] run summon minecraft:wither_skeleton ~ ~ ~ {Attributes:[{Name:generic.armor,Base:20}],Tags:["MovingSkele2","MovingSkele"],NoAI:1,Rotation:[90F,0F],HandItems:[{id:"minecraft:iron_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:sharpness",lvl:1s},{id:"minecraft:fire_aspect",lvl:1s}]}},{}]}
execute as @e[type=armor_stand,tag=MoveSkeleStand,tag=!GotWithSkele,tag=MoveSkeleStand3] run execute at @s run execute if entity @e[type=skeleton,distance=..1,tag=MovingSkele] run summon minecraft:wither_skeleton ~ ~ ~ {Attributes:[{Name:generic.armor,Base:20}],Tags:["MovingSkele3","MovingSkele"],NoAI:1,Rotation:[90F,0F],HandItems:[{id:"minecraft:iron_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:sharpness",lvl:1s},{id:"minecraft:fire_aspect",lvl:1s}]}},{}]}
execute as @e[type=armor_stand,tag=MoveSkeleStand,tag=!GotWithSkele] run tp @e[tag=MovingSkele,type=skeleton] ~ ~-500 ~
execute as @e[type=armor_stand,tag=MoveSkeleStand,tag=!GotWithSkele] run tag @s add GotWithSkele