Advertisement
maxence01

LUA motdepasse

Dec 25th, 2020 (edited)
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("mot de passe")
  4. txt = read("*")
  5.  
  6. if txt == "0000" then
  7. print("mot de passe accepter")
  8. sleep(1)
  9. term.clear()
  10. term.setCursorPos(1,1)
  11.  
  12. else
  13. print "mot de passe incorect"
  14. sleep(2)
  15. shell.run("startup")
  16. end
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement