Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local r = (require"robot")
- local sheeps = 8
- function Line()
- r.forward()
- for i = 1,sheeps do
- r.forward()
- r.useDown()
- r.forward()
- end
- end
- function Chest()
- for c = 1,16 do
- r.select(c)
- r.dropDown()
- end
- r.select(1)
- end
- --programm--
- while true do
- for i = 1,2 do
- Line()
- r.turnRight()
- for i = 1,6 do r.forward() end
- r.turnRight()
- end
- Chest()
- os.sleep(60)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement