Try this,
local player = game.Players.LocalPlayer local event = player:WaitForChild("diedEvent") event:Destroy()