while true do
wait(0.1)
script.Parent.Color = game.ServerStorage.LightColor.Value
script.Parent.LightM.Color = game.ServerStorage.LightColor.Value
end
This script above changes the PointLight (LightM)'s color but also changes the part's color. For some reason, if I change the LightColor's value to a number like (255, 0, 0). The PointLight's color changes to that number but the part's color instead uses the value of (1, 0, 0) what is happening?

4 comments
I tired it and it worked perfectly?
Couldn't figure it out.
The thing is that the value 255,0,0 is RGB or red,blue and green and 1,0,0 is in Color3 form since Color3's are floats and they range from 0 to 1
To convert RGB to Color3 you would divide the each of the Color3 values by 255 to get Color3 values and if you wanted to convert Color3 to RGB you would multiply the Color3 values by 255