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

Using Guis in plugins - How would you do it?

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

3 comments

0

How much more obvious could it be? http://prntscr.com/9eokd1

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

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.

1 answer

✓ Accepted answer

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"

1 comment

0

Thank you, I'll try it out :)

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