scoreboard objectives add xyz dummy
Дальше всё в цикл:
Записываем координаты игрока
execute as @a[limit=1] store result score .x xyz run data get entity @s Pos[0] 1000
execute as @a[limit=1] store result score .y xyz run data get entity @s Pos[1] 1000
execute as @a[limit=1] store result score .z xyz run data get entity @s Pos[2] 1000
Здесь ты настраиваешь как тебе надо
scoreboard players add .x xyz 1000 - например, армор стенд будет смещён относительно игрока влево на 1 блок по x
scoreboard players remove .y xyz 2500 - например, армор стенд будет смещён вниз на 2.5 блока по y
scoreboard players add .z xyz 0 - ничего не меняется
Полученные координаты устанавливаем армор стенду
execute as @e[type=minecraft:armor_stand] store result entity @s Pos[0] double 0.001 run scoreboard players get .x xyz
execute as @e[type=minecraft:armor_stand] store result entity @s Pos[1] double 0.001 run scoreboard players get .y xyz
execute as @e[type=minecraft:armor_stand] store result entity @s Pos[2] double 0.001 run scoreboard players get .z xyz