For example:
1 | rbg = { ( 0 , 0 , 1 ) } |
2 | --Returns this error below |
3 | Error in script: ')' expected near ',' |
Implant Color3.new()
to your array
1 | rbg = { Color 3. new( 0 , 0 , 1 ) } |
2 |
3 | print (rbg [ 1 ] ) |
Well, I was half way through making this work when ROBLOX crashed >=/, but here's what I got:
Create the table having the Color3.new
included then do as so
01 | Colors = { |
02 | Black = Color 3. new( 0 , 0 , 0 ); |
03 | White = Color 3. new( 255 , 255 , 255 ) |
04 | } |
05 |
06 | while true do |
07 | wait ( 2 ) |
08 | (Color 3 reference) = Colors.Black |
09 | wait ( 2 ) |
10 | (Color 3 reference) = Colors.White |
11 | end |