I'm making a whiteboard for a classroom with a question and some answers, so when they click an answer, the text will change to green if its right, and red if it's wrong. Here's what i have:
`function onClicked()
game.Workspace.Whiteboard.Answer2.TextColor3 = (121, 243, 0)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)`
Yes i have a clickdetector inserted into the textbutton, but nothing happens when i click on the answer! Could someone please help me fix this? And i don't know much about scripting.

5 comments
:connect still works though
Yea, I know. It's just "more correct" to use :Connect
You need to use Color3.fromRGB () to use values from 0-255. Color3.new() only takes values from 0-1
Oh, yea.
Thought I should point that out xD