Advertisement
Guest User

smeltry

a guest
Aug 24th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. local time = 7.5
  2. local side = "bottom"
  3. local i = 1
  4.  
  5. while true do
  6.   term.clear()
  7.   term.setCursorPos(1,1)
  8.   write("How many? ")
  9.   local input = read()
  10.     for i= 1, input do
  11.     rs.setOutput("bottom",true)
  12.     print(i)
  13.     sleep(time)
  14.     rs.setOutput("bottom",false)
  15.     sleep(1)
  16.     end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement