Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local e=0 -- rotations --
- local x=0 --X-coordinates --
- local y=0 --Y-coordinates --
- local z=0 --Z-coordinates --
- local i=0 -- progress --
- local r=0 -- rotation set --
- local f=0 -- movement set --
- local u=0 -- vertical movement set --
- while true do
- while i~=50 do
- turtle.refuel()
- if turtle.detect() then
- turtle.dig()
- turtle.forward()
- x=x+1
- else
- while not turtle.detect() do
- turtle.turnRight()
- end
- if turtle.detectUp() then
- turtle.digUp()
- end
- i=i+1
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement