For example:
rbg = {(0, 0, 1)}
--Returns this error below
Error in script: ')' expected near ','
For example:
rbg = {(0, 0, 1)}
--Returns this error below
Error in script: ')' expected near ','
Implant Color3.new() to your array
rbg={Color3.new(0,0,1)}
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
Colors = {
Black = Color3.new(0,0,0);
White = Color3.new(255,255,255)
}
while true do
wait (2)
(Color3 reference) = Colors.Black
wait (2)
(Color3 reference) = Colors.White
end
This discussion is preserved as it was. New answers, comments, and votes are closed.