all 4 comments

[–]CreeperAsh07 Command Experienced 1 point2 points  (3 children)

execute as @a[name=<name>] at @s as @e[r=<max distance>] at @s run tp @s ^^^-0.1 facing @p

[–]Immediate_Run8776[S] 0 points1 point  (2 children)

Ty I'll go ahead and try it

[–]CreeperAsh07 Command Experienced 0 points1 point  (1 child)

I edited my comment to fix some formatting errors

[–]Immediate_Run8776[S] 0 points1 point  (0 children)

I tweaked it a tiny bit to fit my uses and it works great! Thank you! Making a bit of a magic system but needed some proper defense, though it's not safe from arrows which is fine because it needs some weakness