I have a team randomizer script, then there is a gui named "Scoreboard" and an ImageLabel named "HBackdrop" and "ABackdrop" I want for each team there to be a certain color for the back drop for it. This is what I have so far.
gui = Instance.new("ScreenGui",game.StarterGui) for i,Team in pairs (game.Teams:GetChildren()) do local img = Instance.new("ImageLabel",gui) img.Name = Team.Name img.BackgroundColor3 = Team.TeamColor.Color end

1 comment
Format your code in Lua Code Block please.