Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input = read()
- for g = 1, input, 1 do
- shell.run("towercollect")
- sleep(1)
- shell.run("nextfloor")
- if g == 4 then
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(1)
- turtle.place()
- for z = 1,16 do
- turtle.select(z)
- turtle.drop()
- end
- turtle.turnRight()
- turtle.turnRight()
- end
- end
- for h = 1, 10, 1 do
- while not turtle.up() do turtle.attackUp() end
- end
- for i = 1, 20, 1 do
- turtle.back()
- end
- for j = 1, 20, 1 do
- while not turtle.down() do turtle.attackDown() end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement