Advertisement
Guest User

test

a guest
Apr 21st, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. mon = peripheral.wrap("left")
  2.  
  3. mon.setCursorPos(1,1)
  4. mon.write("------------")
  5. mon.setCursorPos(1,2)
  6. mon.write("|")
  7. mon.setCursorPos(12,2)
  8. mon.write("|")
  9. mon.setCursorPos(1,3)
  10. mon.write("------------")
  11.  
  12. a = 0
  13. mon.setCursorPos(2,2)
  14. mon.setTextColor(colors.red)
  15. while a < 10 do
  16.   mon.write("0")
  17.   a = a + 1
  18.   i = math.random(0.1,3)
  19.   sleep(i)
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement