while true do
script.Parent.TextColor3 = Color3.new(tonumber(script.Parent.Parent.r.Text),tonumber(script.Parent.Parent.g.Text),tonumber(script.Parent.Parent.b.Text))
wait()
end
it not showing the correct color
while true do
script.Parent.TextColor3 = Color3.new(tonumber(script.Parent.Parent.r.Text),tonumber(script.Parent.Parent.g.Text),tonumber(script.Parent.Parent.b.Text))
wait()
end
it not showing the correct color
Try doing .fromRGB: Link (Go2 Syntax, # 3)
while true do
script.Parent.TextColor3 = Color3.fromRGB(tonumber(script.Parent.Parent.r.Text),tonumber(script.Parent.Parent.g.Text),tonumber(script.Parent.Parent.b.Text))
wait()
end
OR: Do the RGB values seperately.
while true do
script.Parent.TextColor3.R = tonumber(script.Parent.Parent.r.Text)
script.Parent.TextColor3.G = tonumber(script.Parent.Parent.g.Text)
script.Parent.TextColor3.B = tonumber(script.Parent.Parent.b.Text)
end
I never tested it, FYI.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
picture: http://imgur.com/a/W0cuA