There is a PluginGuiService, enable this and re run to check if it is present in the widget
with both or only with yours? ()
ok, I will check it right now.
both:
local Toolbar = plugin:CreateToolbar('World Builder Pluguin')
local FoliageGeneratorButton = Toolbar:CreateButton('Foliage Generator', 'A tool helping you to create custom grass, leaves or generally any foliage you desire', 'rbxassetid://5832364067')
local foliageWidget = plugin:CreateDockWidgetPluginGui(
'Foliage Creator',
DockWidgetPluginGuiInfo.new(
Enum.InitialDockState.Float,
false,
true,
340,
350,
340,
350
)
)
foliageWidget.Title = 'Foliage Generator'
foliageWidget.Name = "Foliage Generator"
local Gui = script:WaitForChild("ScreenGui"):Clone()
Gui.Parent = foliageWidget
FoliageGeneratorButton.Click:connect(function()
plugin:Activate(true);
foliageWidget.Enabled = foliageWidget.Enabled and false or true;
end)
only yours:
local Toolbar = plugin:CreateToolbar('World Builder Pluguin')
local FoliageGeneratorButton = Toolbar:CreateButton('Foliage Generator', 'A tool helping you to create custom grass, leaves or generally any foliage you desire', 'rbxassetid://5832364067')
local foliageWidget = plugin:CreateDockWidgetPluginGui(
'Foliage Creator',
DockWidgetPluginGuiInfo.new(
Enum.InitialDockState.Float,
false,
true,
340,
350,
340,
350
)
)
foliageWidget.Title = 'Foliage Generator'
foliageWidget.Name = "Foliage Generator"
local Gui = script:WaitForChild("ScreenGui"):Clone()
Gui.Parent = foliageWidget
FoliageGeneratorButton.Click:connect(function()
plugin:Activate(true);
foliageWidget.Enabled = not foliageWidget.Enabled
end)
Is the ScreenGui called āScreenGuiā?
Obviouslyā¦ I wouldnāt post anything if I hadnāt double-checked everything.
I enabled it, and still nothing happens
Do you see the service? If not then restart Roblox Studio.
What do you mean when saying āI see the serviceā?
Is the service present in the explorer window?
No, I donāt. Maybe I am doing it wrong.
This is what I am writing:
local GuiService = game:GetService("PluginGuiService")
Iāve also tried. plugin:GetService
but it resulted to an error.
No you enable it in Settings, it is a non-createable service
Which settings? There is nothing called pluginGuiService in the game settings. Are you talking about different settings?
It should be in settings, under Studio
with the name of Show Plugin GUI Service in Explorer
Ok, I activated it. What should I do now?