Advertisement
Guest User

Untitled

a guest
Feb 26th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. function login()
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. write("Username: ")
  5. local username=io.read()
  6. write("Password: ")
  7. local password=read("*")
  8.  
  9. for i=1,#rm[1] do
  10. if username==rm[1][i]then
  11. if username==rm[2][i]then
  12. sleep(5)
  13. shell.run("clear")
  14. print("Sucessfully Logged In, Taking you to Menu")
  15. sleep(5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement