Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- redstone.setOutput("left","lime",true)
- os.pullEvent =os.pullEventRaw
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.orange)
- print("Login:")
- print("")
- term.setTextColor(colors.lightBlue)
- print("Username:")
- term.setTextColor(colors.white)
- input1 = read()
- term.setTextColor(colors.lightBlue)
- print("Password:")
- term.setTextColor(colors.white)
- input2 = read("*")
- if input1 == "zsmate13" and input2 == "mate9082" then
- redstone.setOutput("left","lime",false)
- sleep(5)
- redstone.setOutput("left","lime",true)
- sleep(1)
- os.reboot()
- else
- term.setTextColor(colors.red)
- print("Incorrect username or password please try again later!")
- sleep(3)
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement