Why are my parts appearing black?

Color wasn’t the problem, and math.random defaults the minimum to 1 if it only has 1 parameter.

2 Likes

@AceKiron is correct, math.random works with one argument

number math.random ( number m = 0.0, number n = 1.0 )
This function is an interface to the simple pseudo-random generator function rand provided by ANSI C. (No guarantees can be given for its statistical properties.) When called without arguments, returns a uniform pseudo-random real number in the range [0,1). When called with an integer number m, math.random returns a uniform pseudo-random integer in the range [1, m]. When called with two integer numbers m and n, math.random returns a uniform pseudo-random integer in the range [m, n].

1 Like

Someone please do this for me, I can’t create topics in #platform-feedback:engine-bugs myself.

HSV is hue saturation value. It means you can control how light and dark the random colors are. Give it a try :slight_smile:

1 Like

I doubt he just happens to generate 0, 0, 0 as the color every time. Not sure how that helps.

4 Likes