AndreSoYeah

Untitled

Nov 18th, 2012
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.85 KB | None | 0 0
  1. installing = 0.2
  2. toprograms = "qxxdvX98"
  3. variables = "GGj4taRD"
  4. about = "JRNvCN2v"
  5. checkVersion = "uZ2J4w7z"
  6. edit = "P64PEtHd"
  7. perry = "reT5iT41"
  8. startup = "xwZ8CK0T"
  9. function installed()
  10.   return fs.exists('Black/variables')
  11. end
  12. function put(AeO,location)
  13.   shell.run("pastebin","get",Ae0,location)
  14.  
  15. end
  16. if installed() then
  17.   print("Black OS is already installed!")
  18.   print("if you want to update Black OS then")
  19.   print("when this screen dissapers type in update")
  20. else
  21.   shell.run("mkdir","Black")
  22.   put(toprograms,"Black/toprograms")
  23.   put(variables,"Black/variables")
  24.   put(startup,"startup")
  25.   put(perry,"perry")
  26.   put(edit,"edit")
  27.   put(about,"about")
  28.   put(checkVersion,"checkVersion")
  29.   if fs.exists("about") then
  30.     print("Installation succesful =D Congrats!")
  31.   else
  32.     print("Installation un-succesful :(/>/>")
  33.   end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment