diedConn = humanoid.Died:Connect(function()
task.wait(0.2)
if not char:GetAttribute("Ragdoll") then
releaseCamera()
end
end)
char:GetAttributeChangedSignal("Ragdoll"):Connect(function()
if not char:GetAttribute("Ragdoll") and firstPerson and humanoid.Health > 0 then
takeCamera()
end
end)