function module.new()local I=setmetatable({},methods)I.Destroyed=false local J,z=CreateGuiObjects()I.GuiObject=J I.Scroller=z I.MessageObjectLog={}I.Name="\077\101\115\115\097\103\101\076\111\103\068\105\115\112\108\097\121"I.GuiObject.Name="\070\114\097\109\101\095"..I.Name I.CurrentChannelName=""I.GuiObject.Changed:connect(function(J)if J=="\065\098\115\111\108\117\116\101\083\105\122\101"then spawn(function()I:ReorderAllMessages()end)end end)return I end return module


function module.new()
	local obj = setmetatable({}, methods)
	obj.Destroyed = false

	local BaseFrame, Scroller = CreateGuiObjects()
	obj.GuiObject = BaseFrame
	obj.Scroller = Scroller

	obj.MessageObjectLog = {}

	obj.Name = "MessageLogDisplay"
	obj.GuiObject.Name = "Frame_" .. obj.Name

	obj.CurrentChannelName = ""

	obj.GuiObject.Changed:connect(function(prop)
		if (prop == "AbsoluteSize") then
			spawn(function() obj:ReorderAllMessages() end)
		end
	end)

	return obj
end

return module
