Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local redstoneDir = "front"
- while true do
- Scan
- end
- function Scan ()
- if turtle.getitemCount(1) > 1 then
- redstone.setOutput(redstoneDir, true)
- if turtle.getitemCount(1) = 0 then
- redstone.setupOutput(redstoneDir, false)
- sleep(10)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement