Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local System = os -- Used for System things like os.time() to System.time()
- local Screen = term -- Used for Screen thing on the turtle or computer like term.clear() to Screen.clear()
- local Per = peripheral -- Used shortcut for peripheral
- local Text = textutils -- Used shortcut for textilils
- local Pack = Text.serialize -- Makes a new command for packing ( shortcut used from local Text)
- local UnPack = Text.unserialize -- Makes a new command for unpacking ( shortcut used from local Text)
- local OldpullEvent = System.pullEvent
- System.pullEvent = System.pullEventRaw
- Screen.clear()
- Screen.setCursorPos(1,1)
- print("Welcome to OS Uninstaller !")
- print("The uninstaller will now run...")
- print("---------------------------------")
- Screen.setCursorPos(1,5)
- Screen.write("##")
- if fs.exists("/StartUp.lua") then
- fs.delete("/StartUp.lua")
- end
- Screen.setCursorPos(1,5)
- Screen.clearLine()
- Screen.write("##")
- if fs.exists("/Back.lua") then
- fs.delete("/Back.lua")
- end
- Screen.setCursorPos(1,5)
- Screen.clearLine()
- Screen.write("#####")
- if fs.exists("/OS") then
- fs.delete("/OS")
- end
- Screen.setCursorPos(1,5)
- Screen.clearLine()
- Screen.write("#######")
- if fs.exists("/Progs") then
- fs.delete("/Progs")
- end
- if fs.exists("/API") then
- fs.delete("/API")
- end
- Screen.setCursorPos(1,5)
- Screen.clearLine()
- Screen.write("##########")
- Screen.setCursorPos(1,6)
- print("The uninstaller is done !")
Advertisement
Add Comment
Please, Sign In to add comment