Skip to main content

Getting the Library

Menu.Library

Notify

Returns a Notification class, containing it’s renders.
Library:Notify(table?: Parameters)
Parameters
table
A table containing the duration and text of the notification. E.g. { Time = 3, Text = "Hello, world!" }

Card

Returns a Card class, containing it’s renders, visibility and fade cache.
Library:Card(table?: Parameters)
Parameters
table
A table containing render info for the Card.

instance?: Parent
UDim2?: Position
UDim2?: Size
boolean?: Draggable
boolean?: Invisible
string?: Text
boolean?: Fade

Find

Returns the first Window within the Library from the given name and the Index it is cached at internally within the Windows cache.
local Window = Library:Find(Name)
Name
string
required
The name of the Window.

Fade

Fades an Object for 0.25 seconds, fires the Object’s fade callbacks and closes all of the Object’s open content. Object must contain “Outline”, this is required for fading to function and serves as the highest frame in the hierarchy.
Library:Fade(table: Object, boolean: Visible)
local Library = Menu.Library
local Window = Library:Find("Theme")

Library:Fade(Window, false) -- // Fades the Theme Window to become invisible
Object
table
required
The Object to fade.
Visible
boolean
required
The new Visibility to fade into.