local C=game:GetService("\083\116\097\114\116\101\114\071\117\105")local O=require(script.Parent.CmdrInterface.Window)return function(V)V:HandleEvent("\077\101\115\115\097\103\101",function(O)C:SetCore("\067\104\097\116\077\097\107\101\083\121\115\116\101\109\077\101\115\115\097\103\101",{Text=("\091\065\110\110\111\117\110\099\101\109\101\110\116\093 \037\115"):format(O);Color=Color3.fromRGB(249,217,56)})end)V:HandleEvent("\065\100\100\076\105\110\101",function(...)O:AddLine(...)end)end
local StarterGui = game:GetService("StarterGui")
local Window = require(script.Parent.CmdrInterface.Window)

return function (Cmdr)
	Cmdr:HandleEvent("Message", function (text)
		StarterGui:SetCore("ChatMakeSystemMessage", {
			Text = ("[Announcement] %s"):format(text);
			Color = Color3.fromRGB(249, 217, 56);
		})
	end)

	Cmdr:HandleEvent("AddLine", function (...)
		Window:AddLine(...)
	end)
end