Advertisement
druidbruce

OC robot lordcraft crystal

Jun 6th, 2020
1,424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local component = require("component")
  2. local sides = require("sides")
  3. local os = require("os")
  4. local robot = require("robot")
  5. local inv = component.inventory_controller
  6. local red = component.redstone
  7. local pulsetime = 0.1
  8.  
  9.  
  10. while true do
  11.     os.sleep(1)
  12.     for i = 1, 16 do
  13.         if robot.count(i) > 0 then
  14.             robot.select(i)
  15.             local limit = robot.count(i)
  16.             inv.equip()
  17.             for c = 1, limit do
  18.                 robot.use()
  19.             end
  20.            
  21.  
  22.         end
  23.  
  24.  
  25.     end
  26.  
  27.  
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement