Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if os.time()==0600 or os.time()==1800 then
- turtle.dig()
- end
- if os.time() >= 0600 and os.time() < 1800 then
- turtle.select(1)
- if turtle.getItemCount(1)>=1 then
- turtle.place()
- end
- else
- turtle.select(2)
- if turtle.getItemCount(2)>=1 then
- turtle.place()
- end
- end
- sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment