Left4Cake2

Build

Sep 4th, 2014
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 0 0
  1. while true do
  2.  f = ture
  3.    turtle.select(1)
  4.    if turtle.compare() then
  5.        turtle.turnLeft()
  6.        f = false
  7.    end
  8.    turtle.select(2)
  9.    if turtle.compare() then
  10.         turtle.turnRight()
  11.         f = false
  12.    end
  13.    turtle.select(3)
  14.    if turtle.compare() then
  15.         turtle.up()
  16.         turtle.turnLeft()
  17.         f = false
  18.    end
  19.    if f == ture then
  20.         turtle.forward()
  21.    end
  22.    
  23.    i = 4
  24.    while i <= 16 do
  25.        turtle.select(i)
  26.        if turtle.placeDown() then break end  
  27.        i = i + 1
  28.    end
  29.    
  30.  
  31. os.sleep(0.1)
  32. end
Advertisement
Add Comment
Please, Sign In to add comment