Advertisement
Guest User

test

a guest
Mar 2nd, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. local sx, sy = term.getSize()
  2. local username = zlwajeeh
  3. local password = i1laith3
  4.  
  5. term.clear()
  6. local k = 1
  7. local sx, sy = term.getSize()
  8.  
  9. for k = 1,1 do
  10. term.setCursorPos(sx/2-2.5,sy/2-1)
  11. print("loading")
  12. term.setCursorPos(sx/2-4.5,sy/2)
  13. textutils.slowPrint("=============", 15)
  14. term.clear()
  15. term.setCursorPos(sx/2-4.5,sy/2)
  16. end
  17. term.setCursorPos(sx/2-4.5,sy/2-3)
  18.  
  19. print("password:")
  20. term.setCursorPos(sx/2-4.5,sy/2)
  21.  
  22. print("username:")
  23.  
  24. while true do
  25.  
  26. local event, pram1, pram2, pram3 = os.pullEvent("mouse_click", 1)
  27. if pram2 >= 20 and pram2 <= 31 and pram3 >= 10 and pram3 <= 10 then
  28. break
  29. end
  30. end
  31.  
  32. shell.run(".menu")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement