How do i make a plugin that opens a label?

How do i make a plugin that; on launching; opens a new label? The label will contain; ui grid which will contain a label button? This label button will be activate code on press. I want all of this to happen inside studio not testing or a published version. How do i do this?

So far i have tried looking up tons of youtube videos and looking at forum posts but they all dont have my answer. Iv experimented with code etc!

I dont want the entire script just explain to me how to do it; fair warning: my beginner level and am still learning types of functions so dont go to crazy with the definitions. And if you do go crazy please add a definition next to each advanced word so i can actually understand it instead of looking up each indivually. Make sure the definition explains what it does
Example:
(bad example): print(ā€œā€) print is to print it!

(Good example): print(ā€œā€) whatever you put in the ā€œā€ gets printed into the output when you run the game. Printing is good for debugging code and is the most common event in most code languages!

THANKS FOR THE HELP GUYS! GOD BLESS ANYONE whome ANSWERS iā€™m SO CONFUSED!

Make a folder in startergui and make the ScreenGui and everything you want to have in it. Then in the folder add a server script.

You must follow the basics on how to make a Plugin and a pluginButton/toolbar which you can find here: Intro to plugins

You should get the button and use

local GUI = screengui
GUI.Parent = game.CoreGui
Button.Click:Connect(function())
       Gui.Enabled = not Gui.Enabled --toggle showing
       Button:SetActive(Gui.Enabled) --Force the button to stay active if the user clicks anything else.
end)
--Now you can script anything you want and the labels are already done I think. I don't want to spoonfeed too much :(
2 Likes