return function(H,G)if G then setfenv(1,G)end local n=service.PlayerGui local Q=service.Players.LocalPlayer local O=client.UI.Prepare(script.Parent.Parent)local Y=O.Main local u=Y.Title local e=Y.Message local t=H.Message local i=H.Color or Color3.fromRGB(255,78,78)local z=TweenInfo.new(.2)local L=service.TweenService:Create(Y,z,{Position=UDim2.new(.11,0,.35,0)})local X=service.TweenService:Create(Y,z,{Position=UDim2.new(.11,0,0,-200)})local C=client.UI.Get("\079\117\116\112\117\116")if C then for H,G in pairs(C)do local n=G.Object if n and n.Parent then local H=service.TweenService:Create(n.Main,z,{Position=UDim2.new(.11,0,.35,n.Main.Position.Y.Offset+55)})H:Play()end end end e.TextColor3=i Y.BackgroundColor3=i e.Text=t e.Font="\071\111\116\104\097\109"L:Play()gTable.Ready()wait(5)X:Play()wait(2)gTable.Destroy()end
--// All global vars will be wiped/replaced except script

return function(data, env)
	if env then
		setfenv(1, env)
	end
	local playergui = service.PlayerGui
	local localplayer = service.Players.LocalPlayer
	local scr = client.UI.Prepare(script.Parent.Parent)
	local main = scr.Main
	local t1 = main.Title
	local t2 = main.Message
	local msg = data.Message
	local color = data.Color or Color3.fromRGB(255, 78, 78)

	local tweenInfo = TweenInfo.new(0.20) ----service.SafeTweenSize(frame,UDim2.new(1,0,0,40),nil,nil,0.3,nil,function() if scrollOpen then frame.Size = UDim2.new(1,0,0,140) end end)
	local consoleOpenTween = service.TweenService:Create(main, tweenInfo, {
		Position = UDim2.new(0.11, 0, 0.35, 0),
	})

	local consoleCloseTween = service.TweenService:Create(main, tweenInfo, {
		Position = UDim2.new(0.11, 0, 0, -200),
	})

	local found = client.UI.Get("Output")
	if found then
		for i, v in pairs(found) do
			local p = v.Object
			if p and p.Parent then
				local consoleOpenTween1 = service.TweenService:Create(p.Main, tweenInfo, {
					Position = UDim2.new(0.11, 0, 0.35, p.Main.Position.Y.Offset + 55),
				})
				consoleOpenTween1:Play()
			end
		end
	end
	t2.TextColor3 = color
	main.BackgroundColor3 = color
	t2.Text = msg
	t2.Font = "Gotham"
	consoleOpenTween:Play()
	--t2.Position = UDim2.new(0, 0, 0.35, 0)
	gTable.Ready()
	wait(5)
	consoleCloseTween:Play()
	wait(2)
	gTable.Destroy()
end
