Here's my code, it's in a localscript. I tried again (last time, I only got one reply and it didn't solve it) and yet again doesn't work. Since I'm just starting out scripting, any tips on where I went wrong would be great, thanks.
function click() if player..CameraMode = Enum.CameraMode.Classic then player.CameraMode = Enum.CameraMode.LockFirstPerson elseif player.CameraMode = Enum.CameraMode.LockFirstPerson then player.CameraMode = Enum.Cameramode.LockClassic end