Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x=0
- local y=0
- print ("write the x value:")
- x=read()
- print ("write the y value:")
- y=read()
- local a = 1
- while a < y do
- for i = 0, x-1 do
- turtle.place()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- turtle.place
- turtle.turnLeft()
- turtle.turnLeft()
- for i = 0, x-1 do
- turtle.forward()
- end
- turtle.turnRight()
- turtle.up()
- a=a+1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement