I have it were when you click a button it changes your camera mode but when you die i want it to reset the camera mode to free i have the script here which works in Studio but not in-game its a normal script in serverscriptservice and localscripts don't work!
game:GetService('Players').PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid").Died:connect(function()
player.CameraMode = 0
end)
end)
end)

1 comment
I mean on the Starter screen i want it to be off