function attack()
turtle.attack()
end
function emptyInventory()
if turtle.getItemCount(16) > 0 then
for i = 1, 16 do
turtle.select(i)
turtle.dropDown()
end
turtle.select(1)
end
end
print("Name: "..os.getComputerLabel())
print("ID: "..os.getComputerID())
print("Fuel: "..turtle.getFuelLevel())
print "LOADING ATTACK PROFILE..."
while true do
attack()
emptyInventory()
sleep(.1)
end
Comments
0 B
|👍
/👎