Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local data = {
- {title = "Finder", path = "/finder.lua", paste = "wcRkKAQW"},
- {title = "Paint", path = "/paint.lua", paste = "jskVAULb"},
- {title = "Drawing lib", path = "/lib/drawing.lua", paste = "R23tewxS"}
- }
- data[2].code = [[
- local internet = require("internet")
- local io = require("io")
- local fs = require("filesystem")
- local function get(URL)
- local req = internet.request(URL)
- local text = ""
- for line in req do
- text = text .. line
- end
- return text
- end
- fs.makeDirectory("/paint_modules")
- local file = io.open("/paint_modules/load.lua", "w")
- file:write(get("https://pastebin.com/raw/b69ercN4"))
- file:close()
- local file = io.open("/paint_modules/save.lua", "w")
- file:write(get("https://pastebin.com/raw/GM84QsgN"))
- file:close()
- ]]
- return data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement