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

Where to put a gui for a plugin?

Asked by 9 years ago

I don't mean where to store the gui inside of the plugin itself. I mean where should I parent the gui to if I want the user to see the gui? Essentially I'm looking for a playergui for studio mode.

1 answer

Log in to vote
4
Answered by 9 years ago

If you want the user to see the GUI, clone it and set it's parent to game.CoreGui in your plugin's script.

Putting it in CoreGui basically makes the player unable to modify it, compared to putting it in the StarterGui, where it's easily editable.

You'll also want to either make a close button for your GUI, or make it so that once you click the plugin button, the GUI is removed if it's in the CoreGui or put into the CoreGui if it isn't already there.

0
Thanks so much! Prohibetur 70 — 9y
1
You're welcome. If my answer helped, please accept it, it shows that the question has been answered and both you and me get reputation. You can find the button to the right, with a little check mark in a circle. Spongocardo 1991 — 9y
0
Lol, I was trying to help him with this, but it seems you got it. I UpVoted ur answer btw. dyler3 1510 — 9y
0
Thanks. :) Spongocardo 1991 — 9y
Ad

Answer this question