Advertisement
willyb321

newQuarryMove()

Mar 12th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. local timesRun = 0
  2.  
  3. function quarryMove()
  4.         print("Moving!")
  5.         rs.setOutput("back", true)
  6.         sleep(1)
  7.         rs.setOutput("back", false)
  8.         print("Done Moving...")
  9.         timesRun = timesRun + 1
  10.         print("You have moved the quarry "..timesRun.." times this session!" )
  11.         sleep(20)
  12. end
  13.  
  14. while true do
  15.     quarryMove()
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement