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

Using Guis in plugins - How would you do it?

Asked by 8 years ago

To expand the title:

I am trying to make a plugin with gui menu - like Crazyman32's Cutscene editor, or the CmdUtl editor. The problem is, you cannot use a gui menu by inserting it into StarterGui if you want it to be functional. I want the buttons to be clickable, and TextBoxes to be editable.

So, I did some research, and found out about RBXGui. But it just doesn't make sense to me, and I need understandable examples that aren't there. As well as that, a guide to use it would be simple, but again, not available. I was also wondering if it can actually create something on the level of the Cutscene Editor (that would be amazingly simple if we could use ScreenGuis, etc. in studio).

To summarise my question, for those who say TL;DR, or just didn't understand my explanation:

How would you use RBXGui (or another way, if there are others) to create a gui with buttons, a frame, maybe a picture, etc., that is much like Crazyman32's Cutscene Editor, or Anaminus' CmdUtl editor.

Thank you :)

0
How much more obvious could it be? http://prntscr.com/9eokd1 unmiss 337 — 8y
0
You can view the source of said plugins by changing the plugin file to .rbxm, or whatever the extension for roblox model files are shayner32 478 — 8y
0
@jacktaylor another person who can't read. I said an UNDERSTANDABLE example/guide to doing it, so obviously not the wiki article. @shayner32 i would like to know how, and be able to understand it, seeing their plugins will not help, because looking at the code for facebook will TOTALLY give me eveyrtihng i need to know to make a social media. TheDeadlyPanther 2460 — 8y

1 answer

Log in to vote
3
Answered by 8 years ago

Parent the ScreenGui to game.CoreGui and it'll show up.

example:

local screen = Instance.new("ScreenGui", game.CoreGui)
local text  = Instance.new("TextLabel", screen)
text.Position = UDim2.new(.5, -100, 0, 125)
text.Size = UDim2.new(0, 200, 0, 50)
text.Text = "I'M ON YOUR SCREEN ;o"
0
Thank you, I'll try it out :) TheDeadlyPanther 2460 — 8y
Ad

Answer this question