this should slowly go out from camera when dead but just locks the camera and doesn't let me move it nor anything else. Help ?
repeat wait() until game.Players.LocalPlayer.Character
local player = game.Players.LocalPlayer
local cam = game.Workspace.CurrentCamera
cam.CameraType = "Custom"
cam.CameraSubject = player.Character.Head
player.Character.Humanoid.Died:connect(function()
cam.CameraType = "Scriptable"
cam:Interpolate(CFrame.new(cam.CFrame-cam.CFrame.lookVector*5),player.Character.Head,5)
end)
