Why doesn't think work, I'm testing it in my actual place because it won't work otherwise...

local colors = {"Bright red","Bright violet","Bright green","Bright orange","Black","Brown"}
local plr = game.Players.LocalPlayer
local char = plr.Character

plrcolor = colors[math.random(#colors)]
local color = Instance.new("StringValue", plr)
color.Name = plrcolor
color.Value = plrcolor
bcolors = char.BodyColors

if bcolors then
	bcolors.TorsoColor = BrickColor.new(plrcolor)
end