BaldiGT Posted August 27, 2019 Share Posted August 27, 2019 Pls fix this scriptAuto on.off.lua I want to make (On/Off) auto without Showing the gameguardian.. Just Only if i click gameguardian logo and then gg.toast('On') then gg.setVisible(false) If i click again the gameguardian logo then gg.toast('Off') then gg.setVisible(false) and repeat #ripenglishsorry Link to comment Share on other sites More sharing options...
ItsSC Posted August 27, 2019 Share Posted August 27, 2019 while true do if gg.isVisible(true) then ra = nil gg.setVisible(false) end if ra == nil then gh() end end Link to comment Share on other sites More sharing options...
Rs92ks Posted August 27, 2019 Share Posted August 27, 2019 if ch==nil then ch=-1 end function gh() if gg.isVisible(true) then gg.setVisible(false) end if ch==-1 then g = gg.choice({'Auto On/Off','Exit'}) if g == 1 then gg.alert('Press Square Box To Exit the script') h()ch=1;ra=-1;end if g == 2 then os.exit()end else h() ra = -1;end;end function h() y = "main" if y == "main" then y ="hh" end gg.toast('On') while(true) do if gg.isVisible(false) then break else gg.sleep(100) end end gg.toast('Off') if gg.isVisible(true) then gg.setVisible(false) end end while(true) do if gg.isVisible() then ra = 1 end if ra == 1 then gh() end end Done Link to comment Share on other sites More sharing options...
BaldiGT Posted August 27, 2019 Author Share Posted August 27, 2019 4 hours ago, Rs92ks said: if ch==nil then ch=-1 end function gh() if gg.isVisible(true) then gg.setVisible(false) end if ch==-1 then g = gg.choice({'Auto On/Off','Exit'}) if g == 1 then gg.alert('Press Square Box To Exit the script') h()ch=1;ra=-1;end if g == 2 then os.exit()end else h() ra = -1;end;end function h() y = "main" if y == "main" then y ="hh" end gg.toast('On') while(true) do if gg.isVisible(false) then break else gg.sleep(100) end end gg.toast('Off') if gg.isVisible(true) then gg.setVisible(false) end end while(true) do if gg.isVisible() then ra = 1 end if ra == 1 then gh() end end Done Ty so much Link to comment Share on other sites More sharing options...
Question
BaldiGT
Pls fix this scriptAuto on.off.lua
I want to make (On/Off) auto without Showing the gameguardian..
Just Only if i click gameguardian logo and then gg.toast('On') then gg.setVisible(false)
If i click again the gameguardian logo then gg.toast('Off') then gg.setVisible(false) and repeat
#ripenglishsorry
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.