Advertisement
rungholt

filler

Feb 16th, 2021 (edited)
889
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. local function placeBlock()
  2.         turtle.up()
  3.         turtle.placeDown()
  4. end
  5.  
  6. local function goDown()
  7.     if turtle.detectDown() then
  8.         turtle.forward()
  9.     else
  10.         turtle.down()
  11.     end
  12. end
  13.  
  14. local times = 0
  15. print("z how deep?: ")
  16. times = read()
  17.     for i = 1, times do
  18.         goDown(i)
  19.         placeBlock(i)
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement