Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- running = 1
- tcount = 0
- while running==1 do
- if turtle.detectUp() == true then
- if turtle.digUp() == true then
- end
- end
- if turtle.detectDown() == true then
- if turtle.digDown() == true then
- end
- end
- tcount = tcount + turtle.getItemCount(turtle.select(1))
- if tcount > 10000 then
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement