here try this..me modified it from @CmP script (credits to him).
local function h1()
--your hack here--
gg.alert("Hack 1 Done")
end
local function h2()
--your hack here--
gg.alert("Hack 2 Done")
end
local function h3()
--your hack here--
gg.alert("Hack 3 Done")
end
local hacks = {
{name = ">> Hack 1", func = h1},
{name = ">> Hack 2", func = h2},
{name = ">> Hack 3", func = h3},
}
local hackNames = {}
local hackFunctions = {}
for i, v in pairs(hacks) do
table.insert(hackNames, v.name)
table.insert(hackFunctions, v.func)
end
gg.setVisible(false)
local choice = gg.choice(hackNames,nil,"Main Menu")
if choice ~= nil then
hackFunctions[choice]()
end