Basically, I have a plugin I am currently trying to make. It doesn't even load in the first place and I'm not sure why. The studio output gives no errors. If anyone could help me, it'd be very much appreciated! My code has been posted below also!
--Anti-Virus by fireking100489
print ("GRASS Anti-Virus has loaded")
local PluginManagerObject = PluginManager()
local Plugin = PluginManagerObject:CreatePlugin()
local Toolbar = Plugin:CreateToolbar("Blazing Computer Software")
local Button = Toolbar:CreateButton("GRASS Anti-Virus", "Click to open the scanner and fix your game's issues!","")
Button.Click:connect(function()
local GUI = script.GrassAntiVirus
GUI.Parent = game.CoreGui
GUI.Grass.Visible = true
end)

2 comments
You don't need to use
PluginManager():CreatePlugin()anymore. Just right click your script and publish it as a plugin, then install it from the Roblox website.The "script" is actually a GUI, though. So, that's why I have the function for duplicating a GUI into the CoreGui.