Advertisement
minimite

installkristapi

Apr 18th, 2015
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. if not http then
  2.   printError("HTTP API is disabled!")
  3.   error()
  4. end
  5. if fs.exists("kristapi") then
  6.   fs.delete("kristapi")
  7. end
  8. local open = fs.open("kristapi", "w")
  9. open.write(http.get("https://raw.githubusercontent.com/atenefyr/kristapi/master/kristapi.lua").readAll())
  10. open.close()
  11. print("KristAPI has been installed!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement