Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sides = require "sides"
- local robot = require "robot"
- local component = require "component"
- local active_slot = 1
- size=robot.inventorySize()
- local function Text()
- os.execute("cls")
- print("РОБОТ РАБОТАЕТ!! Создатель - GooodGame")
- print("Доработал-atomzerg")
- end
- Text()
- while true do
- robot.select(active_slot)
- if robot.count(active_slot) == 0 then
- active_slot = active_slot + 1 end
- if robot.select(active_slot) ==size then
- active_slot = 1 end
- if robot.place() == false then active_slot = active_slot + 1 end
- if active_slot == size then active_slot = 1 end
- robot.place()
- end
Add Comment
Please, Sign In to add comment