Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for l=1,10 do
- if fs.exists("goto") == false
- then do
- print("downloading goto")
- shell.run("pastebin","get","9wbmJhWS","goto")
- end
- else do
- while true do
- lenth = 5
- width = 2
- pllenth = lenth
- plwidth = width
- sulenth = lenth
- suwidth = width
- shell.run("goto", "354", "89", "629")
- shell.run("goto", "357", "89", "629")
- shell.run("goto", "359", "89", "629")
- turtle.select(1)
- dist = lenth
- turtle.forward()
- while width ~= 0 do
- while dist ~= 0 do
- turtle.digDown()
- turtle.forward()
- dist = dist - 1
- end
- if right == 1 then
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- dist = lenth
- width = width - 1
- right = 0
- else
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- dist = lenth
- width = width - 1
- right = 1
- end
- shell.run("goto", "354", "89", "629")
- shell.run("goto", "357", "89", "629")
- shell.run("goto", "359", "89", "629")
- turtle.select(1)
- dist = sulenth
- turtle.forward()
- while suwidth ~= 0 do
- while dist ~= 0 do
- turtle.suckDown()
- turtle.forward()
- dist = dist - 1
- end
- if right == 1 then
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- dist = lenth
- suwidth = suwidth - 1
- right = 0
- else
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- dist = lenth
- suwidth = suwidth - 1
- right = 1
- end
- shell.run("goto", "354", "89", "629")
- shell.run("goto", "357", "89", "629")
- shell.run("goto", "359", "89", "629")
- turtle.select(1)
- dist = pllenth
- turtle.forward()
- while plwidth ~= 0 do
- while dist ~= 0 do
- turtle.placeDown()
- turtle.forward()
- dist = dist - 1
- end
- if right == 1 then
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- dist = lenth
- plwidth = plwidth - 1
- right = 0
- else
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- dist = lenth
- plwidth = plwidth - 1
- right = 1
- end
- shell.run("goto", "359", "88", "629")
- i = 1
- while i ~= 17 do
- turtle.select(i)
- turtle.dropDown()
- i = i + 1
- end
- sleep(60)
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement