Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number = 0
- while number == 0 do
- if turtle.getFuel() < 2 then
- turtle.select(1)
- turtle.refuel()
- turtle.select(2)
- end
- turtle.forward()
- turtle.attack()
- turtle.attack()
- if turtle.detect() then
- turtle.turnleft()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement