I am really interested in making plugins, so I’m about to make one.
so I’m working on a game Graphic plugin, that will enable all the best graphics, made by me.
so basically, I want a GUI that will be enabled whenever I click the plugin from the toolbar.
and whenever I click Apply it will enable the plugin it self, I don’t really know how to make it so it will duplicate a GUI and make it visible after clicking the plugin from the toolbar, so yeah, support will be appreciated thanks!
local toolbar = plugin:CreateToolbar("Better Graphics")
local newScriptButton = toolbar:CreateButton("Better Graphics", "Adds High graphic quality to your game.", "rbxassetid://4458901886")
newScriptButton.Click:Connect(function()
-- Full script
end)
You don’t necessarily have to clone the gui, though. You can parent the gui to the CoreGui service. You’d have to make the plugin a folder, put the script in it and put the gui inside the script. Then you can access the ui and parent it to CoreGui:
local ui = script:FindFirstChildOfClass("ScreenGui")
-- or local ui = script:WaitForChild("ScreenGuiName")
ui.Parent = game:GetService("CoreGui")