I was recently editing a plugin and it stopped creating the toolbar
and button
and stuff. I went back through the plugin and just made a simple script to create the toolbar
, and the button
, then when the button is clicked it make's a hint. I was wondering if I am doing anything wrong with this plugin script or if it's roblox. Any help appreciated.
Script:
-- Variables local ToolbarName = "Test Plugins" local PluginName = "Test Plugin 1" local PluginDescription = "No description." local Image = "http://www.roblox.com/asset/?id=109251559" local Plugin = PluginManager():CreatePlugin() local Toolbar = Plugin:CreateToolbar(ToolbarName) local Button = Toolbar:CreateButton(PluginName,PluginDescription,Image) -- Main Script Button.Click:connect(function() local h = Instance.new("Hint",game:GetService("CoreGui")) h.Text = "Test plugin worked." wait(5) h:Destroy() end)