is it possible to make a toggle button in deluxe menu, like hypixel you can toggle players and when you toggle it off the item changes to light grey dye and when u turn it back on it turns into lime dye i want to do the same but instead of toggling it in your inventory you toggle it in the menu and instead of it being players i would like to toggle essentialsX vanish, and i want it to be using custom model data that changes when you toggle it.
if you know the answer could you please explain it very deeply?