CreateToolbar (Method)

From Legacy Roblox Wiki
Revision as of 06:18, 27 April 2023 by Realjame (talk | contribs) (Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
CreateToolbar( string name )
Returns Toolbar
Description: Returns a new Toolbar.
Member of: Plugin


Example

This code creates a toolbar with the name "ExampleToolbar":

local Plugin = PluginManager():CreatePlugin()
local Toolbar = Plugin:CreateToolbar("ExampleToolbar")