Im trying to make the character face the ehrp (character must be able to move while facing ehrp)

@JohnPlayzRoblox421 solution is right, except the Y axis must remain the same otherwise the character rotates vertically, usually resulting in flinging just like it happened to you.

Try this:

local playerPos = Player.Character:GetPivot().Position
local ehrp = eHRP.Torso
Player.Character.PrimaryPart.CFrame = CFrame.lookAt(playerPos, Vector3.new(ehrp.Position.X, playerPos.Y, ehrp.Position.Z))
1 Like

I used that code and now the player cant move

Im sorry, but did you even look at the documentation? its not called “align_orientation”. its literally just called “AlignOrientation”, and besides, you need an attachment for it to work.