function Window.AddLine(Z,e,l)e=tostring(e)if#e==0 then Window:UpdateWindowHeight()return end local j=Z.Cmdr.Util.EmulateTabstops(e or"\110\105\108",8)local v=Line:Clone()v.Size=UDim2.new(v.Size.X.Scale,v.Size.X.Offset,0,(TextService:GetTextSize(j,v.TextSize,v.Font,Vector2.new(Gui.UIListLayout.AbsoluteContentSize.X,math.huge))).Y+(LINE_HEIGHT-v.TextSize))v.Text=j v.TextColor3=l or v.TextColor3 v.Parent=Gui end

function Window:AddLine(text, color)
	text = tostring(text)

	if #text == 0 then
		Window:UpdateWindowHeight()
		return
	end

	local str = self.Cmdr.Util.EmulateTabstops(text or "nil", 8)
	local line = Line:Clone()
	line.Size =
		UDim2.new(
			line.Size.X.Scale,
			line.Size.X.Offset,
			0,
			TextService:GetTextSize(
				str,
				line.TextSize,
				line.Font,
				Vector2.new(Gui.UIListLayout.AbsoluteContentSize.X, math.huge)
			).Y + (LINE_HEIGHT - line.TextSize)
		)
	line.Text = str
	line.TextColor3 = color or line.TextColor3
	line.Parent = Gui
end
