guamie

doorturtleattacktest

Jul 20th, 2013
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. while true do
  2.  
  3. if rs.getInput("bottom") then
  4. rs.setOutput("right", false)
  5. turtle.attack()
  6. elseif not rs.getInput("bottom") then
  7. rs.setOutput("right", true)
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment