Advertisement
TJtheDJ701

Untitled

Sep 27th, 2021
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. cube = peripheral.wrap("left")
  2.  
  3. energy = cube.getEnergy()
  4.  
  5.  
  6. local allMonitors = table.pack(peripheral.find("monitor"))
  7. for i, monitor in ipairs(allMonitors) do
  8. monitor.write(energy .. " RF")
  9. end
  10.  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement