Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
movsb 242 Moderation Voter
7 years ago

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

Log in to vote
1
Answered by 7 years ago
Edited 7 years ago

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! :)

0
thank you so much, Now I can finally finish my ROBLOX Programming Suite plugin! movsb 242 — 7y
0
No problem! joritochip 705 — 7y
Ad

Answer this question