function OnDeath()for z,R in pairs(game.Players:GetPlayers())do local m=script.DNGui:Clone()m.Parent=R.PlayerGui m.TextLabel.Text=script.Parent.Name.." \119\097\115 \107\105\108\108\101\100\046"m.Script.Disabled=false end end script.Parent.Humanoid.Died:Connect(OnDeath)


function OnDeath()
	for _,p in pairs(game.Players:GetPlayers()) do
		local Gui = script.DNGui:Clone()
		Gui.Parent = p.PlayerGui
		Gui.TextLabel.Text = script.Parent.Name.. " was killed."
		Gui.Script.Disabled = false
	end
end
script.Parent.Humanoid.Died:Connect(OnDeath)
