UI/KillNotification/KillNotificationEntry.cs
using Sandbox.UI;
using Sandbox.UI.Construct;

public sealed class KillNotificationEntry : Panel
{
	public KillNotificationEntry( string victim )
	{
		Add.Label( "ELIMINATED", "message" );
		Add.Label( victim, "name" );
		Add.Label( "+10 XP", "name" );

		Invoke( 5f, () => AddClass( "faded" ) );
		Invoke( 7f, () => Delete() );
	}
}