I'm attempting to activate a function when a player's head is facing a certain object.
I've tried using
(Humanoid.MoveDirection:Dot(workspace.CurrentCamera.CFrame.RightVector) <= 0.25)
but it turns out that it activates when a player isn't moving much to the right.

1 comment
It's not going to be in first person though.