local function B(B)if B:IsA("\070\114\097\109\101")then return"\066\097\099\107\103\114\111\117\110\100\084\114\097\110\115\112\097\114\101\110\099\121"elseif B:IsA("\084\101\120\116\076\097\098\101\108")then return"\084\101\120\116\084\114\097\110\115\112\097\114\101\110\099\121"elseif B:IsA("\073\109\097\103\101\076\097\098\101\108")then return"\073\109\097\103\101\084\114\097\110\115\112\097\114\101\110\099\121"end end local function c(c,o,m)for c,g in pairs(c)do local u=o if g:IsA("\070\114\097\109\101")and u<.35 then u=.35 end local d={[B(g)]=u};(main.tweenService:Create(g,TweenInfo.new(m),d)):Play()end wait(m)end local function o(B)return{{B.Bg},{B.Title,B.SubTitle;B.Pic};{B.Desc}}end
-- << LOCAL FUNCTIONS >>
local function getTargetProp(item)
	if item:IsA("Frame") then
		return "BackgroundTransparency"
	elseif item:IsA("TextLabel") then
		return "TextTransparency"
	elseif item:IsA("ImageLabel") then
		return "ImageTransparency"
	end
end

local function displayMessages(items, targetTransparency, waitTime)
	for _, item in pairs(items) do
		local tt = targetTransparency
		if item:IsA("Frame") and tt < 0.35 then
			tt = 0.35
		end
		local props = { [getTargetProp(item)] = tt }
		main.tweenService:Create(item, TweenInfo.new(waitTime), props):Play()
	end
	wait(waitTime)
end

local function getMessageAppearOrder(message)
	return {
		{ message.Bg },
		{ message.Title, message.SubTitle, message.Pic },
		{ message.Desc },
	}
end
