local function annotateLoading(txt, array, delay) for _, v in ipairs(array) do kerneldraw.printColoredTextLine(18, txt.." "..v) sleep(delay or 1.5) end end local setupLines = {} setupLines.stageOne = {"", "", "", "", ""} kerneldraw.clearScreen(colors.blue) term.setCursorPos(1, 2) print("Windows Setup") print("==================") kerneldraw.printColoredTextLine(18, "Windows Setup is checking hardware requirements...") sleep(3) annotateLoading("Loading files", setupLines.stageOne, 1.25) kerneldraw.clearScreen(colors.blue) term.setCursorPos(1, 2) print("Windows Setup") print("==================") term.setCursorPos(2, 5) print("Setup is formatting drive C:...") term.setCursorPos(4, 7) print("File system: NTFS") term.setCursorPos(4, 8) print("Free space: "..fs.getFreeSpace("/").." bytes") kerneldraw.drawProgressAlt() sleep(2.5) kerneldraw.clearScreen(colors.blue) term.setCursorPos(1, 2) print("Windows Setup") print("==================") term.setCursorPos(2, 5) print("Setup is copying files...") kerneldraw.drawProgressAlt() sleep(5) kerneldraw.clearScreen(colors.black)