Use a single script to control all elements

I wonder if there is a better way to control the animations or function of all buttons/text/images/frames in the UI with a single localscript or modulescript maybe using tags.

1 Like

I think you need to check out CollectionService. It uses the tags that you are looking for!

1 Like

CollectionService does that, you can use GetTagged(“Tag”) function to check through all stuff that is tagged as “Tag” in a for loop. Roblox implemented an easier way with adding/removing tags: Add and Remove Tags from the Properties Panel [Beta]

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.