Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1, 1)
- term.setTextColor(colors.green)
- textutils.slowPrint("+----------------------------+")
- textutils.slowPrint("I I")
- textutils.slowPrint("I I")
- textutils.slowPrint("+----------------------------+")
- term.setCursorPos(3, 2)
- textutils.slowWrite("Username:")
- term.setCursorPos(3, 3)
- textutils.slowWrite("Password:")
- sleep(1)
- term.setCursorPos(13, 2)
- input = read()
- if input == "GrdBase"
- then
- term.setCursorPos(13, 3)
- input = read("*")
- if input == "DW9E-Y7EU-HWZb" then
- term.clear()
- term.setCursorPos(1, 1)
- print("ACCESS GRANTED")
- sleep(2)
- term.clear()
- term.setCursorPos(1, 1)
- end
- else
- term.clear()
- term.setCursorPos(1, 1)
- term.setTextColor(colors.red)
- print("ACCESS DENIED")
- term.setTextColor(colors.white)
- sleep(2)
- term.clear()
- term.setCursorPos(1, 1)
- end
- else
- term.clear()
- term.setCursorPos(1, 1)
- term.setTextColor(colors.red)
- print("INVALID USERNAME")
- term.setTextColor(colors.white)
- term.clear()
- term.setCursorPos(1, 1)
- end
- term.clear()
- term.setCursorPos(1, 1)
- term.setTextColor(colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement