Can't create team, got error: "Unable to assign property TeamColor. BrickColor expected, got string"

I just want to create team with script, but I get error: “Unable to assign property TeamColor. BrickColor expected, got string”
Code is very simple:

local TeamsService = game:GetService("Teams")
local BlueTeam = Instance.new("Team", TeamsService)
BlueTeam.Name = "Blue"
BlueTeam.TeamColor = "Dark blue" --error here

This is all, nothing much, but I don’t understand why I get this error.

try BlueTeam.TeamColor = BrickColor.new(“Dark blue”)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.