Jump to content
  • 0

floating icon


blocx
 Share

Question

14 answers to this question

Recommended Posts

  • 0
13 hours ago, blocx said:

hi someone know how to do something like this i have an function i want to click on floating icon for enable or disable function thanks

Screenshot_20220114-112108_F1 VM.jpg

test8.lua 412 B · 3 downloads

add a while loop to the end

while true do
    if gg.isClickedUiButton() then
        home()
    end
    gg.sleep(100)
end

Edited by BadCase
Link to comment
Share on other sites

  • 0
3 hours ago, blocx said:

thx but give me error

Screenshot_20220115-075350_F1 VM.jpg

while true do
    if gg.isClickedUiButton() then
        home()
    end
    gg.sleep(100)
end

Here I posted as code this time, I think it did something weird when you copied it from the regular post

Link to comment
Share on other sites

  • 0

sorry my ask was bad asked this finaly work sx but in realy need more something floating in game without needing to reopen gg floting ( once i click it enable i reclik disable ) maybe not possible

Link to comment
Share on other sites

  • 0
On 1/15/2022 at 1:41 PM, MonkeySAN said:

im not sure if that Sx button can be shown outside GG interface.🤷

need to ask expert for that.

but you can just tap GG icon to execute hack without even opening GG interface.

just remove all the ui button command.

Examples of Lua scripts (#d2j0lrom)

 

 Can you reopload it 🙂 Thanks

Link to comment
Share on other sites

  • 0
1 hour ago, Hylianer95 said:

 Can you reopload it 🙂 Thanks

i dont have with me anymore.

but i make a new one :

local n = {"Enable","Disable"}
AC = n[1]

function doAction()
	local ret = gg.alert(AC..' Hack ?' , 'YES', 'Cancel', 'Exit')
	if ret == 3 then os.exit() end -- exit from the script
	if ret == 1 then
	if AC == n[1] then
	--your hack here--turn ON
	gg.alert("Hack ON")
	AC = n[2]
	else
	-- your hack here--turn OFF
	gg.alert("Hack OFF")
	AC = n[1]
	end
	end
end

gg.setVisible(false)
while true do
	if gg.isVisible() then
		gg.setVisible(false)
		doAction()
	end
	gg.sleep(100)
end

 

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.