Jump to content
  • 0

how to make script do something when i click on gameguardian icon?


CallMeBob

Question

2 answers to this question

Recommended Posts

local debug;
local function foo()
  debug = -1
  gg.alert("Dont click me please :(")
  -- insert your logic here
end

while true do
  if gg.isVisible(true) then
    gg.setVisible(false) debug = 1
  end
  if debug == 1 then foo() end
end

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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