A morph I'm working on needs to change the color of a pointlight to a specific color based on the class that the player chose. It's a single morph that players choose the color for, So I've been using a set of values to tell the script how to color the character. I've tried using a Color3Value
but it bugs the light out, literally. I've tried multiplying the previous idea by 1/255 to fix that, but it gives me a "performed arithmetic on userdata" error. I've tried using a StringValue
like a color3, no dice.
PointLight.Color = Color3.new(Color3Value.Value) -- Color3Value is just a placeholder name
Remove the Color3.new. It is probably causing the error.
PointLight.Color = Color3Value.Value -- Color3Value is just a placeholder name
If I helped please set me as the answer and vote me up. Thank you for reading.