Rono_plays

Download latest GG

Sep 17th, 2019
2,604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. gg.setVisible(false)
  2. Latest=95.0
  3. kilatest=tonumber(Latest)
  4. if string.len(gg.VERSION) > 5 then
  5. saisai=gg.VERSION:sub(1,-3)
  6. saisai=tonumber(saisai)
  7. else
  8. saisai=tonumber(gg.VERSION)
  9. end
  10. if kilatest>saisai then
  11. 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')
  12. if bory==1 then
  13. input=gg.prompt({'Type the game guardian name','Select your download path'},
  14. {[1]='GameGuardian V ['..kilatest..']',[2]='/storage/emulated/0/Download/'},
  15. {[1]='text',[2]='path'})
  16.  
  17.  
  18. if input ==nil then
  19. gg.alert('You have cancelled the dialogue')
  20. os.exit()
  21. end
  22.  
  23.  
  24. if input[1] == '' then
  25. gg.alert('Download failed please type the game guardian version ')
  26. os.exit()
  27. end
  28.  
  29. if input[2] ==''then
  30. gg.alert('Download failed please select a path for download')
  31. os.exit()
  32. end
  33. 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')
  34. gg.toast('please wait')
  35.  
  36. nClock = os.clock()
  37. local fileData = gg.makeRequest('https://ronoplays.com/Apps/GameGuardian.95.0%20ronoplays.com.apk').content
  38. file = io.open(input[2].."/"..input[1]..".apk", 'w')
  39. file:write(fileData)
  40. file:close()
  41. elapsed=math.floor((os.clock()-nClock)/60)
  42. 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")
  43. os.exit()
  44. end
  45.  
  46.  
  47. else
  48. 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')
  49. end
Add Comment
Please, Sign In to add comment