local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:wait() ; Character = Player.Character
local Humanoid = Character:WaitForChild("Humanoid")
local Head = Character:WaitForChild("Head")
local Torso = Character:WaitForChild("Torso")

Humanoid.AutoRotate = false

local Mouse = Player:GetMouse()

game:GetService("RunService").RenderStepped:connect(function()

	Head.CFrame = CFrame.new(Head.Position, Vector3.new(Mouse.Hit.p.x, Head.Position.Y, Mouse.Hit.p.z))

end)

I want only the head of the player to face where the mouse is (head can freely spin) but with this script the whole body moves with it.