Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I get this to work?

Asked by 9 years ago
script.Parent.MouseButton1Click:connect(function()
   if script.Parent.Input.Text == script.Parent.Parent.TextLabel.Text
end)

0
you forgot to finish writing the program 1waffle1 2908 — 9y

2 answers

Log in to vote
0
Answered by 9 years ago

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.

0
It's kinda like your mom saying "If you clean your room." Get it? anjaclawnova 10 — 9y
Ad
Log in to vote
0
Answered by 9 years ago

Remove the "if" and it should work.

Answer this question