How to turn all lights off from one button?

Instead of doing copy paste of code, or looping trough folders and storages (Because that can cause a lot of performance issues), It will be much easier just using CollectionService and Tag Editor Plugin, to set all the lights of when the button is pressed.

Fast explanation if you don’t know what’s that:

CollectionService is a way to tag parts and get tagged parts, so you can execute scripts for lots of parts with a single script instead of using lots of scripts.

1 Like