Jump to content
  • 0

Advance Script Method


AxelGameGuardian
 Share

Question

Example I Got this ui 

⇨1

   2

   3

⇽     ⇾               Done

I got 3 choice if i want to go in 2 i will just click ⇾ This arrow then the ⇨ this arrow will go in 2 if i click done the 2nd function will appear and if i want to back in 1 i will just click ⇽ This arrow and the arrow ⇨ will go in 1

Edited by AxelGameGuardian
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
1 hour ago, AxelGameGuardian said:

Example I Got this ui 

⇨1

   2

   3

⇽     ⇾               Done

I got 3 choice if i want to go in 2 i will just click ⇾ This arrow then the ⇨ this arrow will go in 2 if i click done the 2nd function will appear and if i want to back in 1 i will just click ⇽ This arrow and the arrow ⇨ will go in 1

you can use gg.alert()
but like that you makeing everything harder to use 
i don't know why you wanna do that or even why you think to do it

Link to comment
Share on other sites

  • -1
local function menu()
	local a = gg.choice({'A', 'B', 'C'})
	if not a then
		return 
	else
		a = {[a] = a}
		gg.setVisible(false)
		if a[1] then
			
		elseif a[2] then 
			
			gg.toast('Hack done')
			return menu()
		elseif a[3] then
			
		end
	end
	while not gg.isVisible() do
		
	end
	return menu()
end
return menu()

I think ...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.