I am trying to make where you type a color value into a textbox, and make that text change a frame's color to your own choice. For example if i type in the text "255,255,255" it would make the frame white.
script.Parent.FocusLost:connect(function(enterPressed)
if enterPressed then
print 'you pressed enter!'
local color = script.Parent.Parent.Parent.Parent.HomeScreenColor.Value
color = script.Parent.Text
end
end)
The local color is a color3value. For some reason the only thing appearing in the output box is the your pressed enter!
Thanks!

3 comments
what is the text and what is the value
Text is a textbox and the value is a color3value
When you access a object such as a color3Value by it's value, say color3Value.Value; the value gets saved to the variable you assign it to. So if you change the variable, it will not change the value of the object, but what the variable is pointing to.