Epuuc

Minecraft CC Block Place Every X

Nov 21st, 2020 (edited)
1,028
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --9
  2.  
  3. print("How many blocks do you want placed?")
  4. local totaltoplace = tonumber(read())
  5. print("Every...(blocks)")
  6. local offset = tonumber(read())
  7.  
  8. for i=1,totaltoplace do
  9.     for i2=1,offset do
  10.         turtle.forward()
  11.     end
  12.     turtle.placeDown()
  13. end
  14. print("Finished, going back")
  15. turtle.turnLeft()
  16. turtle.turnLeft()
  17. for i=1,offset*totaltoplace do
  18.     turtle.forward()
  19. end
RAW Paste Data