Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("left")
- while true do
- if turtle.detect() then
- p.speak("cyka blyat !")
- if turtle.detectUp() == false then
- turtle.up()
- if turtle.detect() then
- turtle.down()
- turtle.turnRight()
- end
- end
- end
- if turtle.detectDown() == false then
- if turtle.detect() == false then
- turtle.down()
- end
- end
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement