Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function destory()
- local success, data = turtle.inspectDown()
- if success then
- if (data["state"]["age"] == 7) then
- turtle.digDown()
- turtle.back()
- turtle.select(2)
- turtle.dropDown()
- turtle.forward()
- turtle.select(1)
- turtle.placeDown()
- end
- end
- end
- while true do
- destory()
- sleep(5) -- Sleep for 5 seconds
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement