Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m=peripheral.wrap("right")
- m.setFreq(12)
- function sheer()
- for i = 1,4 do
- turtle.attack()
- turtle.turnRight()
- end
- end
- function dump()
- for j = 1,4 do
- turtle.select(j)
- turtle.dropUp()
- end
- turtle.select(1)
- end
- while true do
- on = m.get()
- while on do
- sheer()
- dump()
- sleep (60)
- on = m.get()
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment