NeonDevelopment

Reactor Automated Water

Dec 6th, 2023 (edited)
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. local tank = peripheral.find("fluid_storage")
  2. print("Script has started")
  3. while true do
  4. if next(tank.tanks()) == nil then
  5. redstone.setAnalogOutput("bottom", 0)
  6. else
  7. redstone.setAnalogOutput("bottom", 15)
  8. end
  9. end
  10.  
Advertisement
Add Comment
Please, Sign In to add comment