Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x = 1
- function stack()
- for i = 1, 5 do
- turtle.up()
- turtle.placeDown()
- end
- end
- function topple()
- for i = 1, 5 do
- turtle.digDown()
- turtle.down()
- end
- end
- term.write("Cycles = ")
- x = tonumber(read())
- for i = 1, x do
- stack()
- topple()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement