This object cannot be created with the Instance.new constructor function.
A PluginToolbar is an object created by using the
Plugin/CreateToolbar method. It is used to create
PluginToolbarButtons using the
PluginToolbar/CreateButton|CreateButton function. In general, it is good practice for a plugin to use one and only one uniquely named toolbar for all of its buttons. In Roblox Studio, toolbars are rendered under the Plugins tab.
Pictured above are three PluginToolbars in Roblox Studio: Animations, Three Wise Monkeys and Localization. The center toolbar is a custom toolbar created by a plugin; the other toolbars are created by built-in Roblox Studio plugins.
The following code sample creates a basic toolbar with one button. It should be run as a Roblox Studio plugin, and not run as a
local toolbar = plugin:CreateToolbar("Three Wise Monkeys") local button = toolbar:CreateButton("Mizaru", "See No Evil", "rbxassetid://2778270261")