So, I’ve been wanting to learn on how to create a plugin because I’ve been working on one currently. I used a couple of YouTube tutorials but I didn’t get the expected results. I also didn’t get any errors. Here’s my code:
local ChangeHistoryService = game:GetService("ChangeHistoryService") local tb = plugin:CreateToolbar("Custom Building Parts") local newbutton = tb:CreateButton("Custom Building Part Options", "Custom Building Parts", "rbxassetid://7017384160") local opened = false local NW = plugin:CreateDockWidgetPluginGui( "Custom Building Part Options", DockWidgetPluginGuiInfo.new( Enum.InitialDockState.Float, true, true, 200, 44, 200, 44 ) ) script:WaitForChild("PluginGui"):Clone().Parent = NW
Adding on, here’s my problematic results in words:
In words it basically shows up a gui but it’s blank.
I feel like the problem is because I’ve missed something in this script.