-- GameGuardian Multi Choice Lua Script Template
function choice()
local t = gg.multichoice({
'Choice: 1', -- Rename this to whatever you want!
'Choice: 2', -- Rename this to whatever you want!
'Choice: 3', -- Rename this to whatever you want!
'Return'},nil,Credits)
if t == nil then gg.sleep(1)
else
if t[1] then choice1() end
if t[2] then choice2() end
if t[3] then choice3() end
if t[4] then return() end
end
Random=-1
end
function choice2()
gg.alert('Choice: 1 Slected') -- Rename this to whatever you want!
end
function choice2()
gg.alert('Choice: 2 Slected') -- Rename this to whatever you want!
end
function choice3()
gg.alert('Choice: 3 Slected') -- Rename this to whatever you want!
end
function return()
main()
end
To embed this project on your website, copy the following code and paste it into your website's HTML: