Advertisement
RyuuzakiJulio

Crank

Jun 10th, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos()
  3. print("I will crank as long as I have redstone power")
  4. print("on my TOP BACK or BOTTOM")
  5. print("-Place a leaver or torch to tell me to crank")
  6.  
  7. while true do
  8.  if rs.getInput("bottom") or rs.getInput("top") or rs.getInput("back") then
  9.   turtle.attack()
  10.   sleep(0.2)
  11.  end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement