Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you use PluginManager?

Asked by 8 years ago

The wiki page is very vague and returns me with an error. I know it's deprecated but how do I create a plugin now?

pluginmanager = PluginManager()
plugin = pluginmanager:CreatePlugin()
toolbarbutton = plugin:CreateButton('', 'CFrame', '')

'19:25:04.325 - An error occurred 19:25:04.328 - Script 'ServerScriptService.Script', Line 1 19:25:04.329 - Stack End'

I haven't used this in a while and I just need a way to create the plugin Instance.

Answer this question