My code right now is set up so it puts the drops into a chest, and that's the part that isn't working...
local count = turtle.getItemCount(1) while true do if count >= 2 then turtle.turnRight() turtle.drop(2) turtle.turnLeft() else turtle.attack() sleep(0.5) end end
It's attempting to call nil in line 1... It was working earlier then I changed some stuff and don't remember what I had previously.












