Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("NewkOS has been locked \nPlease enterpassword:")
- input = read("*")
- if input == "password" then
- term.clear()
- term.setCursorPos(1, 1)
- print("Password correct\nWelcome to NewkOS")
- fs.delete("NewkOS")
- sleep(1)
- shell.run("pastebin", "get", "TWvZAJWq", "NewkOS")
- sleep(1)
- os.loadAPI("NewkOS", "test", "ing")
- shell.run("NewkOS", "test", "ing")
- shell.exit()
- else
- print("ACCESS DENIED")
- sleep(3)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment