-- Put this script in a Part or a ServerScriptService


local scriptToDestroy = game.Workspace.End[" Badge"].Nodead
game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local humanoid = character:WaitForChild("Humanoid")

		humanoid.Died:Connect(function()
        scriptToDestroy:Destroy()
		end)
	end)
end)

