there a possibility to turn on all the lights of my map with electricity
I put a box of electricity but without function I put a function to give it wing “e” but still nothing happens and I wanted to know if there is a possibility that with the “e” all the lights turn on?
You could Give all the parts a unique collection service tag, and loop through those and enabled or not. This makes it so you don’t have to loop through all parts and check whether it’s a light. You could do that, but that would check every single instance. Then, just enable or disable it depending on what state.