frankxuxy123

331

Mar 20th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.pullEvent = os.pullEventRaw
  2.  
  3. while true do
  4.     if disk.isPresent("right") then
  5.         if fs.exists("disk/.security/key") then
  6.             shell.run("disk/.security/key")
  7.             if key == "lemmein" then
  8.                 disk.eject("right")
  9.                 rs.setOutput("left", true)
  10.                 sleep(3)
  11.                 rs.setOutput("left", false)
  12.             else
  13.                 disk.eject("right")
  14.             end
  15.         else
  16.             disk.eject("right")
  17.         end
  18.     end
  19.     sleep(0.1)
  20. end
Add Comment
Please, Sign In to add comment