NicoReimer

Entlehren

Jan 24th, 2021 (edited)
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.14 KB | None | 0 0
  1. print("Länge: ")
  2. s = io.read("*l")
  3.  
  4. for i = 1, s, 1 do
  5.     if turtle.detect() then
  6.     turtle.dig()
  7.     end
  8.     turtle.forward()
  9. end
Add Comment
Please, Sign In to add comment