this is what ive tried but it doesnt work
char.HumanoidRootPart.Orientation = -char.HumanoidRootPart.CFrame.lookVector
To fix the script you wrote do this instead.
char.HumanoidRootPart.Orientation = char.HumanoidRootPart.Orientation - char.HumanoidRoot.CFrame.lookVector