Advertisement
HangMan23

Untitled

Jan 14th, 2024 (edited)
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. local result, reason = ""
  2.  
  3. do
  4. local handle, chunk = component.proxy(component.list("internet")() or error("Required internet component is missing")).request("https://pastebin.com/raw/npZxtzn0")
  5.  
  6. while true do
  7. chunk = handle.read(math.huge)
  8.  
  9. if chunk then
  10. result = result .. chunk
  11. else
  12. break
  13. end
  14. end
  15.  
  16. handle.close()
  17. end
  18.  
  19. result, reason = load(result, "=installer")
  20.  
  21. if result then
  22. result, reason = xpcall(result, debug.traceback)
  23.  
  24. if not result then
  25. error(reason)
  26. end
  27. else
  28. error(reason)
  29. end
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement