ProMind55

Downloader for CC KeepRis

Jan 26th, 2026
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | Gaming | 0 0
  1. local path = "/disk/startup.lua"
  2. local url = "https://pastebin.com/raw/7T0VjGUG"
  3.  
  4. if fs.isDir("/disk") then
  5.     local response = http.get(url)
  6.     if response then
  7.         local file = fs.open(path, "w")
  8.         file.write(response.readAll())
  9.         file.close()
  10.         response.close()
  11.     end
  12. end
  13.  
  14. local self = shell.getRunningProgram()
  15. if fs.exists(self) then
  16.     fs.delete(self)
  17. end
  18.  
Advertisement
Add Comment
Please, Sign In to add comment