I have no idea why it isn't working, here's 2 scripts.
Plugin script:
local loaded = plugin:GetSetting("pluginHasLoaded")
local toolbar = plugin:CreateToolbar("Test")
if not loaded then
print("Hello!")
end
local button = toolbar:CreateButton(
"Click me!",
"Can you click me please?",
"http://www.roblox.com/asset/?id=145723965"
)
button.Click:connect(function()
plugin:Activate(true)
script.Parent.ScreenGui:Clone().Parent = game.CoreGui
end)
GUI Button script:
function click()
print("Clicked!")
end
script.Parent.MouseButton1Click:connect(click)
Can you help me please? :/

1 comment
The GUI won't appear when I install the plugin! D: