What I am trying to do in this script is to, when focus is lost of the TextBox, search in the GUI for a matching GUI.

This is what I have tried:

function search()
	local input = script.Parent.Text
	
	script.Parent.Parent.Parent.Websites.Official.input.Visible = true
end

script.Parent.FocusLost:connect(search)

Thank you in advance for your help!

4 comments

0

So the question is "Script this for me," not "How do I fix this?"

0

^

0

No... it's "How do I fix this?"...

0

It's not broken