Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Start l33t code
- -- MINE TURTLE
- function turtle.explode(slot)
- turtle.select(slot)
- turtle.placeUp()
- rs.setOutput("top",true)
- sleep(0.1)
- rs.setOutput("top",false)
- end
- while true do
- if not turtle.forward() and not turtle.detect() then
- turtle.explode(1)
- turtle.turnLeft()
- turtle.turnLeft()
- elseif turtle.detect() then
- turtle.turnLeft()
- turtle.turnLeft()
- end
- end
- -- Hello!
- -- End l33t Code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement