Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("-----------------------------------")
- print("TEC_NO's Password/Passcode Script")
- print("-----------------------------------")
- sleep(1.48)
- if disk.isPresent("back") == true then
- term.clear()
- print("Welcome To TEC_NO's Password/Passcode Script!")
- print("-----------------------------------")
- print("Press ENTER To Start!")
- local Done = read()
- else
- local function prompterror()
- term.clear()
- print("ERROR: Floppy Disk Not Found, Please Insert Floppy Disk Into Disk Drive On The Back!")
- print("-----------------------------------")
- print("Press ENTER Once Done!")
- local Done = read()
- if disk.isPresent("back") == true then
- term.clear()
- print("Welcome To TEC_NO's Password/Passcode Script!")
- print("-----------------------------------")
- print("Press ENTER To Start!")
- local Done = read()
- else
- prompterror()
- end
- end
- prompterror()
- end
- term.clear()
- while true do
- if disk.isPresent("back") == true then
- term.clear()
- term.setCursorPos(1,1)
- print("-----------------------------------")
- print("TEC_NO's Password/Passcode Script")
- print("-----------------------------------")
- print("Welcome User, ")
- write("Password: ")
- local input = read("*")
- if input == disk.getLabel("back") then
- term.clear()
- print("Password Correct!")
- rs.setOutput("bottom", true)
- sleep(8.48)
- rs.setOutput("bottom", false)
- elseif input == "1527" then
- term.clear()
- print("Password Correct!")
- rs.setOutput("bottom", true)
- sleep(8.48)
- rs.setOutput("bottom", false)
- else
- term.clear()
- print("Password Correct!")
- sleep(1.84)
- term.clear()
- print("Nah It Was Wrong, Lol!")
- sleep(4.48)
- end
- else
- term.clear()
- print("ERROR: Floppy Disk Not Found, Please Insert Floppy Disk Into Disk Drive On The Back!")
- end
- sleep(0.048)
- end
Advertisement
Add Comment
Please, Sign In to add comment