Camera cframe goes back to the same position player died before

im trying to make a camera that attaches to the character.Head that smoothly goes down, When i die it works but when i die again it goes to the same position it was before. Could someone help me with this?
code:

local tweenservice = game:GetService("TweenService")
local currentcamera = workspace.CurrentCamera
local sound = script.Sound
local players = game:GetService("Players")
local Player = players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
game.ReplicatedStorage.Events2.Died.OnClientEvent:Connect(function()
	currentcamera.CameraType = Enum.CameraType.Scriptable
	local ti = TweenInfo.new(7,Enum.EasingStyle.Quad,Enum.EasingDirection.In,0)
	local goal = {CFrame = Character.Head.CFrame}
	local animation = tweenservice:Create(currentcamera,ti,goal)
	animation:Play()
	local deathsound = sound:Clone()
	deathsound.TimePosition = 1.5
	deathsound.SoundId = "rbxassetid://148590801"
	deathsound.Parent = script
	deathsound:Play()
	wait(5)
	currentcamera.CameraType = Enum.CameraType.Custom
end)

Hi, I had the same problem! For some reason Enum.CameraType.Custom didn’t work for me. Here’s what I did:
Create two scripts, first one will be for tweening, second for detecting player’s death.
When player dies enable first script (with property: Disabled = false), after death is finnished again disable tweening script via second script.
I hope it works!

Does not work though, Same result.

Nevermind, I had to put the disabling in the script. Thank you for your advice!

I’m thinking maybe you could initiate a new Character Variable within the function (call it again) and set the Camera Subject to the Humanoid