01 | local Colors = { Color 3. new( 255 / 255 , 0 / 255 , 0 / 255 ), Color 3. new( 255 / 255 , 110 / 255 , 0 / 255 ), Color 3. new( 255 / 255 , 255 / 255 , 0 / 255 ), Color 3. new( 0 / 255 , 255 / 255 , 0 / 255 ), Color 3. new( 0 / 255 , 156 / 255 , 255 / 255 ), Color 3. new( 200 / 255 , 0 / 255 , 255 / 255 ), Color 3. new( 255 / 255 , 50 / 255 , 255 / 255 ) } |
02 |
03 | local function generate() |
04 | return Colors [ math.random( 1 , #Colors) ] |
05 | end |
06 |
07 | while true do |
08 | for i, v in pairs (script.Parent:GetDescendants()) do |
09 | if v:IsA( "Part" ) then |
10 | local c = generate() |
11 | v.Color = c |
12 | print (c) |
13 | v.Transparency = 0 |
14 | v.Material = "Neon" |
15 | end |
16 | end |
17 | wait( 1 ) |
18 | end |
Please help, thanks!
Fixed. Thanks! (Due to color correction)