Multiple teams with same teamcolor?

So, I want 7 teams that have different spawns have the same color on the Leaderboard (or unnoticeable difference). But since I’m restricted to only using the limited BrickColors with the .TeamColor property, I think I can’t do it with that. If I try changing a Color3 slightly and convert that into a BrickColor, it doesn’t recognize a new BrickColor and just overwrites the previous team created. Here’s the color I want to use:

local easyColor3 = Color3.new(128/255, 187/255, 219/255)		--Pastel blue

I change it 7 times inside a for … in pairs loop with this code:

local easyVector3 = Vector3.new(easyColor3.R, easyColor3.G, easyColor3.B)
local vectorCalc = easyVector3 - Vector3.new(0, 0, 5/255)
local color3 = Color3.new(vectorCalc.X, vectorCalc.Y, vectorCalc.Z)
local color = BrickColor.new(color3)
easyColor3 = color3
print(easyColor3)
team.TeamColor = color	

This is the print output:

  0.501961, 0.733333, 0.839216
  0.501961, 0.733333, 0.819608
  0.501961, 0.733333, 0.8
  0.501961, 0.733333, 0.780392
  0.501961, 0.733333, 0.760784
  0.501961, 0.733333, 0.741176
  0.501961, 0.733333, 0.721569

So Because you apparently can’t use math operations on Color3 values?? I first convert it to Vector 3, then do the math and convert it back to color3. I use that Color3 value to create a new BrickColor which I apply to my TeamColor. It does seem to be “working” but only displays 3 teams because the other teams have the same color. Maybe I can just change the appearance of the team without changing the TeamColor? Thanks alot for any help on this cause I’m really stuck. :thinking:

Any idea on this? Thanks!

30 characters

This would involve you having to create your own Team objects that mirror teams but allow you to match TeamColors. Teams (by design) are meant to have different colours.

Your use case which involves seven teams with the same colour on the leaderboard, it would probably be easier to create your own leaderboard system for this, and hard code in the colour value for each team.

1 Like

Would that be hard to do? How would I start with something like that? Thanks for your answer!

Sorry to bump this thread up so much, but as this is pretty essential to my (obby) game, I would like to ask for some advice please? I really don’t want a rainbow leaderboard.

1 Like