Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("left")
- mon.setCursorPos(1,1)
- mon.write("------------")
- mon.setCursorPos(1,2)
- mon.write("|")
- mon.setCursorPos(12,2)
- mon.write("|")
- mon.setCursorPos(1,3)
- mon.write("------------")
- a = 0
- mon.setCursorPos(2,2)
- mon.setTextColor(colors.red)
- while a < 10 do
- mon.write("0")
- a = a + 1
- i = math.random(0.1,3)
- sleep(i)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement