Why doesn't think work, I'm testing it in my actual place because it won't work otherwise...
01 | local colors = { "Bright red" , "Bright violet" , "Bright green" , "Bright orange" , "Black" , "Brown" } |
02 | local plr = game.Players.LocalPlayer |
03 | local char = plr.Character |
04 |
05 | plrcolor = colors [ math.random(#colors) ] |
06 | local color = Instance.new( "StringValue" , plr) |
07 | color.Name = plrcolor |
08 | color.Value = plrcolor |
09 | bcolors = char.BodyColors |
10 |
11 | if bcolors then |
12 | bcolors.TorsoColor = BrickColor.new(plrcolor) |
13 | end |