Like if you type in "red' in the textbox and press enter it shows all the images filtered with red or something
Lets say Input was the name of the textBox, You would use FocusLost to see if they typed something, And if they typed something you >then> Do something, And you use elseif to continue.
Input.FocusLost:connect(function () local text = Input.Text if text == "Red" then frame.BackgroundColor3 = BrickColor.Red().Color elseif text == "Blue" then frame.BackgroundColor3 = BrickColor.Blue().Color end end)
This is how you would do it so if it doesn't work there is either an error or the way you are using it is wrong, But that is it, Accept my answer if it worked ^_^
Closed as Not Constructive by M39a9am3R
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?