QuickMuffin8782-Alt

CCBrowser Install

Oct 19th, 2020 (edited)
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("Enter a directory to install at:")
  2. write("/")
  3. local dir = read()
  4. print("Hold your horses, we're downloading CCBrowser and it's files...")
  5. local install = {
  6.     ["browser"] = "https://pastebin.com/raw/964NZUAU"
  7. }
  8. local finishMsg = {
  9.     "Having enough horse power yet?",
  10.     "Speeding up to the finish line...",
  11.     "What?! WHAT?!?!? EEEEEEEEEEEEEEEEEEE",
  12.     "WHAT?! What the--",
  13.     "Well, when life gives you lemons *funky music*",
  14.     "*long quiet* Boi, if you don't get--",
  15.     "Nothing like a sweet time of D33Z N*TZ",
  16.     "*loud sanic music*"
  17. }
  18. for a, b in pairs(install) do
  19.     print("Downloading and installing /" .. dir .. a .. " from " .. b .. "...")
  20.     local f = fs.open(dir .. a, "w")
  21.     f:write(http.get(b))
  22.     f:close()
  23.     print("Installed to /" .. dir .. a .. ". " .. finishMsg[math.random(1, #finishMsg)])
  24. end
  25. print("Finished installing! *you'll find memes on the shell*")
Add Comment
Please, Sign In to add comment