Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- function pulse(num)
- for i = 1,num do
- shell.run("redpulse", "back", "1", "1.5")
- end
- end
- function run()
- if turtle.getItemCount(1) < 1 then
- sleep(2.5)
- else
- pulse(turtle.getItemCount(1)-0)
- turtle.dropDown()
- end
- end
- sleep(2.5)
- run()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement