Hello, so i want to make it so for every player a different background colour appears for the loading gui so i put this in a local script:
script.Parent.BackgroundColor3 = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
all this does is making it white all the time?
What your doing is correct, but the reason it is making it white is because you are not dividing the individual numbers by 255 to return rgb.
script.Parent.BackgroundColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
Notice how I divided the numbers returned by math.random by 255
Alternatively you could use Color3.fromRGB() to not have to divide the numbers.
script.Parent.BackgroundColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))