Advertisement
Blackhome

LavaPlacer

Jan 7th, 2025 (edited)
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | Gaming | 0 0
  1. depth = 0
  2.  
  3. local function buildInLava()
  4.     if not turtle.detectDown() then
  5.         turtle.down()
  6.         buildInLava()
  7.         turtle.up()
  8.         turtle.placeDown()
  9.         depth = depth + 1
  10.     end
  11. end
  12.  
  13. local move = require("move")
  14. move.Forward()
  15. buildInLava()
  16. print("Placed "..tostring(depth).." Blocks in Lava")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement