Collision group not working

I am trying to get team based doors, however my player cannot get through their own teams door. As is shown here, the team door has BluePlayers collisions off, so blue players should be allowed through

And here shows my character has the BluePlayers collision group

--// Set collision filtering
function CollisionManager.Setup(character, team)
	if not GameSettings:GetAttribute("Teams") then return end -- Not a team gamemode
	
	for _, child in ipairs(character:GetChildren()) do
		if child:IsA("BasePart") then
			PhysicsService:SetPartCollisionGroup(child, team .. "Players")
		end
	end
	
	character.DescendantAdded:Connect(function(descendant)
		if descendant:IsA("BasePart") then
			PhysicsService:SetPartCollisionGroup(descendant, team .. "Players")
		end
	end)
end

The only issue I can think of is maybe using ( team.Name ) instead. That and maybe you didn’t set the collision group of the door, but that’s most likely not the case.

PhysicsService:SetPartCollisionGroup(child, team.Name .. "Players")

“team” is team.Name

CollisionManager.Setup(Character, player.Team.Name) -- Setup player's collsions with team doors