Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local barrel = peripheral.wrap("back")
- while true do
- if next(barrel.tanks()) then
- redstone.setOutput("front", true)
- else
- redstone.setOutput("front", false)
- end
- sleep(0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement