Advertisement
Guest User

startup

a guest
Sep 1st, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.85 KB | None | 0 0
  1. m = peripheral.wrap("top")
  2. while true do
  3. if rs.getInput("front") then
  4. m.setBackgroundColor(1)
  5. m.clear()
  6. sleep(0.5)
  7. m.setBackgroundColor(2)
  8. m.clear()
  9. sleep(0.5)
  10. m.setBackgroundColor(3)
  11. m.clear()
  12. sleep(0.5)
  13. m.setBackgroundColor(4)
  14. m.clear()
  15. sleep(0.5)
  16. m.setBackgroundColor(5)
  17. m.clear()
  18. sleep(0.5)
  19. m.setBackgroundColor(6)
  20. m.clear()
  21. sleep(0.5)
  22. m.setBackgroundColor(7)
  23. m.clear()
  24. sleep(0.5)
  25. m.setBackgroundColor(8)
  26. m.clear()
  27. sleep(0.5)
  28. m.setBackgroundColor(9)
  29. m.clear()
  30. sleep(0.5)
  31. m.setBackgroundColor(10)
  32. m.clear()
  33. sleep(0.5)
  34. m.setBackgroundColor(11)
  35. m.clear()
  36. sleep(0.5)
  37. m.setBackgroundColor(12)
  38. m.clear()
  39. sleep(0.5)
  40. m.setBackgroundColor(13)
  41. m.clear()
  42. sleep(0.5)
  43. m.setBackgroundColor(14)
  44. m.clear()
  45. sleep(0.5)
  46. m.setBackgroundColor(15)
  47. m.clear()
  48. sleep(0.5)
  49. m.setBackgroundColor(6)
  50. m.clear()
  51. sleep(0.5)
  52. else
  53. sleep(0.5)
  54. end
  55. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement