Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function melonline()
- for i=0,10 do
- if turtle.detect() then
- turtle.dig()
- turtle.forward()
- turtle.suck()
- else
- turtle.forward()
- end
- end
- while true do
- melonline()
- turtle.turnRight()
- turtle.turnRight()
- melonline()
- for i=0,16 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.turnRight()
- turtle.turnRight()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement