Advertisement
DragonFromSpace

Untitled

Dec 29th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. number = 0
  2.  
  3. while number == 0 do
  4.  
  5.     if turtle.getFuel() < 2 then
  6.         turtle.select(1)
  7.         turtle.refuel()
  8.         turtle.select(2)
  9.     end
  10.  
  11.     turtle.forward()
  12.     turtle.attack()
  13.     turtle.attack()
  14.  
  15.     if turtle.detect() then
  16.         turtle.turnleft()
  17.     end
  18.  
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement