I’m making a SurfaceGUI that has 2 TextLabels: A bright one showing information and a darker one above it as a label. What I’m trying to do is make the darker one always half as bright as the bright one. I tried writing this script inside of the darker label:
while task.wait() do
script.Parent.BackgroundColor3.R = script.Parent.Parent.StatusLabel.BackgroundColor3.R * 0.5
script.Parent.BackgroundColor3.G = script.Parent.Parent.StatusLabel.BackgroundColor3.G * 0.5
script.Parent.BackgroundColor3.B = script.Parent.Parent.StatusLabel.BackgroundColor3.B * 0.5
end
I also tried other variations including trying to multiply the whole Color3 with a Vector3.
I get this error: R cannot be assigned to - Server - Script:2
How can I do this?