Jump to content
  • 0

how to stop function?


Dilan1990

Question

How to stop function() in script?

 

 

Quote
Quote

function start()
gg.setVisible(false)
end

menu = 1
function menu()
ah = gg.multiChoice({
"🇲🇨Fix FC GG in Low RAM\n 📌[ Use This When All Feature Then Used ]",
"🇲🇨Exit"
}, nil, ">>>🇲🇨Simple Brutal Safe Value🇲🇨<<<\n       >>>🇲🇨Snapdragon 439🇲🇨<<<")
if ah == nil then gg.toast("🇲🇨Private Script IZHChYT🇲🇨 :") else
if ah[1] == true then ffc() end
if ah[2] == true then os.exit() end
end
PUBG = -1
end

function ffc() --this function must stop in ( if ah == nil then --stop ffc() else )
gg.setRanges(0)
gg.setVisible(false)
while true do
gg.toast(" 🇲🇨IZHchYT🇲🇨 ")
gg.sleep(5000)
if gg.isVisible(true) then
menu()
end
end
end

start()
while true do
if gg.isVisible(true) then
gg.setRanges(0)
PUBG = 1
gg.setRanges(0)
gg.setVisible(false)
end
if PUBG == 1 then
menu()
end
end

 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.