Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - print("By Jakemg")
 - print(" ")
 - print(" ")
 - print("Please make sure your enderchest it in my 1st slot :D")
 - sleep(3)
 - term.clear()
 - tArgs = { ... }
 - local x = tonumber(tArgs[1] or "")
 - while not x do
 - print("Need a distance to travel in number form")
 - x = tonumber(read())
 - end
 - local y = tonumber(tArgs[1] or "")
 - while not y do
 - print ("I need your y coord")
 - y = tonumber(read())
 - end
 - y = y - 5
 - function drop()
 - if turtle.getItemCount(16) > 0 then
 - turtle.select(1)
 - turtle.digDown()
 - turtle.placeDown()
 - for i=1,16 do
 - turtle.select(i)
 - turtle.dropDown()
 - end
 - turtle.select(1)
 - turtle.digDown()
 - end
 - end
 - function go()
 - while not turtle.forward() do
 - turtle.attack()
 - turtle.dig()
 - end
 - sleep(0.8)
 - end
 - function dig()
 - turtle.digUp()
 - sleep(0)
 - turtle.dig()
 - turtle.digDown()
 - drop()
 - end
 - function move()
 - sleep(0)
 - dig()
 - go()
 - end
 - function row()
 - for i=1,x do
 - sleep(0)
 - move()
 - end
 - end
 - function row1()
 - turtle.turnRight()
 - move()
 - turtle.turnRight()
 - end
 - function row2()
 - turtle.turnLeft()
 - move()
 - turtle.turnLeft()
 - end
 - function all()
 - for i=1,x do
 - row()
 - row1()
 - row()
 - row2()
 - end
 - end
 - function home()
 - turtle.turnLeft()
 - for i=1,x do
 - sleep(0)
 - go()
 - go()
 - end
 - turtle.turnRight()
 - for i=1,3 do
 - turtle.down()
 - turtle.digDown()
 - sleep(0)
 - end
 - end
 - for i=1,y do
 - all()
 - home()
 - end
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment