Advertisement
Jeyjey0

Stripmine program installer

Apr 16th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. print("Installing Stripmine...")
  2. function invisiblepastebin(code,name)
  3. local response = http.get(
  4. "http://pastebin.com/raw/"..code
  5. )
  6.  
  7. if response then
  8.  
  9. local sResponse = response.readAll()
  10. response.close()
  11. h = fs.open(name,"w")
  12. h.write(sResponse)
  13. h.close()
  14. return sResponse
  15. else
  16. print( "Failed." )
  17. end
  18. end
  19.  
  20. if not fs.exists("torch") then
  21. print("Get torch api...")
  22. invisiblepastebin("j89Q7vEq","torch")
  23. sleep(0.28)
  24. end
  25. if not fs.exists("mine") then
  26. print("Get MineFuntions api...")
  27. invisiblepastebin("WuKaySAr","mine")
  28. sleep(0.28)
  29. end
  30. if not fs.exists("bridge") then
  31. print("Get MineFuntions api...")
  32. invisiblepastebin("JtYMSHtB","bridge")
  33. sleep(0.28)
  34. end
  35. print("Get Stripmine api...")
  36. fs.delete("stripmine")
  37. invisiblepastebin("1vqF49fb","stripmine")
  38. sleep(0.28)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement