Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local page = http.get("https://gist.githubusercontent.com/jsonisbored/cc2f94d8c85a2a8a989658cb3659cbf9/raw/a25bb36dbd7943118ac2f7b268bc963f23e50689/miner.lua")
- local src = page.readAll()
- page.close()
- -- Eval the page contents as Lua code
- local func, error = load(src)
- if func then
- func()
- else
- print("Error: ", error)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement