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.
1 | Input.FocusLost:connect( function () |
2 | local text = Input.Text |
4 | frame.BackgroundColor 3 = BrickColor.Red().Color |
5 | elseif text = = "Blue" then |
6 | frame.BackgroundColor 3 = BrickColor.Blue().Color |
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?