Advertisement
BigBlow_

Untitled

Apr 2nd, 2023
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local monitor = peripheral.find("monitor")
  2.  
  3. if monitor == nil then
  4. print("Monitor not found")
  5. return
  6. end
  7.  
  8. local frames = {
  9. " __",
  10. "o-''))_____ *Bzzt* *Bzzt*",
  11. " '--. /",
  12. " \ \__",
  13. " \___) *Bzzt* *Bzzt*",
  14. "",
  15. "",
  16. " __",
  17. "o-''))_____ *Bzzt* *Bzzt*",
  18. " '--. /",
  19. " \ \__",
  20. " \___) *Bzzt* *Bzzt*",
  21. "",
  22. ""
  23. }
  24.  
  25. while true do
  26. for i = 1, #frames do
  27. monitor.clear()
  28. monitor.setCursorPos(1, 1)
  29. monitor.write(frames[i])
  30. monitor.setCursorPos(1, 2)
  31. monitor.write(frames[i+1])
  32. sleep(0.2)
  33. end
  34. end
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement