Which way is better?

Hi, So i want to make a system where random windows will become yellow in the night (like if the light is turned on), but i dont know the best way, Should i put all windows in a folder and then make a script that chooses random windows and makes them yellow, or tag all the windows with the tag and use collection service to make a script that chooses a random window to become yellow or any other one

1 Like

I would use collection service. Helps with making your folders cleaner.

5 Likes

I like the idea of using CollectionService since it is more flexible towards other code. And you’re only checking time and then changing the windows once which is not costly in any way.

2 Likes