So this code rotates the player to where the mouse clicked, it works perfectly but when I click while moving it moves the player back a bit and I want that to stop. So what I'm asking is how to remove the positioning and only rotate (or a counter to the moving back)
player.Character.HumanoidRootPart.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position, mousehitpos) -- mousehitpos is mouse.Hit.p

2 comments
You could try to use CFrame.lookAt() to turn your character to face your mouse without moving you backwards
^ You'll want to replace the Y axis with your HumanoidRootPart's, though