Issues with model looking at LocalPlayer

I want a model of an eye to look at the LocalPlayer’s head.

I have figured out how to make it look in the direction of the player, but I also want it to follow the player when they move up and down.

So far I have tried lookAt and SetPrimaryPartCFrame, but both of these seem to only change the Y-axis on the orientation.

while task.wait() do
	eyeModel:SetPrimaryPartCFrame(CFrame.lookAt(primartPart.Position, game.Players.LocalPlayer.Character.Head.Position))
end

What would I need to do to get it to look at the player when they jump, move up and move down?

1 Like