Advertisement
Patriik

Untitled

Mar 6th, 2022
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local integrators = {
  2. redstone_integrator_788 = "north",
  3. redstone_integrator_790 = "east"
  4. }
  5.  
  6. local function set_open(state)
  7. for i, side in pairs(integrators) do
  8. peripheral.call(i, "setOutput", side, not state)
  9. end
  10. end
  11.  
  12. while true do
  13. set_open(true)
  14. sleep(0.1)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement