Advertisement
Jeyjey0

MobfarmBuilder Installer by Me

Feb 24th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("Installing...")
  4. function ininstaller(code,name)
  5. local response = http.get(
  6. "http://pastebin.com/raw/"..code
  7. )
  8.  
  9. if response then
  10.  
  11. local sResponse = response.readAll()
  12. response.close()
  13. h = fs.open(name,"w")
  14. h.write(sResponse)
  15. h.close()
  16. return sResponse
  17. else
  18. print( "Failed." )
  19. end
  20. end
  21.  
  22. sleep(0.2)
  23. if not fs.exists("Build") then
  24. print("Installing Build...")
  25. ininstaller("mecWQeVm","Build")
  26. sleep(0.2556)
  27. print("Installed [Build]")
  28. end
  29. sleep(0.2)
  30. if not fs.exists("FallTunnel") then
  31. print("Installing Api...")
  32. ininstaller("AwH0S1yf","FallTunnel")
  33. sleep(0.2623)
  34. print("Installed [Api]")
  35. end
  36.  
  37. sleep(0.2)
  38. if not fs.exists("Build2") then
  39. print("Installing Build2...")
  40. ininstaller("a2RVtVkG","Build2")
  41. sleep(0.23523)
  42. print("Installed Build2")
  43. end
  44. sleep(0.2)
  45. term.clear()
  46. print("Installed Mobfarmbuilder by ImJey")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement