local lStore = {} local hpost = http.post local ping = http.get("https://os.leveloper.cc/ping.php") if not ping then local ping2 = http.get("http://os.leveloper.cc/ping.php") if not ping2 then printError("Could not connect to Leveloper servers. Please contact Leveloper for assistance.") return end function http.post(...) local args = table.pack(...) local r = table.pack(hpost(...)) if not r[1] and string.find(args[1],"https://",nil,true) == 1 then args[1] = "http"..string.sub(args[1],6,#args[1]) return hpost(table.unpack(args)) else return table.unpack(r) end end local hget = http.get function http.get(...) local args = table.pack(...) local r = table.pack(hget(...)) if not r[1] and string.find(args[1],"https://",nil,true) == 1 then args[1] = "http"..string.sub(args[1],6,#args[1]) return hget(table.unpack(args)) else return table.unpack(r) end end function lStore.run(code,path) local f = hpost("http://os.leveloper.cc/sGet.php","path="..textutils.urlEncode(path).."&code="..textutils.urlEncode(code),{Cookie=userID}).readAll() local func,err = loadstring(f,nil,_ENV) if not func then return false,err else return func() end end else function lStore.run(code,path) local f = hpost("https://os.leveloper.cc/sGet.php","path="..textutils.urlEncode(path).."&code="..textutils.urlEncode(code),{Cookie=userID}).readAll() local func,err = loadstring(f,nil,_ENV) if not func then return false,err else return func() end end end lStore.run("lSlb8kZq","LevelOS/startup/lUtils.lua") local oTerm = term.current() local nTerm = window.create(term.current(),1,1,term.getSize()) nTerm.setVisible(false) term.redirect(nTerm) local function render() while true do local w,h = nTerm.getSize() local oW,oH = oTerm.getSize() if oW ~= w or oH ~= h then nTerm.reposition(1,1,oW,oH) end w,h = nTerm.getSize() for t=0,15,1 do oTerm.setPaletteColor(2^t,table.unpack({nTerm.getPaletteColor(2^t)})) end local ocursor = {nTerm.getCursorPos()} local otext = nTerm.getCursorBlink() oTerm.setCursorBlink(false) for t=1,h do oTerm.setCursorPos(1,t) oTerm.blit(nTerm.getLine(t)) end oTerm.setTextColor(nTerm.getTextColor()) oTerm.setCursorBlink(otext) oTerm.setCursorPos(table.unpack(ocursor)) os.sleep(0) --shapescape was not made to run without constant refreshing end end shell.run("pastebin get 3LfWxRWh bigfont") _G.bigfont = loadfile("bigfont",_ENV)() parallel.waitForAny(function() local ok,err = pcall(function() lStore.run("ddsx0eg5","Installer.sgui") end) if not ok then printError(err) print("Press a key to continue...") os.sleep(1) os.pullEvent("key") end end,render) -- goodbye pastebin! we had a good run