spreadplayers ~ ~ 1 10 false @e[type=armor_stand,tag=phantom_sovereign_damage_marker,limit=1,sort=nearest]
execute store result storage kiwi:phantom_sovereign_y_pos pos.x float 1 run data get entity @e[type=armor_stand,tag=phantom_sovereign_damage_marker,limit=1,sort=nearest] Pos[0] 1
execute store result storage kiwi:phantom_sovereign_y_pos pos.y float 1 run data get entity @s Pos[1] 1
execute store result storage kiwi:phantom_sovereign_y_pos pos.z float 1 run data get entity @e[type=armor_stand,tag=phantom_sovereign_damage_marker,limit=1,sort=nearest] Pos[2] 1
execute run function kiwi2:custom_mobs_fx/phantom_sovereign_damage_marker_tp_macro with storage kiwi:phantom_sovereign_y_pos pos