Can Not Change LODs With Script

When I try it says “Renderer ‘Stone2’ is registered with more than one LODGroup (‘GFX’ and ‘GFX’).”. How can I solve this ?

Is there a script with this…?

using UnityEngine;

public class LODSelecter : MonoBehaviour
{
    public LODCollection collection;
    public LODGroup assignedLODGroup
    {
        get
        {
            return GetComponent<LODGroup>();
        }
    }
    public void SelectAndAssign()
    {
        if(assignedLODGroup && collection.isReady)
        {
            LOD[] lod = collection.collection[Random.Range(0,collection.lastIndex)].GetLODs();
            assignedLODGroup.SetLODs(lod);
        }
    }
    void Start()
    {
        SelectAndAssign();
        Destroy(this);
    }
}
using UnityEngine;

[CreateAssetMenu(menuName = "New LOD Collection",fileName ="New LOD Collection")]
public class LODCollection : ScriptableObject
{
    public LODGroup[] collection;
    public int lastIndex
    {
        get
        {
            return collection.Length-1;
        }
    }
    public bool isReady
    {
        get
        {
           return collection.Length>0;
        }
    }
}

Hi, I did some searching, but did you try this solution?