remie92

Untitled

Jul 25th, 2025
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. shell.run("rm explore.lua")
  2. shell.run("rm salt.lua")
  3. commands={
  4. "pastebin get JXU6u6Uy explore.lua",
  5. "pastebin get KYFa0EFD salt.lua"
  6.  
  7. }
  8.  
  9. currCommand=""
  10. currIndex=1
  11. function downloadFile()
  12. print("Downloading "..currIndex.."/"..#commands)
  13. shell.run(currCommand)
  14. end
  15.  
  16. for i,v in ipairs(commands) do
  17. currIndex=i
  18. currCommand=v
  19. local success = false
  20. while not success do
  21. success, err = pcall(downloadFile)
  22. if not success then
  23. sleep(1)
  24. end
  25. end
  26. sleep(1)
  27. end
  28. print("Everything is downloaded! Starting now!")
  29. shell.run("explore.lua")
Advertisement
Add Comment
Please, Sign In to add comment