BackgroundColor3 not changing at random

I’m trying to generate a random number and set the color 3 to that number for all 3 placements.
Random numbers can printing normally but the frame isn’t changing colors
I tried changing the numbers to a manual color3 number and it worked

It seems like a simple error but I have no idea why it didn’t work. The answer is probably right in front of me and I can’t see it because I’ve been up all night.

Color3.new takes rgb values that range from 0 to 1, not 0 to 255. Use Color3.fromRGB for values that range from 0 to 255.

5 Likes

I didn’t know this! Thank you!