Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tank = peripheral.wrap("left")
- local tankTable = tank.getTankInfo()[1]
- local contentsTable = tankTable["contents"]
- local quantity = contentsTable["amount"]
- while true do
- if quantity > 1296 then
- print(quantity)
- redstone.setOutput("front",true)
- sleep(5)
- redstone.setOutput("front",false)
- print(quantity)
- sleep(5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement