Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Cow Farm (custom)
- -- 0.2
- local tick = 0.4
- local dis = "left"
- local cable = "bottom"
- local track = 256
- local turret = 1
- local keepAlive = 8
- local targs = {...}
- if targs[1] ~= nil and targs[1] < 10 then
- local keepAlive = targs[1]
- end
- rs.setBundledOutput(cable,0)
- for i=1,keepAlive do
- rs.setOutput(dis,true)
- sleep(tick)
- rs.setOutput(dis,false)
- sleep(tick)
- end
- sleep(2)
- rs.setBundledOutput(cable,track)
- sleep(12)
- rs.setBundledOutput(cable,turret+track)
- sleep(20)
- rs.setBundledOutput(cable,track)
- for i=1,keepAlive do
- rs.setOutput(dis,true)
- sleep(tick)
- rs.setOutput(dis,false)
- sleep(tick)
- end
- sleep(1)
- rs.setBundledOutput(cable,track)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement