Learn
Engine Class
PluginMenu
Not Creatable
Not Replicated

Summary
Methods
AddAction(action: Instance):()
AddMenu(menu: Instance):()
AddNewAction(actionId: string,text: string,icon: string):Instance
Clear():()
Inherited Members
Code Samples
Creating a PluginMenu and PluginMenuAction
-- This code can be pasted into the Command Bar, but only once
local pluginMenu = plugin:CreatePluginMenu(math.random(), "Test Menu")
pluginMenu.Name = "Test Menu"
pluginMenu:AddNewAction("ActionA", "A", "rbxasset://textures/loading/robloxTiltRed.png")
pluginMenu:AddNewAction("ActionB", "B", "rbxasset://textures/loading/robloxTilt.png")
local subMenu = plugin:CreatePluginMenu(math.random(), "C", "rbxasset://textures/explosion.png")
subMenu.Name = "Sub Menu"
subMenu:AddNewAction("ActionD", "D", "rbxasset://textures/whiteCircle.png")
subMenu:AddNewAction("ActionE", "E", "rbxasset://textures/icon_ROBUX.png")
pluginMenu:AddMenu(subMenu)
pluginMenu:AddSeparator()
pluginMenu:AddNewAction("ActionF", "F", "rbxasset://textures/sparkle.png")
local toggle = Instance.new("BoolValue")
toggle.Name = "TogglePluginMenu"
toggle.Parent = workspace
local function onToggled()
if toggle.Value then
toggle.Value = false
local selectedAction = pluginMenu:ShowAsync()
if selectedAction then
print("Selected Action:", selectedAction.Text, "with ActionId:", selectedAction.ActionId)
else
print("User did not select an action!")
end
end
end
toggle.Changed:Connect(onToggled)

API Reference
Properties
Icon
Not Replicated
Read Parallel
PluginMenu.Icon:string

Title
Not Replicated
Read Parallel
PluginMenu.Title:string

Visible
Roblox Script Security
Read Parallel
PluginMenu.Visible:boolean

Methods
AddAction
Plugin Security
PluginMenu:AddAction(action:Instance):()
Parameters
action:Instance
Returns
()

AddMenu
Plugin Security
PluginMenu:AddMenu(menu:Instance):()
Parameters
Returns
()

AddNewAction
Plugin Security
PluginMenu:AddNewAction(
actionId:string, text:string, icon:string
Parameters
actionId:string
text:string
icon:string
Returns

AddSeparator
Plugin Security
PluginMenu:AddSeparator():()
Returns
()

Clear
Plugin Security
PluginMenu:Clear():()
Returns
()

ShowAsync
Yields
Plugin Security
PluginMenu:ShowAsync():Instance
Returns

©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.