I have this code in a localscript in StarterCharacterScripts
local player = game.Players.LocalPlayer
local character = script.Parent
character.Humanoid.Died:Connect(function()
player.CameraMode = Enum.CameraMode.Classic
end)
My intention for this script is to stop the players camera from being in mouselock, but it doesn't seem to work.

1 comment
https://devforum.roblox.com/t/forcing-mouselock-with-new-camera-script/226660/5? Does this link help out?