I have a very basic 'search engine' sort of thing where inside a ScreenGUI on a model computer there is a textbox, textlabel, and textbutton.
When the button is clicked, the text in the textbox should dictate what the textlabel says.
However, for one, I can not type in the textbox, and the script just outputs what I told it to under a certain condition regardless of whether or not the text contained in the box fits that.
script.Parent.MouseButton1Click:connect(function()
if script.Parent.Parent.string.Text == "keyword" or "keywords" then
script.Parent.Parent.results.Text = "output"
else
end
end)
Does anyone know why I cant type in the textbox or why this script won't work?

1 comment
Thank you!