Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("+----------------------------------+")
- print("| |")
- print("| ATM Machines |")
- print("| |")
- print("| +--------------------+ |")
- print("| | Please put your | |")
- print("| | Data Card and | |")
- print("| | press Enter | |")
- print("| +--------------------+ |")
- print("| |")
- print("+----------------------------------+")
- while true do
- local e,p = os.pullEvent()
- if e == "key" then
- local key = p
- if key == 28 then
- rs.setBundledOutput("back",colors.white)
- break
- end
- end
- end
- print("\n\nReading...")
- while true do
- checkrs = rs.getBundledInput("left")
- ch=rs.getBundledInput("right")
- if checkrs == 2048 then
- print("Access Granted")
- break
- elseif ch == 4096 then
- print("Access Denied / Error")
- break
- end
- sleep(1)
- end
Add Comment
Please, Sign In to add comment