Jump to content

floating icon


blocx
 Share

Recommended Posts

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

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

if it just one hack and nothing else..how about this

gg.showUiButton()

while true do
    if gg.isClickedUiButton() then
    gg.setVisible(false)
    
    --your hack here--
     
    end
    gg.sleep(100)
end

 

Link to comment
Share on other sites

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

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.