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

How would I make an if text function?

I am basically wanting to do something like this

if script.Parent.Text == "Color" Then

Is the quotations wrong or is something messed up with the small script?

1 answer

✓ Accepted answer
function checkText()
	if someLabel.Text == "Some Words" then
		-- do stuff
	end
end

Remember that Then needs to be lowercase.

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