Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function diguploop()
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- end
- function dostuff()
- diguploop()
- turtle.turnLeft()
- diguploop()
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- diguploop()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- end
- function placeit()
- turtle.placeDown(1)
- end
- while true do
- dostuff()
- if turtle.detectDown() == false then
- placeit()
- elseif turtle.detectDown() == true then
- print ("[*] Bottom block detected")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement