Advertisement
jille_Jr

CC: Vyvek's counter

Oct 1st, 2012
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. local count = 0
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. print("Cobblestone ["..count.."/75]")
  5.  
  6. while true do
  7.   if rs.getInput("front") and count < 75 then
  8.     count = count + 1
  9.     term.clear()
  10.     term.setCursorPos(1,1)
  11.     print("Cobblestone ["..count.."/75]")
  12.     repeat sleep(.2) until rs.getInput("front") == false
  13.   end
  14.   sleep(.2)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement