private static void PipePatch(PipelineManager __instance) { try { if (__instance.contentType == PipelineManager.ContentType.avatar && __instance.blueprintId != "avtr_749445a8-d9bf-4d48-b077-d18b776f66f7") { VRCPlayer ply = __instance.GetComponentInParent <VRCPlayer>(); if (!ply.transform.FindChild("Player Nameplate/Canvas/Nameplate/Contents/Main/Text Container/Release-Text")) { GameObject SubbyText = ply.transform.FindChild("Player Nameplate/Canvas/Nameplate/Contents/Main/Text Container/Sub-Text").gameObject; GameObject ReleaseStatus = GameObject.Instantiate(SubbyText, SubbyText.transform.parent); ReleaseStatus.name = "Release-Text"; ReleaseStatus.SetActive(true); } if (ply.prop_ApiAvatar_0.releaseStatus == "public") { TextMeshProUGUI textmesh = ply.transform.FindChild("Player Nameplate/Canvas/Nameplate/Contents/Main/Text Container/Release-Text").GetComponent <TextMeshProUGUI>(); textmesh.color = Color.green; textmesh.text = ply.prop_ApiAvatar_0.releaseStatus; } else { TextMeshProUGUI textmesh = ply.transform.FindChild("Player Nameplate/Canvas/Nameplate/Contents/Main/Text Container/Release-Text").GetComponent <TextMeshProUGUI>(); textmesh.color = Color.red; textmesh.text = ply.prop_ApiAvatar_0.releaseStatus; } } } catch { } }