script.Parent.MouseButton1Click:connect(function() if script.Parent.Input.Text == script.Parent.Parent.TextLabel.Text end)
Well, I see you put an "if" statement, but you didn't put a "then" statement. So "if blah blah does blah blah then do blah blah"(paraphrasing ) But you just put "if". So, really this code is kind of pointless.