Menu config = new Menu("My Script", "myScript", true); Menu mainMenu = new Menu("Main Menu", "mainMenu"); mainMenu.AddItem(new MenuItem("enable", "Enable Script").SetValue(true)); Menu subMenu = new Menu("Sub Menu", "subMenu"); subMenu.AddItem(new MenuItem("option1", "Option 1").SetValue(false)); subMenu.AddItem(new MenuItem("option2", "Option 2").SetValue("default")); mainMenu.AddSubMenu(subMenu); // Add sub menu to main menu config.AddSubMenu(mainMenu); // Add main menu to config menu config.AddToMainMenu(); // Add config menu to LeagueSharp.Common's main menuIn this example, we create a new menu called "My Script" with an ID of "myScript". We then create a main menu with an "Enable Script" checkbox option and add a submenu to it called "Sub Menu" with two more options. Finally, we add the main menu to the "My Script" menu and add that menu to LeagueSharp.Common's main menu. This example demonstrates how to use the AddSubMenu method to create a hierarchy of customizable options for your script. The package library for LeagueSharp.Common is "LeagueSharp.Common.dll".