Jojo Stands Follow script

So I want a stand to follow behind me like in jojo, and my current code is

execute at @a[tag=...] run tp @e[tag=stand] ^1 ^0.5 ^-1 facing ^ ^ ^5

Now this may seem all good, but when I look up, the stand will go down, and when I look down, the stand goes up. I want my stand to work like the following command:

execute at @a[tag=...] run tp @e[tag=stand] ^1 ~0.5 ^-1 facing ^ ^ ^5

and obviously that command isnt possible. Do you know how I could fix this?

Continue to help post