Advertisement
Bisenius18

ComputerCraft Launch

Feb 25th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. local x = 1
  2. local y = 1
  3.  
  4. local monitor = peripheral.wrap("top")
  5.  
  6. monitor.setTextScale(5)
  7. r = 30
  8. rs.setOutput("bottom", false)
  9.  
  10. for i = -30,30 do
  11.  
  12. if i == -20 then
  13. rs.setOutput("bottom", true)
  14. end
  15.  
  16. monitor.clear()
  17. monitor.setCursorPos(x,y)
  18.  
  19. if i<0 then
  20. monitor.write("T -00:00:"..r)
  21. end
  22.  
  23. if i>=0 then
  24. monitor.write("T 00:00:"..i)
  25. end
  26.  
  27. sleep(1)
  28. r=r-1
  29. end
  30.  
  31. rs.setOutput("bottom",false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement