Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.white)
- term.clear()
- term.setCursorPos(1, 1)
- local demo = false
- print("Load demo? y/n")
- local _, character = os.pullEvent("char")
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.white)
- term.clear()
- term.setCursorPos(1, 1)
- if (character == "y") then
- print("Loading LAPI + demo. Please, wait.")
- shell.run("pastebin get akCaC3EU test")
- shell.run("pastebin get R5KwSVTj Layer1.lyr")
- shell.run("pastebin get JccdfkwA Layer2.lyr")
- shell.run("pastebin get 30d4cN6b Layer3.lyr")
- else
- print("Loading LAPI. Please, wait.")
- end
- print("")
- shell.run("mkdir LayerAPI")
- shell.run("pastebin get wL5Z1LTf LayerAPI/layerobj")
- shell.run("pastebin get PvPZ7WRF LayerAPI/layermanager")
- shell.run("pastebin get 4LnYHbaU LayerAPI/FIO")
- shell.run("pastebin get shi5pVpL LayerAPI/LAPIShell")
- print("LAPI loaded.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement