Cutscene not working

Hello, I am making a Cutscene for my game, but when I pause the cutscene it stops, but if I die or reset my character it starts again. How do I make it so it doesn’t start again?
The code:

local TweenService = game:GetService("TweenService")

local Camera = game.Workspace.Camera

local cutsceneTime = 19
local blackout = 0.9
local tweenInfo = TweenInfo.new(
	cutsceneTime,
	Enum.EasingStyle.Sine,
	Enum.EasingDirection.Out,
	0,
	false,
	0
)
function tween4(part1, part2)
	Camera.CameraType = Enum.CameraType.Scriptable
	Camera.CFrame = part1.CFrame
	
	local tween = TweenService:Create(Camera, tweenInfo, {CFrame = part2.CFrame})
	tween:Play()
	game.ReplicatedStorage.Events["Change Team"].OnClientEvent:Connect(function()
		tween:Pause()
		
	end)
	wait(cutsceneTime)
	tween2(game.Workspace.CutsceneCameras.Cut3, game.Workspace.CutsceneCameras.Cut4)
end
function tween3(part5, part6)
	Camera.CameraType = Enum.CameraType.Scriptable
	Camera.CFrame = part5.CFrame

	local tween = TweenService:Create(Camera, tweenInfo, {CFrame = part6.CFrame})
	tween:Play()
	game.ReplicatedStorage.Events["Change Team"].OnClientEvent:Connect(function()
		tween:Pause()
		
	end)
	wait(cutsceneTime)
	tweenn(game.Workspace.CutsceneCameras.Cut7, game.Workspace.CutsceneCameras.Cut8)
	
end
function tween2(part3, part4)
	Camera.CameraType = Enum.CameraType.Scriptable
	Camera.CFrame = part3.CFrame

	local tween = TweenService:Create(Camera, tweenInfo, {CFrame = part4.CFrame})
	tween:Play()
	game.ReplicatedStorage.Events["Change Team"].OnClientEvent:Connect(function()
		tween:Pause()
	
	end)
	wait(cutsceneTime)
	tween3(game.Workspace.CutsceneCameras.Cut5, game.Workspace.CutsceneCameras.Cut6)

end
function tween(part1, part2)
	game.Players.LocalPlayer.PlayerGui.SpawnGUI.Enabled = true
	Camera.CameraType = Enum.CameraType.Scriptable
	Camera.CFrame = game.Workspace.CutsceneCameras.Cut1.CFrame
	
	local tween = TweenService:Create(Camera, tweenInfo, {CFrame = game.Workspace.CutsceneCameras.Cut2.CFrame})
	tween:Play()
	game.ReplicatedStorage.Events["Change Team"].OnClientEvent:Connect(function()
		tween:Pause()

	end)
	wait(cutsceneTime)
	tween2(game.Workspace.CutsceneCameras.Cut3, game.Workspace.CutsceneCameras.Cut4)
	
end
function tweenn(part1, part2)
	Camera.CameraType = Enum.CameraType.Scriptable
	Camera.CFrame = game.Workspace.CutsceneCameras.Cut7.CFrame

	local tween = TweenService:Create(Camera, tweenInfo, {CFrame = game.Workspace.CutsceneCameras.Cut8.CFrame})
	tween:Play()
	game.ReplicatedStorage.Events["Change Team"].OnClientEvent:Connect(function()
		tween:Pause()
	
	end)
	wait(cutsceneTime)
	tween4(game.Workspace.CutsceneCameras.Cut1, game.Workspace.CutsceneCameras.Cut2)

end


	


wait()

	tween(game.Workspace.CutsceneCameras.Cut1, game.Workspace.CutsceneCameras.Cut2)


	

Where is this script in explorer?

Its in StarterCharacterScripts.
(30 ccccc)

Try putting it in starterplayerscripts instead

I have tryed, but the Cutscene wont play if its in starterplayerscripts

hm

At the start of the script (have it in starterplayerscripts), please put:

game.Players.LocalPlayer.CharacterAdded:Wait()