View difference between Paste ID: gCSDxAQa and HRREviFh
SHOW: | | - or go back to the newest paste.
1
function shear()
2
  turtle.select(1)
3
  turtle.attack()
4
  turtle.turnRight()
5
  turtle.attack()
6
  turtle.turnRight()
7
  turtle.attack()
8
  turtle.turnRight()
9
  turtle.attack()
10
  turtle.turnRight()
11
end
12
13
function clearInv()
14
  for i = 1,16,1 do
15
    turtle.select(i)
16-
    turtle.dropUp()
16+
    turtle.dropDown()
17
  end
18
end
19
20
while true do
21
  shear()
22
  clearInv()
23
  sleep(30)
24
end