Advertisement
Guest User

startup

a guest
Mar 4th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1.   while true do
  2.   local event, side = os.pullEvent()
  3.   term.clear()
  4.   term.setCursorPos(1,1)
  5.   if event == "disk" then
  6.   print("UserName: LULU")
  7.   write("Password: ")
  8.   function pass()
  9.   t = io.read()
  10.   if t == "leckmich" then
  11.   print("yay")
  12.   sleep(2)
  13.   term.clear()
  14.   term.setCursorPos(1,1)
  15.  else
  16.  print("wrong you idiot")
  17.  os.reboot(2)
  18.  pass()
  19.     end
  20.   end
  21.   end
  22. end
  23. pass()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement