Trying to make a boarding gate, I want to change the TextColor3 on the information board, but it's being set to 0,0,0.
I tried using .fromRGB but it doesn't work.
Here's an example of my script:
boarding.TextColor3 = Color3.fromRGB(script.Parent.TextButton4.TextColor3)
Full script:
script.Parent.TextButton4.MouseButton1Click:Connect(function() boarding.Text = script.Parent.TextButton4.Text boarding.TextColor3 = Color3.new(tonumber(script.Parent.TextButton4.TextColor3)) end)
Try doing this.
boarding.TextColor3 = script.Parent.TextButton4.TextColor3
I think the problem is that you used fromRGB Color3 instead of regular Color3.
Try
boarding.TextColor3 = Vector3.new(script.Parent.TextButton4.TextColor3)
I'm not sure if it will work but it might.
Hello!
To solve this issue, perhaps you can do this..?
boarding.TextColor3 = Color3.new(255,255,255) --Why not put in regular numbers?
If that doesn't work, try using .fromRGB()
.
this just hurts inside
script.Parent.TextButton4.MouseButton1Click:Connect(function() boarding.Text = script.Parent.TextButton4.Text -- the textcolor already exists, why do you need to create another one? boarding.TextColor3 = script.Parent.TextButton4.TextColor3 end)