Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gg.setVisible(false)
- Latest=95.0
- kilatest=tonumber(Latest)
- if string.len(gg.VERSION) > 5 then
- saisai=gg.VERSION:sub(1,-3)
- saisai=tonumber(saisai)
- else
- saisai=tonumber(gg.VERSION)
- end
- if kilatest>saisai then
- bory=gg.alert('New updated & optimized version of game guardian found \n\nYou are using an old version of game guardian V ['..saisai..'] an update to V ['..kilatest..'] is highly recommended\n\nUpdate size 17MB \n\nWhats new in V ('..kilatest..') \n\n\n Updated hide detection by games\n\nImproved work in virtual spaces \n\nAdded suggestions for entering the path.\n\nFixed and improved work from virtual spaces.\n\nAvoid detection.\n\nImproved hiding from games.\n\n Improved interface.\n\nFixed bugs.\n\nUpdated translations.\n\nAdded support for unicode sequences in lua.\n\nAdded utf8 library to Lua.\n\nFixed bugs.\n\nUpdated translations. ','Update',nil,'Exit')
- if bory==1 then
- input=gg.prompt({'Type the game guardian name','Select your download path'},
- {[1]='GameGuardian V ['..kilatest..']',[2]='/storage/emulated/0/Download/'},
- {[1]='text',[2]='path'})
- if input ==nil then
- gg.alert('You have cancelled the dialogue')
- os.exit()
- end
- if input[1] == '' then
- gg.alert('Download failed please type the game guardian version ')
- os.exit()
- end
- if input[2] ==''then
- gg.alert('Download failed please select a path for download')
- os.exit()
- end
- gg.alert('Click ok to begin your download do not exit game guardian or interrupt this script during download you will get notified when your download is complete')
- gg.toast('please wait')
- nClock = os.clock()
- local fileData = gg.makeRequest('https://ronoplays.com/Apps/GameGuardian.95.0%20ronoplays.com.apk').content
- file = io.open(input[2].."/"..input[1]..".apk", 'w')
- file:write(fileData)
- file:close()
- elapsed=math.floor((os.clock()-nClock)/60)
- gg.alert("Download complete download time: " .. elapsed..' Minutes \n\n\nGame Guardian has been downloaded to the following directory \n'..input[2].."/"..input[1]..".apk")
- os.exit()
- end
- else
- gg.alert('Congratulations You are on the latest version of Game Guardian no update is needed\n\nDownload scripts to your favorite game from ronoplays.com')
- end
Add Comment
Please, Sign In to add comment