GameCrasher Posted June 1, 2020 Share Posted June 1, 2020 I used to have the hide script script but I dont have it no more, I tried to recreate it but all I got was if gg.isVisible(true) then gg.setVisible(false) while(true) do gg.sleep(100) end end When I do this it hides the script but wont reopen, when I add else I need to add an eos but I just put goto menu, how do I fix this? Link to comment Share on other sites More sharing options...
HEROGAMEOfficial Posted June 1, 2020 Share Posted June 1, 2020 Examples of Lua scripts (#d2j0lrom) Link to comment Share on other sites More sharing options...
RezaHaxz Posted June 1, 2020 Share Posted June 1, 2020 menu = 1 --Code function MENU() --OR ::MENU:: while true do if gg.isVisible() then menu = 1 end if menu == 1 then MENU() --OR goto MENU end Link to comment Share on other sites More sharing options...
GameCrasher Posted June 1, 2020 Author Share Posted June 1, 2020 8 hours ago, RezaHaxz said: menu = 1 --Code function MENU() --OR ::MENU:: while true do if gg.isVisible() then menu = 1 end if menu == 1 then MENU() --OR goto MENU end Thx Link to comment Share on other sites More sharing options...
Question
GameCrasher
I used to have the hide script script but I dont have it no more, I tried to recreate it but all I got was
if gg.isVisible(true) then
gg.setVisible(false)
while(true) do
gg.sleep(100)
end
end
When I do this it hides the script but wont reopen, when I add else I need to add an eos but I just put goto menu, how do I fix this?
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.