Can't keep this code running after dying

local check = game.ServerStorage:WaitForChild(“BillboardGui”):Clone()
clone = game.ServerStorage:FindFirstChild(“BillboardGui”):Clone()

game:GetService(“Players”).PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(Character)

	local statss = player:FindFirstChild("leaderstats")
	local spree2 = statss.Spree.Value







	local spree = statss.Spree
	spree.Changed:Connect(function(NewValue)


		local clonedgui = clone








		





		if spree.Value >= 3 and Character.Name or spree.Value == 3 and Character.Name then
			
			
			
			
			
			
			clonedgui.Parent = Character
			clonedgui.Adornee = Character.Head
			
			clonedgui.SpreeTag.Text = "☠️Spree|".. spree.Value or NewValue
			clonedgui.SpreeTag.TextColor3 = Color3.fromRGB(231,206,12)


			clonedgui.SpreeTag.Text = "☠️Spree|".. spree.Value or NewValue
			clonedgui.SpreeTag.TextTransparency = 0


		end
	end)
end)

end)

after the player who gets the spree overhead gui dies it no longer works again? it only works/runs through once and thats it? how can i loop it if i have to

So what do you want to achieve?

Where is this script located? You could parent it to StarterCharacterScripts or you could hook up an event like characteradded to refresh the character variable

He posted this before 6 days so I don’t think that he will reply

Didn’t even see that lol. Thanks