Jump to content
  • 0

How to hide gg if I click outside the script?


RevealedSoulEven
 Share

Question

I made a multichoise script when I click outside it the script ends. I want to make such that when I click outside gg hides and after clicking gg it continues where it was stopped.

I know i can use gg.setVisible(false) but i did nil==gg.setVisible(false) then it ends.

Help!

Link to comment
Share on other sites

Recommended Posts

  • 0
4 hours ago, DESTR0LLERSE said:

Why did you remove it ?

I helped you because you gave a negative point to that man.(Cmp).

Do not you realize.

Whenever they ask for help (Cmp and enyby) it sends them to see fu-cki-ng links instead of helping.

XD



Its also correct

Link to comment
Share on other sites

  • 0

just loop it with the "while"
and in the menu function, add the "nil" a simple call to an action, for example a toast saying that minimized ...

EX:

while true do
if gg.isVisible(true) then
menuk = 1
gg.setVisible(false)
open = 1
end

function open()
menu = gg.choice({'✤【CHEAT 1】','✤【CHEAT 2】','➽ EXIT'})
if menu == 1 then cheat1() end
if menu == 2 then cheat2() end
if menu == 3 then exit() end
if menu == nil then  minz() end

menuk= -1

    function cheat1()

    blah blah blah
    end

    function cheat2()
    blah blah blah
   end

    function minz()
    gg.toast('MINIMIZED!!')
    end

    function exit()
    gg.toast('Bye')
    os.exit()
    end

    if menuk == 1 then open() end

    end
end

------------------------

*use as an example may contain errors

Link to comment
Share on other sites

  • 0

how do you say "with all respect" and then use pejorative terms?
your examples are good, really, but only because it is not good for you, do not discard them and throw away the ideas of others, because before saying what is right or wrong, it is in practice that we will decide whether it works and does not work, it's not the decision you make, it's practicality and it's no use filling the screen with your unnecessary comments.
if you reformed the script, great, if improved, OMG magnifico! ..
here, it's all idea of each one, but we will only accept yours that are the best, okay? the others are trash, oh! lord of all knowledge...

Link to comment
Share on other sites

  • 0
On 3/25/2019 at 1:27 PM, DESTR0LLERSE said:

Why did you remove it ?

I helped you because you gave a negative point to that man.(Cmp).

Do not you realize.

Whenever they ask for help (Cmp and enyby) it sends them to see fu-cki-ng links instead of helping.

XD

mad the rock GIF

you mean the link that CmP posted that brings you directly to a working example of exactly what the OP was asking for, how dare he make that poor guy click on a link before being able to see the exact answer he was looking for......

 

Could you sense the sarcasm there or does it lose something in translation....

Edited by BadCase
Link to comment
Share on other sites

  • 0
9 hours ago, DESYROLLERSE said:

@BadCase learn to read, the user requests an example (multiple option) that is not canceled. and the example shown on the page is this


function doAction()
	local ret = gg.alert('Here some action', 'OK', 'Cancel', 'Exit')
	if ret == 3 then os.exit() end -- exit from the script
end

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

I do not see how a newbie can try to process, how to do an execution (multichoice) with the characteristics that the user asks using the previous example.

Do not try to argue with me because you will not get well done.

Remember when I requested a compiler. what did you do ??? you opposed adding stupid comments.

and now that ??? all your scripts are vulnerable, and your website is vulnerable to sql injections. to add I have each of your payment scripts. I told you by (pm). but you did not listen.

continue with your script and do not look to attack me. because I have nothing to lose. but you (badcase) will lose money. You will lose hours of work. you will lose a lot!

and that I'm lazy to learn all this computer science.

I imagine if I decided to learn with all the enthusiasm. omg

great viruses would arrive.

First off the example is applicable to any thing, any type of menu multiselect dialog or alert..

Second why would i give someone who does not contribute in any way information about other peoples protection methods, so you could bypass those as well?

Third what SQL injection vulnerabilities?

Enough with the bullshit chest thumping from a no talent hack that thinks using unluac and GG's built in logging is some kind of talent

Link to comment
Share on other sites

  • 0
3 hours ago, DESTR0LLERSE said:

 

 

I do not need your help. why ?.

1. I do not write scripts (maybe I'm learning from examples to help users).

2. I do not publish scripts (simply, why: I do not do them).

3. your protection is garbage. (You have the task to download the script and load it with the compiler script. (Do not forget the option that it brings (GG) in the window to execute scripts))).

All your code can be registered. and the protection to enter a donor is garbage.

 https://en.m.wikipedia.org/wiki/SQL_injection

It is a new day in my country and I am going to live it with enthusiasm and good energy.

Today I will not waste my time using it with someone with the "IQ" so low. that driven by your emotions. try to debate with someone you can never win. and it risks that its scripts (of donation), are public. but remember that since I came to the forum I attacked people who steal the code. for that reason I will not publish anything.

there is a table of

1 al 10.

where 10 is the highest level and 1 is the lowest.

When you learn to debate with logic you will be in position 1.

Work hard to reach level 10. When you are ready maybe I will be 100 years old.

guys I bothered them a lot. Hahaha. to the owner (Ddyno) of this forum. When he ran out of arguments in a conversation he decided to put points.

but it is good to tell the truth without filters.

It's not about wanting you to hate me.

I just try to say things with the truth.

this is a forum. in real life it is different.

because if I go to class and try to debate with my teacher and question his wisdom omg. imagine what will happen? (It will make me lose the subject).

I know that my ip address is vulnerable and yours too.

Do not believe in the free vpn you find in the (play store). they do not work

But where I live, you would not dare enter.

but as logic says yes. I will be prepared for surprises.

to all those who attack me unjustly and ignored when I asked for help. I do not forget them. and in long game there is  retaliation.

Wow so you got nothing, a big fat goose egg, zero zilch nada, not a damn thing, thats what i figured

[added 1 minute later]

Oh btw you are sooooo right, my IQ barely hit the genius range the last time it was tested.....

Edited by BadCase
Link to comment
Share on other sites

  • 0

ROFLMFAO the jackass that was crying about people responding with links responds with a link, the difference here is you have no clue how to accomplish what you are talking about on my site you know only the basic theory of it and are incapable of providing a working example on my site, when Enyby and CmP respond with a link its actually relevant.

Link to comment
Share on other sites

  • 0
8 minutes ago, DESTR0LLERSE said:

Your answers are based on emotions of rage. You know you can lose a lot. But your emotions do not let you think.

If your IQ was really good, you would understand all the text. But your anger does not let you see.

Do you know what I do right now?
laugh and laugh and laugh.
Because I can handle your emotions.
because I ordered you psychologically to put your attention on me.

It sounds crazy but it's real.

Hahaha in your words is reflected anger. I like this. I have a lot of fun.

and because you are a person with very little intelligence I'll explain.

It is very different to ask for an example of a code and answer with text links in which the code is not represented.

to respond with a link to resolve a person's query about the definition of a word. whose answer can be understood with text.

There is nothing good in your arguments.

I kicked your a**.

What do you have more to say?

I have all day if you want .....

Hahaha

This is very funny.

boston celtics lol GIF by NBA

Typical millennial, too stupid to understand how stupid they are all the while having delusions of grandeur.... 

Maybe if you spend less time talking you would understand that, well that you dont understand CmP's response, you continue thinking it was not applicable to the question while the plain and simple fact is it was 100% applicable

Link to comment
Share on other sites

  • 0
7 minutes ago, DESTR0LLERSE said:

but for a novice it is not applicable.

I repeated this to you many times. but you are like a wall that is being taught to walk.

If you look at the time of my response it was after the user expressed something like "I did not find what I was looking for". but as you can not read.

this is a lost case.

and if you love a lot (CmP). go and give him a son.

I am a lover of girls. but I respect that you are (g-ay)

gay men GIF

@BadCase quiet that nobody judges you. Lol

ROFLMAO ya soo gay that im married with 3 kids and your punk ass is stuck fapping to internet porn, CmP contributes to this community you on the other hand run your mouth to people and act like using GG's logging and unluac makes you special, 

 

PS from all your attachments you do seem to be obsessed with homo's not sure if the vato's in the video are more gay than your friends in the gif its a toss up

Edited by BadCase
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.