CreateWindow
This compatibility method behaves like MakeWindow. Creates the main XLQP window and initializes its configured appearance, navigation, loading, security, and persistence features. It is kept so scripts written with the older CreateWindow name continue to work.
CreateWindow
Compatibility alias
CreateWindow is an alternate name for MakeWindow. New code can use MakeWindow.
What it does
This compatibility method behaves like MakeWindow. Creates the main XLQP window and initializes its configured appearance, navigation, loading, security, and persistence features. It is kept so scripts written with the older CreateWindow name continue to work.
When to use it
Use it once near the start of your script, then keep the returned window to build tabs and control window state. Prefer MakeWindow in new code so the method name matches the current API.
XLQPGen1:CreateWindow(config)
local Window = Library:CreateWindow({
Branding = {
Name = "My Hub",
Subtitle = "Powered by XLQP Gen1",
Icon = "home",
},
Config = {
Enabled = true,
Folder = "MyHub",
},
Appearance = {
LiquidGlass = true,
CornerRadius = 18,
GifBackgroundEnabled = false,
GifBackgroundUrl = "",
GifBackgroundTransparency = 0.2,
Size = UDim2.new(0, 860, 0, 560),
},
Loading = {
IntroEnabled = true,
IntroText = "My Hub",
IntroSubtitle = "Loading...",
IntroDuration = 0.8,
FastLoad = true,
},
Behavior = {
ToggleKey = Enum.KeyCode.RightShift,
UnlockMouse = true,
},
Navigation = {
Enabled = true,
SidebarTab = true,
},
Security = {
AntiLogger = true,
Mode = "Better",
},
})Behavior and return value
This alias forwards to MakeWindow, so its options, callbacks, and returned value follow the canonical method.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.
Related reference
CreateTheme
This compatibility method behaves like RegisterTheme. Registers a named theme definition for later selection. It is kept so scripts written with the older CreateTheme name continue to work.
MakeLoading
This compatibility method behaves like CreateLoading. Creates a loading controller for stages, tasks, progress, and closing the loading UI. It is kept so scripts written with the older MakeLoading name continue to work.