Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is this TextBox Answer GUI correct?

I think the line "else wait(.2) repeat until" is wrong. Output isn't working, please help.

Question.Text = "What is the name of the group you are applying to?(Caps Sensitive)"
	if Answer.Text == "FLASH Network"
	else wait(.2) repeat until
		Answer.Text == "Flash Network" then
Question.Text = "Will this work?"
end
end

1 answer

No, you didn't. :P Let me show you;

Question.Text = "What is the name of the group you are applying to?(Caps Sensitive)"
if Answer.Text == "FLASH Network" then --The 'then' was supposed to go here :P
--Rest of coding
elseif Answer.Text ~= "FLASH Network" then --I used 'elseif' instead
repeat wait(1/44) until Answer.Text == "Flash Network" --This would've ran infinitly at once, and would crash the player, now fixed :P
end

Hope this helped!

This discussion is preserved as it was. New answers, comments, and votes are closed.