Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.clear()
- print("Radics Peti Mozi Security 1.5")
- print("UserName: not tankcsapda2")
- write("Password: ")
- function pass()
- t = io.read()
- if t == "haver" then
- term.setTextColor(colors.green)
- print ("Access Granted.")
- term.setTextColor(colors.black)
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- -- term.setBackgroundColor(colors.black)
- term.clear()
- else
- term.setTextColor(colors.red)
- print ("Incorrect Login Details.")
- term.setTextColor(colors.black)
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- print("Radics Peti Mozi Security 1.5")
- print("UserName: not tankcsapda2")
- write("Password: ")
- pass()
- end
- end
- pass()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement