b = Instance.new("TextButton")
b.Name = deptlist[i].Name
b.BorderSizePixel = 0
b.BackgroundTransparency = 1
print(BrickColor.new(deptlist[i].Color).Color)
b.BackgroundColor3 = Color3.new(BrickColor.new(deptlist[i].Color).Color)
b.Text = string.upper(deptlist[i].Name)
b.TextSize = 50
b.TextScaled = true
b.TextXAlignment = "Left"
b.TextColor3 = Color3.new(255,255,255)
b.Parent = teams.Selection
deptlist[i].Color is a brickcolor
here is the module script
return {
{ ["Name"] = "Indian Citizen";
["Tag"] = "Citizen";
["Color"] = "Deep orange";
["GroupId"] = 919408;
};
};

1 comment
I think we need more of the code