Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function placeBlock()
- turtle.up()
- turtle.placeDown()
- end
- local function goDown()
- if turtle.detectDown() then
- turtle.forward()
- else
- turtle.down()
- end
- end
- local times = 0
- print("z how deep?: ")
- times = read()
- for i = 1, times do
- goDown(i)
- placeBlock(i)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement