Help with my SEARCH

I use this SEARCH in an animation script. Where the TextButton is inside the ScrollingFrame. But in this case of the radio, the textbuttons are inside a Frame within the ScrollingFrame.

I would like a help as i could pick up the string inside the frame and then leave that frame invisible and not the button.

In the script below, the emote leaves the Textbuttons invisible, but the frame remains visible. I want to make Frame invisible.

If i use:

emote.Parent.Visible = false

frames within scrollingframe are visible = false. So I need to take the result of string.find and find only the Parent of the result and leave the rest visible = false.

Screenshot_20

Spelling error Visivle should be visible.

Nevermind I was reading wrong you should just go into the thing you want, I am not the best scripter but what if you try string.lower(Parent.Text), input) then

nope. Nevermind… i also solved the problem. But thanks you.

What was the fix can I ask? Would be nice if you can say also glad you fixed it.

I changed the script, to add the name of the songs in Frame.Name, so now it gets easier.

and were:

if string.find(string.lower(emotes.Text), input) then

i changed for

if string.find(string.lower(emotes.Name), input) then

since its a Frame

Screenshot_21

Screenshot_22

Alright glad you could fix it nice!