Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require('component')
- local cube = component.basic_energy_cube
- local rs = component.redstone
- local sides = require('sides')
- local energy = 0
- local energy = cube.getEnergyStored()
- print(energy)
- if energy < 2000000 then do
- rs.setOutput(side: 5, 16)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement