thatparadox

MeleeTurtle

Aug 11th, 2013
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1,1)
  3.  
  4. while true do
  5.   turtle.attack()
  6.   turtle.select(1)
  7.   turtle.suck()
  8. --  turtle.turnRight()
  9. --  xp.get()
  10. --  turtle.turnLeft()
  11.   for i = 1, 5 do
  12.     turtle.select(i)
  13.     if turtle.getItemCount(i) > 0 then
  14.       turtle.turnLeft()
  15.       turtle.drop()
  16.       turtle.turnRight()
  17.     end
  18.     slot = 1 + 1
  19.   end
  20.   turtle.select(1)
  21.   os.sleep(0.2)
  22. end
RAW Paste Data