i have this script that increases a value when the local player dies (Local Script)
Script:
wait(2)
local plr = game.Players.LocalPlayer
local Hum = plr.Character.Humanoid
Hum.Died:connect(function()
print("You have died. Adding 1+ To Counter.")
script.Parent.Value = script.Parent.Value + 1
print("Success")
plr.PlayerGui.Main.Deaths.TextLabel.Text = script.Parent.Value
end)
print("Death Counter.exe Successfully Started")

2 comments
please say what stops working. all of it? the value??
Everything, the function wont fire again after 1 use