Jump to content
Pipes

How to perform action when gg clicked

Recommended Posts

What I want to say is that:

1. User clicks GG icon

2. Search '2' in DWORD

3. Clicks icon again

4. Refine number as '3'

5. Clicks icon again

6. Refine number as '1'

7. Clicks icon again

8. Refine number as '2'

 

So, what is the code for this?  I tried

gg.isClickedUiButton

but it isn't working

Share this post


Link to post
Share on other sites
local a = 0
gg setVisible(false)
while true do
	if gg.isVisible() then
		gg setVisible(false)
		if a < 1 then
			gg.refineNumber(1, 4)
		elseif a < 2 then
			gg.refineNumber(2, 4)
		elseif a < 3 then
			gg.refineNumber(3, 4)
		elseif a < 4 then
			gg.refineNumber(4, 4)
		end
		a = a + 1
	end
end

 

Share this post


Link to post
Share on other sites
14 hours ago, Pipes said:

What I want to say is that:

1. User clicks GG icon

2. Search '2' in DWORD

3. Clicks icon again

4. Refine number as '3'

5. Clicks icon again

6. Refine number as '1'

7. Clicks icon again

8. Refine number as '2'

 

So, what is the code for this?  I tried


gg.isClickedUiButton

but it isn't working

You search 2 and refine 3 ?

Share this post


Link to post
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

  • Similar Content

    • By Ahana7
      Can you help me out toh find the value off this game,how can I find the so so the colour of the puzzle become one colour,plzz help

    • By amandeep1122
      Can anyone help me in hacking Naruto x Boruto ninja voltage latest version 8.2.1.
      I will appreciate your efforts
    • By A1111
      Link
      I need help with this new game. It's the standard RPG experience but addicting. I signed up for pre-registration and downloaded it yesterday 26th/27th May.
      I tried putting it in a virtual machine but it doesn't open the game, it is just stuck at the loading screen. Yes, I checked where I have put the OBB files, but still, doesn't help.
      So.. Can anyone with a rooted device check whether this game works? and possibly do a hack?
      thanks for reading 🙂
       
    • By hsusudhbsjwhdhdgsj
      How retrive the value of an offset address and use the value as variable?
       
      how to retrive the value of an offset address? gg.searchNumber("19811;1065353216;10616;10606;10611::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 5) r = gg.getResults(gg.getResultsCount()) t = { { address = r[1].address - 0x8 } } p = { { val = t[1].value } } print(' value: ', p[1].value) this giving me nil i want to use val as variable  
    • By hsusudhbsjwhdhdgsj
      Hello im wondering if is there a better way to coding this
      i just want to edit every 4th index of the table 
       
       
×
×
  • Create New...