Here's my script:

Player = game.Players.LocalPlayer
Mouse = Player:GetMouse()
while true do
	wait()
	Player.Character.Head.Neck.C0 = CFrame.new(Player.Character.Head.Position, Mouse.Hit.p)
end

Problem is the head disappears. What is the problem with my script?

7 comments

1

Pretty sure it's an offset. try CFrame.new(Player.Character.Head.Neck.C0.p,Mouse.Hit.p)

0

Alright i'll try that, thanks!

0

It work's but the Player's head turns all the way around. Anyway to prevent this?

0

Determine if the head is turning too far on the Y axis with an if-then statement. If you need a better explanation, let me know and I'll post an answer.

0

If you don't mind explaining it more, that would be great!

0

That also won't work at all because Neck.C0 is a torso offset not a simple cframe

0

So it can't be an offset?