
I am making a jeopardy game, and this script changes the clue’s text to whatever the clue is when it’s clicked. However, it’s very time consuming to edit a script for each clue due to directory structure, is there a way to make this more effecient?
1 Like
First of all, you should use a single script to edit each of them at once.
You have two options on doing this:
- Have a stringvalue in the Textbutton and use a single script that loops through every category in the board and attaches an event to each part in the category. The event would change the text in the textbutton to the the text in the stringvalue (which is the clue).
- Do the same thing but instead of looping through each category make a folder which is a directory of object values and loop through that and attach the event.
-Scepter_ofDarkness
1 Like
Another way is using tag editing, but it’s much more complex and would require manually creating each clue