Guest User

FoxLock

a guest
Apr 5th, 2016
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. --FoxLock
  2. --By FoxData
  3. os.pullEvent = os.pullEventRaw
  4. while true do
  5.  
  6. term.clear()
  7. term.setCursorPos(10,5)
  8.  
  9.  
  10. local password = "locked"
  11.  
  12. print("This Machine has been locked")
  13.  
  14. term.setCursorPos(5,10)
  15. print("Please Enter your password:")
  16. term.setCursorPos(33,10)
  17. local input = read("ΒΆ")
  18.  
  19. if input == password then break
  20. else
  21. -- Do Nothing
  22. end
  23.   end
Advertisement
Add Comment
Please, Sign In to add comment