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

2 comments
I thought client scripts were just for stuff that you wanted to happen to one player instead of all of them? Wouln't I want the player to rotate on everyone's screens?
It works, thanks