Advertisement
TJtheDJ701

Untitled

Sep 24th, 2021
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. local locked = true;
  2.  
  3. while locked == true do
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. term.setCursorBlink(true)
  7. textutils.slowWrite("Welcome Lucas... \nPassword: ")
  8. local ePass = read("*")
  9. term.clear()
  10. term.setCursorPos(1,1)
  11.  
  12. if ePass == "pass" then
  13.  
  14. locked = false;
  15.  
  16. textutils.slowPrint("Correct!")
  17.  
  18.  
  19. turtle.refuel()
  20. textutils.slowPrint("Refueling my ass")
  21. while turtle.detectDown() do
  22. print("Going forward!")
  23. turtle.up()
  24. print("Going up your ass!")
  25. turtle.dig()
  26. turtle.forward()
  27. end
  28. else
  29. -- Most likely Willy
  30. textutils.slowPrint("Go away willlly")
  31. sleep(1)
  32. os.shutdown()
  33. sleep(2)
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement