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

How do I fix this Plugin Script?

Asked by
KAAK82 16
10 years ago
print("Loading lalala...")

local hasLoaded = plugin:GetSetting("pluginHasLoaded")
if not hasLoaded then
    print("Welcome to lalala! You can lalala!")
    plugin:SetSetting("pluginHasLoaded", true)
end

local toolbar = plugin:CreateToolbar("lalala")

local button = toolbar:CreateButton(
    "Button",
    "Press me",
    "http://www.roblox.com/asset/?id=PrivateSryGuys"
)
button.Click:connect(function()
    print("Plugin is now active")
    plugin:Activate(true)
        script.Parent.FindFirstChild("lalalala"):clone().Parent = game.CoreGui
end)

print("Finished Loading lalala")

it doesnt show up to me wen I click the Plugin Button and there's nothing in the Output...

Answer this question