Guest User

Untitled

a guest
Sep 19th, 2025
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --red1
  2. --oranje2
  3. --ylow3
  4. --green4
  5. --blou5
  6.  
  7. colors1={4,4,4,4,1,1,1,4,4}
  8. colors2={4,4,4,1,2,2,2,1,4}
  9.  
  10. function buildLine (colors)
  11.     for i = 1,#colors do
  12.         slot = colors[i]
  13.         turtle.select(slot)
  14.         turtle.placeDown()
  15.         turtle.forward()
  16.     end
  17.     turtle.turnRight()
  18.     turtle.forward()
  19.     turtle.turnLeft()
  20.     for e = 1,#colors do
  21.         turtle.back()
  22.     end
  23. end
  24. buildLine (colors1)
  25. buildLine (colors2)
  26.  
  27.  
  28.  
  29.  
Advertisement
Add Comment
Please, Sign In to add comment