Advertisement
_Jayson

Untitled

Mar 24th, 2022
1,431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. local page = http.get("https://gist.githubusercontent.com/jsonisbored/cc2f94d8c85a2a8a989658cb3659cbf9/raw/a25bb36dbd7943118ac2f7b268bc963f23e50689/miner.lua")
  2. local src = page.readAll()
  3. page.close()
  4.  
  5. -- Eval the page contents as Lua code
  6. local func, error = load(src)
  7. if func then
  8.     func()
  9. else
  10.     print("Error: ", error)
  11. end
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement