rungholt

tfill

Feb 24th, 2021 (edited)
828
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function detectBehind()
  2.         turtle.turnRight()
  3.         turtle.turnRight()
  4.     while turtle.detect() do
  5.         turtle.up()
  6.         turtle.placeDown()
  7.     end
  8.         turtle.turnRight()
  9.         turtle.turnRight()
  10. end  
  11.  
  12. local function goDown()
  13.     while turtle.detectDown() == false do
  14.         turtle.down()
  15.     end
  16. end
  17.  
  18. local times = 0
  19. print("x how long?: ")
  20. times = read()
  21.     for i = 1, times do
  22.         turtle.forward()
  23.         goDown()
  24.         detectBehind()
  25. end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×