Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local sides = require("sides")
- local os = require("os")
- local robot = require("robot")
- local inv = component.inventory_controller
- local red = component.redstone
- local pulsetime = 0.1
- while true do
- os.sleep(1)
- for i = 1, 16 do
- if robot.count(i) > 0 then
- robot.select(i)
- local limit = robot.count(i)
- inv.equip()
- for c = 1, limit do
- robot.use()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement