Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("please enter area you would like to mine.")
- print("x = ")
- x = io.read()
- print("y = ")
- y = io.read()
- print("z = ")
- z = io.read()
- MineArea = x * y * z
- function Mine()
- repeat while x > 0
- do
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.digUp()
- x = x-1
- --[[repeat while z > 0
- do
- turtle.turnRight()
- turtle.dig()
- turtle.digDown()
- turtle.digUp()
- turtle.turnRight
- z = z-1
- x=10]]
- end
- Mine()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement