I've got a method that rotates the player, and it rotates the player just fine, but for some reason, it prevents the player from moving properly and causes extreme jittering when movement is attempted.
function module.RotatePlayer(player, rotation) local rotatedCFrame = player:GetPrimaryPartCFrame() * CFrame.Angles(math.rad(rotation.x), math.rad(rotation.y), math.rad(rotation.z)); player:SetPrimaryPartCFrame(rotatedCFrame); end
I believe the issue is that the server is setting the rotation for the client. If you were to put this into a local script it should fix the jittering issue.