while true do while redstone.getInput("back") do turtle.attack() sleep(.1) end sleep(.5) end