How to change the Orientation of the players head?

Alright, so to start off with what I want to happen. I want when the player clicks a button, it fires a remove this works fine, but I want it to move the player’s head down. When I change the orientation the head does not move, but the orientation changes. I was unable to find any other dev forum posts on this.

Add.OnServerEvent:Connect(function(player)
	if player then
		player.leaderstats[StatName].Value += AmountToGive
		player.Character.Head.Orientation = Vector3.new(0,-15,0)
	end
end)```

If you know, please let me know, thanks!

try this

Add.OnServerEvent:Connect(function(player)
	if player then
		player.leaderstats[StatName].Value += AmountToGive
		player.Character.Head.CFrame = CFrame.lookAt(player.Character.Head.Position,Vector3.new(0,-15,0))
	end
end

Wouldn’t you use an Animation | Roblox Creator Documentation for this?
I know if a player’s head/torso joint gets broken then the player dies, so maybe that fact doesn’t allow you to just CFrame it.

1 Like

The orientation of the head is held by the neck motor6d. You need to set the CFrame of the c0 or c1 property in order to maintain a proper rotation. Also, there’s a humanoid property to disable death without a neck motor6d.

1 Like

This just makes their body rotate, as has a weld in it.