I've tried this in a normal script inside workspace
local player game.Players:GetPlayers()
while true do
if player.Playing.Value == 1 then
player.CameraMode = "LockFirstPerson"
elseif player.Playing.Value == 0 then
player.CameraMode = "Classic"
wait(.5)
end
end
I tried to look it up but I couldn't find anything, so I hope you guys can help.

2 comments
Ah, I see, Im dumb
No, it's a common mistake.