Im trying to make a players head orientation or rotation face where the mouse's positioned. i have this so far but it doesent work, and if i replace the head part and just say
Print ("MousePosition")
this works but it only does in local scripts. so i am mainly looking for putting a heads position or rotation twards the mouse. Btw here is the code
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local MouseHitPos = Mouse.Hit local MousePosition = MouseHitPos.p local Name = Player.Name local char = game.Workspace:FindFirstChild(Name) char.Head.Orientation = MousePosition
I see your script and the solution i thought is to handle all mouse stuff at client side and send info using remotevent when u want