Wait, I can just make a pre-made gui and put it into the Widget? And I am not doing a Logo for now just because the Moderation is dying for a little bit.
Yup. Itâs that simple.
Though youâll have to screw around with ZIndex, but in the end its SOOO much nicer
Welp thanks, also what would I use Modules for?
You can use them to minimize code and make it look more professional.
And how do I make dropdowns on the DevForum?
[details="Summary"]
This text will be hidden
[/details]
Summary
This text will be hidden
Okay! But what code would I use it for
OH thank you ! I really needed this because that can actually help.
For plugins, most people use it for creating widgets and editing their properties, instead of thisâŚ
P A I N
Also stuff all of your questions in one post so we dont flood everything
Yes, not gonna teach you everything but heres a quick example
local module = {}
function module.MakeWidget()
local NewTweenWidgetInfo = DockWidgetPluginGuiInfo.new(
Enum.InitialDockState.Float,
true,
false,
300,
450,
250,
400
)
local TweenWidget = plugin:CreateDockWidgetPluginGui('TweenSettings', NewTweenWidgetInfo)
TweenWidget.Title = 'Tween Settings'
TweenWidget.Enabled = false
-- This'll return the tweenwidget if you wanna modify it, like the enabled property, heres a tutorial: https://devforum.roblox.com/t/a-mini-guide-on-how-to-use-return/1780075
return TweenWidget
end
return module
Note: You have to pass plugin as a parameter since it doesnât work in modules
So it just makes the NewTweenWidgetInfo code one line Thanks to module?
Okay thank you! I will use these for my next Post and I will rework the code But some parts such as the code INSIDE the functions gotta stay the same!
FIXED THE MODERATED BUG THANKS TO @bytechan and @ViceRabbit, no further updates have happened so far