Should work just fine .
However, if the rotation acts a bit strange, change the following line:
To:
rotation.CFrame = workspace.CurrentCamera.CFrame
Let me know what the results are
Edit (April 2022):
This now works on mobile with no need to change anything.