Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component = require("component")
- lights = component.list("openlight")
- command = "component.openlight.setBrightness(15)"
- for k , v in pairs(lights) do
- component.invoke(k , command)
- end
- print("All lights full")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement