player = game.Players.LocalPlayer if player.TeamColor.BrickColor.Name == ("White") then print ("Working") end
Why is this not working? Thanks.
You do not need the .BrickColor
after .TeamColor
because TeamColor is already a BrickColor.
Don't use the () around "White". Those () are for math.
But yeah what the top reply said.
You could also check the team.
if player.Team == game:GetService("Teams").TeamNameHere then -- Do code end