Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local forward = 0
- local up = 0
- function createStairs()
- if forward == 3 then
- turtle.turnLeft()
- forward = 0
- print(forward)
- end
- --maak omhoog kapot
- turtle.digUp()
- repeat
- turtle.digUp()
- until not turtle.detectUp() == true
- --maak omlaag kapot
- turtle.digDown()
- repeat
- turtle.digDown()
- until not turtle.detectDown() == true
- --maak vooruit kapot
- turtle.dig()
- repeat
- turtle.dig()
- until not turtle.detect() == true
- --ga vooruit
- turtle.forward()
- --ga omhoog
- turtle.up()
- --reken shizzle
- forward = forward + 1
- up = up + 1
- end
- turtle.up()
- repeat
- createStairs()
- until up == 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement