SHARE
TWEET

d

a guest Feb 14th, 2020 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.redirect(mon)
  2. local status = {"<Enter Card>","<Rejected>","<Granted>"}
  3. local current = 1
  4. local combo = "password"
  5. local lastTimer
  6. while true do
  7. local event,arg1,arg2,arg3 = os.pullEvent()
  8. if event == "timer" and arg1 == lastTimer then
  9.   current = 1
  10.   lastTimer = nil
  11.   rs.setOutput("bottom",false)
  12. elseif event == "mag_swipe" then
  13.   if arg1 == combo then
  14.    lastTimer = os.startTimer(3)
  15.    current = 3
  16.    rs.setOutput("bottom",true)
  17.   else
  18.    lastTimer = os.startTimer(3)
  19.    current = 2
  20.   end
  21. end
  22. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top