Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("rm explore.lua")
- shell.run("rm salt.lua")
- commands={
- "pastebin get JXU6u6Uy explore.lua",
- "pastebin get KYFa0EFD salt.lua"
- }
- currCommand=""
- currIndex=1
- function downloadFile()
- print("Downloading "..currIndex.."/"..#commands)
- shell.run(currCommand)
- end
- for i,v in ipairs(commands) do
- currIndex=i
- currCommand=v
- local success = false
- while not success do
- success, err = pcall(downloadFile)
- if not success then
- sleep(1)
- end
- end
- sleep(1)
- end
- print("Everything is downloaded! Starting now!")
- shell.run("explore.lua")
Advertisement
Add Comment
Please, Sign In to add comment