So I have an FPS and when I press a button it goes into first person, but then I make a script to make it go to third person when you die and it doesn't work

player = game.Players.LocalPlayer
character = player.CharacterAdded:wait()

while true do
    character:WaitForChild("Humanoid").Died:connect(function()
	player.CameraMode = Enum.CameraMode.Classic
end)
    wait(0.4)
end

1 comment

0

really? the same question.