Advertisement
Alyssa

worldcanvas_install.lua

Dec 25th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. if not fs.exists("apis") then
  2.     fs.makeDir("apis")
  3. end
  4. if fs.exists("apis") and not fs.isDir("apis") then
  5.     print("Please delete or remove your apis file.")
  6. end
  7. if fs.exists("apis/font.lua") then
  8.     fs.delete("apis/font.lua")
  9. end
  10. if fs.exists("apis/draw.lua") then
  11.     fs.delete("apis/draw.lua")
  12. end
  13. if fs.exists("apis/look.lua") then
  14.     fs.delete("apis/look.lua")
  15. end
  16. if fs.exists("worldcanvas.lua") then
  17.     fs.delete("worldcanvas.lua")
  18. end
  19. shell.run("wget http://angel.alyss.am/font.lua apis/font.lua")
  20. shell.run("wget http://angel.alyss.am/draw.lua apis/draw.lua")
  21. shell.run("wget http://angel.alyss.am/look.lua apis/look.lua")
  22. shell.run("wget http://angel.alyss.am/worldcanvas.lua")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement