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

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
