100% found this document useful (1 vote)
708 views4 pages

Script Making Tool - Copy - Lua

This document outlines a Lua script for a PUBG mobile game hacking menu. It defines functions for a home menu with 4 options, a wall & colour menu with 5 options, a lobby menu with 5 options, and a game menu with 5 options. Each menu option function calls another function that would contain the hacking input values but they are currently empty. The script contains a main loop that calls the home menu and handles hiding/showing the menu using gg (a game guardian) functions.

Uploaded by

Seif
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
100% found this document useful (1 vote)
708 views4 pages

Script Making Tool - Copy - Lua

This document outlines a Lua script for a PUBG mobile game hacking menu. It defines functions for a home menu with 4 options, a wall & colour menu with 5 options, a lobby menu with 5 options, and a game menu with 5 options. Each menu option function calls another function that would contain the hacking input values but they are currently empty. The script contains a main loop that calls the home menu and handles hiding/showing the menu using gg (a game guardian) functions.

Uploaded by

Seif
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1/ 4

--------STEP[1] Home👇--------

gg.setVisible(false)
gg.sleep(200)
gg.alert("⚠️ Type Start Information ⚠️")
gg.sleep(200)
gg.toast("⚠️ Type Loading Step ⚠️")
gg.sleep(400)
gg.setVisible(true)
PUBGMH = -1
function HOME() --Home Menu
MENU = gg.choice({
"📂 Menu",
"📂 Menu",
"📂 Menu",
"❎ E X I T ❎"
}, nil, "Type Information")
if MENU == nil then
else
if MENU == 1 then
MN1()
end
if MENU == 2 then
MN2()
end
if MENU == 3 then
MN3()
end
if MENU == 4 then
EXIT()
end
end
PUBGMH = -1
end

--------STEP[2] Wall & Colour👇--------

function MN1() --Wall & Colour Menu


WC = gg.multiChoice({
"Name",
"Name",
"Name",
"Name",
"Name",
"BACK"
}, nil, "Type Information")
if WC == nil then
else
if WC [1] == true then
WC1()
end
if WC [2] == true then
WC2()
end
if WC [3] == true then
WC3()
end
if WC [4] == true then
WC4()
end
if WC [5] == true then
WC5()
end
if WC [6] == true then
HOME()
end
end
PUBGMH = -1
end

function WC1()
--Input Values--
end

function WC2()
--Input Values--
end

function WC3()
--Input Values--
end

function WC4()
--Input Values--
end

function WC5()
--Input Values--
end

--------STEP[1] Lobby👇--------

function MN2() --📂 Menu Lobby


ML = gg.multiChoice({
"Name",
"Name",
"Name",
"Name",
"Name",
"BACK"
}, nil, "Type Information:-")
if ML == nil then
else
if ML [1] == true then
ML1()
end
if ML [2] == true then
ML2()
end
if ML [3] == true then
ML3()
end
if ML [4] == true then
ML4()
end
if ML [5] == true then
ML5()
end
if ML [6] == true then
HOME()
end
end
PUBGMH = -1
end

function ML1()
--Input Values--
end

function ML2()
--Input Values--
end

function ML3()
--Input Values--
end

function ML4()
--Input Values--
end

function ML5()
--Input Values--
end

--------STEP[4] Game👇--------

function MN3() --📂 Menu Game


MG = gg.multiChoice({
"Name",
"Name",
"Name",
"Name",
"Name",
"BACK"
}, nil, "⚠️ Type Information:-")
if MG == nil then
else
if MG [1] == true then
MG1()
end
if MG [2] == true then
MG2()
end
if MG [3] == true then
MG3()
end
if MG [4] == true then
MG4()
end
if MG [5] == true then
MG5()
end
if MG [6] == true then
HOME()
end
end
PUBGMH = -1
end

function MG1()
--Input Values--
end

function MG2()
--Input Values--
end

function MG3()
--Input Values--
end

function MG4()
--Input Values--
end

function MG5()
--Input Values--
end

function EXIT()
print("⚠️ Type Script End Information ⚠️")
gg.skipRestoreState()
gg.setVisible(true)
os.exit()
end
while true do
if gg.isVisible(true) then
PUBGMH = 1
gg.setVisible(false)
end
if PUBGMH == 1 then
HOME()
end
end

You might also like