Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to create Graphical User Interface for a plugin in ROBLOX?

I have been looking all over, trying to figure out how to create GUIs for a plugin so that the user can interact with the plugin, kind of like the ROBLOX animation plugin interface and I can't find anything about how to actually do it. I tried using the RbxGui Library only to find out that nearly all methods inside it are broken. If anyone can help i would appreciate it thanks.

1 answer

✓ Accepted answer

This is possible. Simply place the GUI in the script when publishing the plugin, but when the plugin runs make the GUI parent into CoreGui. Here's an example of code that I made in my own plugin.

local gui = script:WaitForChild('Gui')
local main = gui:WaitForChild('Main')
local box = main:WaitForChild('Box')
local ok = main:WaitForChild('Go')
local text = main:WaitForChild('ButtonText')

--[[ this is just some plugin stuff I put in the example for some reason 
local toolbar = plugin:CreateToolbar('plugin')
local button = toolbar:CreateButton('name', 'desc', 'img')
]]

gui.Parent = game:GetService("CoreGui")

Leave an upvote if I helped! :)

2 comments

0

thank you so much, Now I can finally finish my ROBLOX Programming Suite plugin!

0

No problem!

This discussion is preserved as it was. New answers, comments, and votes are closed.