Advertisement
AdventurousMR

.PortConnectionLost

Feb 15th, 2022 (edited)
1,047
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. term.clear()
  2.  
  3.  
  4. function drawError()
  5. term.setCursorPos(17,7)
  6. print("    __   ")
  7. term.setCursorPos(17,8)
  8. print("   |  |  ")
  9. term.setCursorPos(17,9)
  10. print("   |__|  ")
  11.  
  12. term.setCursorPos(17,10)
  13. print("       __")
  14. term.setCursorPos(17,11)
  15. print("       \\_\\")
  16. term.setCursorPos(17,12)
  17. print("       \\_\\")
  18. term.setCursorPos(17,13)
  19. print("          \\")
  20. term.setCursorPos(17,15)
  21. print("No Port Connection")
  22. end
  23.  
  24. local waitTime = 0.75
  25. local i = 1
  26.  
  27. repeat
  28.     drawError()
  29.     sleep(waitTime)
  30.     term.clear()
  31.     sleep(waitTime)
  32.     i = i + 1  
  33. until i == 5
  34.  
  35. shell.run(".menu")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement