I’m making a subway train that has no actual line it’s assigned to and I want to get the destination board up front to be random/other lines beside what’s displayed below in the snapshot, such as red, green, brown, pink, and purple. Right now, it’s at the default, which is a blue background. I don’t want the text to change.
I’m not that good of a scripter and I know there’s an easy way to do this, but I just don’t know what. I’ve tried math.random() but my code always has an error in the output. My goal is to get the train to randomize the color only once and then the script deletes itself via :Destroy(). Since it’s going to be spawned more than once, I want it to vary every time.
That won’t work, Color3.new expects values between 0 and 1 for each component. In other words Color3.new(math.random(), math.random(), math.random()). Note that randomizing the components is not really going to yield any nice color results most of the time.