0% found this document useful (0 votes)
7 views52 pages

XEZIOS Library for Roblox Scripting

The document outlines the initialization and setup of a GUI library called XEZIOS, created by a user named @finobe. It includes various functions for handling user input, theming, and UI components such as buttons and color pickers. The code also defines a structure for managing configurations and themes within the library.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views52 pages

XEZIOS Library for Roblox Scripting

The document outlines the initialization and setup of a GUI library called XEZIOS, created by a user named @finobe. It includes various functions for handling user input, theming, and UI components such as buttons and color pickers. The code also defines a structure for managing configurations and themes within the library.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

--[[

XEZIOS
-> Made by @finobe
-> Kind of got bored idk what to do with life
]]

if getgenv().Loaded then
getgenv().Library:Unload()
end

getgenv().Loaded = true

-- Variables
-- Services
local InputService, HttpService, GuiService, RunService, Stats, CoreGui,
TweenService, SoundService, Workspace, Players =
game:GetService("UserInputService"), game:GetService("HttpService"),
game:GetService("GuiService"), game:GetService("RunService"),
game:GetService("Stats"), game:GetService("CoreGui"),
game:GetService("TweenService"), game:GetService("SoundService"),
game:GetService("Workspace"), game:GetService("Players")
local Camera, lp, gui_offset = [Link], [Link],
GuiService:GetGuiInset().Y
local mouse = lp:GetMouse()

-- Data types
local vec2, vec3, dim2, dim, rect, dim_offset = [Link], [Link],
[Link], [Link], [Link], [Link]

-- Extra data types


local color, rgb, hex, hsv, rgbseq, rgbkey, numseq, numkey = [Link],
[Link], [Link], [Link], [Link],
[Link], [Link], [Link]
--

-- Library init
getgenv().Library = {
Directory = "xezios",
Folders = {
"/fonts",
"/configs",
},
Flags = {},
ConfigFlags = {},
Connections = {},
Notifications = {Notifs = {}},
OpenElement = {}; -- type: table or userdata
}

local themes = {
preset = {
accent = rgb(108, 109, 152),
window_outline = rgb(0, 0, 0),
inline = rgb(25, 27, 27),
background = rgb(17, 19, 19),
visible_backgrounds = rgb(20, 23, 22),
text_color = rgb(221, 223, 222),
glow = rgb(0, 0, 0),
deselected = rgb(89, 91, 91),
},
utility = {},
gradients = {
Selected = {};
Deselected = {};
},
}

for theme,color in [Link] do


[Link][theme] = {
BackgroundColor3 = {};
TextColor3 = {};
ImageColor3 = {};
ScrollBarImageColor3 = {};
Color = {};
}
end

local Keys = {
[[Link]] = "LS",
[[Link]] = "RS",
[[Link]] = "LC",
[[Link]] = "RC",
[[Link]] = "INS",
[[Link]] = "BS",
[[Link]] = "Ent",
[[Link]] = "LA",
[[Link]] = "RA",
[[Link]] = "CAPS",
[[Link]] = "1",
[[Link]] = "2",
[[Link]] = "3",
[[Link]] = "4",
[[Link]] = "5",
[[Link]] = "6",
[[Link]] = "7",
[[Link]] = "8",
[[Link]] = "9",
[[Link]] = "0",
[[Link]] = "Num1",
[[Link]] = "Num2",
[[Link]] = "Num3",
[[Link]] = "Num4",
[[Link]] = "Num5",
[[Link]] = "Num6",
[[Link]] = "Num7",
[[Link]] = "Num8",
[[Link]] = "Num9",
[[Link]] = "Num0",
[[Link]] = "-",
[[Link]] = "=",
[[Link]] = "~",
[[Link]] = "[",
[[Link]] = "]",
[[Link]] = ")",
[[Link]] = "(",
[[Link]] = ",",
[[Link]] = "'",
[[Link]] = "\\",
[[Link]] = ",",
[[Link]] = ".",
[[Link]] = "/",
[[Link]] = "*",
[[Link]] = "+",
[[Link]] = ".",
[[Link]] = "`",
[[Link].MouseButton1] = "MB1",
[[Link].MouseButton2] = "MB2",
[[Link].MouseButton3] = "MB3",
[[Link]] = "ESC",
[[Link]] = "SPC",
}

Library.__index = Library

for _,path in [Link] do


makefolder([Link] .. path)
end

local Flags = [Link]


local ConfigFlags = [Link]
local Notifications = [Link]
--

-- Library functions
-- Misc functions
function Library:GetTransparency(obj)
if obj:IsA("Frame") then
return {"BackgroundTransparency"}
elseif obj:IsA("TextLabel") or obj:IsA("TextButton") then
return { "TextTransparency", "BackgroundTransparency" }
elseif obj:IsA("ImageLabel") or obj:IsA("ImageButton") then
return { "BackgroundTransparency", "ImageTransparency" }
elseif obj:IsA("ScrollingFrame") then
return { "BackgroundTransparency", "ScrollBarImageTransparency" }
elseif obj:IsA("TextBox") then
return { "TextTransparency", "BackgroundTransparency" }
elseif obj:IsA("UIStroke") then
return { "Transparency" }
end

return nil
end

function Library:Tween(Object, Properties, Info)


local tween = TweenService:Create(Object, Info or [Link](0.25,
[Link], [Link], 0, false, 0), Properties)
tween:Play()

return tween
end

function Library:Fade(obj, prop, vis, speed)


if not (obj and prop) then
return
end
local OldTransparency = obj[prop]
obj[prop] = vis and 1 or OldTransparency

local Tween = Library:Tween(obj, { [prop] = vis and OldTransparency or


1 }, [Link](speed or 0.25, [Link],
[Link], 0, false, 0))

Library:Connection([Link], function()
if not vis then
[Link]()
obj[prop] = OldTransparency
end
end)

return Tween
end

function Library:Resizify(Parent)
local Resizing = Library:Create("TextButton", {
Position = dim2(1, -10, 1, -10);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 10, 0, 10);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255);
Parent = Parent;
BackgroundTransparency = 1;
Text = ""
})

local IsResizing = false


local Size
local InputLost
local ParentSize = [Link]

[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 then
IsResizing = true
InputLost = [Link]
Size = [Link]
end
end)

[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 then
IsResizing = false
end
end)

Library:Connection([Link], function(input,
game_event)
if IsResizing and [Link] ==
[Link] then
[Link] = dim2(
[Link],
[Link]([Link] + ([Link].X -
InputLost.X), [Link], [Link].X),
[Link],
[Link]([Link] + ([Link].Y -
InputLost.Y), [Link], [Link].Y)
)
end
end)
end

function Library:Hovering(Object)
if type(Object) == "table" then
local Pass = false;

for _,obj in Object do


if Library:Hovering(obj) then
Pass = true
return Pass
end
end
else
local y_cond = [Link].Y <= mouse.Y and mouse.Y <=
[Link].Y + [Link].Y
local x_cond = [Link].X <= mouse.X and mouse.X <=
[Link].X + [Link].X

return (y_cond and x_cond)


end
end

function Library:Draggify(Parent)
local Dragging = false
local IntialSize = [Link]
local InitialPosition

[Link]:Connect(function(Input)
if [Link] == [Link].MouseButton1 then
Dragging = true
InitialPosition = [Link]
InitialSize = [Link]
end
end)

[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 then
Dragging = false
end
end)

Library:Connection([Link], function(Input,
game_event)
if Dragging and [Link] ==
[Link] then
local Horizontal = [Link].X
local Vertical = [Link].Y

local NewPosition = dim2(


0,
[Link](
[Link] + ([Link].X -
InitialPosition.X),
0,
Horizontal - [Link]
),
0,
[Link](
[Link] + ([Link].Y -
InitialPosition.Y),
0,
Vertical - [Link]
)
)

[Link] = NewPosition
end
end)
end

function Library:Convert(str)
local Values = {}

for Value in [Link](str, "[^,]+") do


[Link](Values, tonumber(Value))
end

if #Values == 4 then
return unpack(Values)
else
return
end
end

function Library:Lerp(start, finish, t)


t = t or 1 / 8

return start * (1 - t) + finish * t


end

function Library:ConvertEnum(enum)
local EnumParts = {}

for part in [Link](enum, "[%w_]+") do


insert(EnumParts, part)
end

local EnumTable = Enum

for i = 2, #EnumParts do
local EnumItem = EnumTable[EnumParts[i]]

EnumTable = EnumItem
end

return EnumTable
end

function Library:ConvertHex(color, alpha)


local r = [Link](color.R * 255)
local g = [Link](color.G * 255)
local b = [Link](color.B * 255)
local a = alpha and [Link](alpha * 255) or 255
return [Link]("#%02X%02X%02X%02X", r, g, b, a)
end
function Library:ConvertFromHex(color)
color = color:gsub("#", "")
local r = tonumber(color:sub(1, 2), 16) / 255
local g = tonumber(color:sub(3, 4), 16) / 255
local b = tonumber(color:sub(5, 6), 16) / 255
local a = tonumber(color:sub(7, 8), 16) and tonumber(color:sub(7, 8),
16) / 255 or 1
return [Link](r, g, b), a
end

local ConfigHolder;
function Library:UpdateConfigList()
if not ConfigHolder then
print("no exist :(")
return
end

local List = {}

for _,file in listfiles([Link] .. "/configs") do


local Name = file:gsub([Link] .. "/configs\\",
""):gsub(".cfg", ""):gsub([Link] .. "\\configs\\", "")
List[#List + 1] = Name
end

for _,v in List do


print(_,v)
end

[Link](List)
end

function Library:Keypicker(properties)
local Cfg = {
Name = [Link] or "Color",
Flag = [Link] or [Link] or "Colorpicker",
Callback = [Link] or function() end,

Color = [Link] or color(1, 1, 1), -- Default to white


color if not provided
Alpha = [Link] or [Link] or 0,

Mode = [Link] or "Keypicker"; -- Animation

-- Other
Open = false,
Items = {};
}

local DraggingSat = false


local DraggingHue = false
local DraggingAlpha = false

local h, s, v = [Link]:ToHSV()
local a = [Link]

Flags[[Link]] = {Color = [Link], Transparency = [Link]}


local Items = [Link]; do
-- Component
[Link] = Library:Create( "TextButton" , {
Active = false;
BorderColor3 = rgb(0, 0, 0);
Text = "";
AutoButtonColor = false;
Name = "\0";
LayoutOrder = -1;
Parent = [Link];
Size = dim2(0, 28, 0, 14);
Selectable = false;
BorderSizePixel = 0;
BackgroundColor3 = rgb(26, 28, 28)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(119, 180, 91)
});

Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 4)
});

Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 4)
});
--

-- Colorpicker
[Link] = Library:Create( "TextButton" , {
Parent = [Link];
Text = "";
AutoButtonColor = false;
Active = false;
Name = "\0";
Position = dim2(0, 100, 0, 10);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 230, 0, 200);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
BackgroundTransparency = 1;
ZIndex = 500;
Name = "\0";
Position = dim2(0, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

Library:Create( "UICorner" , {
Parent = [Link]
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link].visible_backgrounds
}); Library:Themify([Link], "visible_backgrounds",
"BackgroundColor3")

Library:Create( "UICorner" , {
Parent = [Link]
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 26);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 0, 1);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Position = dim2(0, 1, 0, 2);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -4, 1, -3);
BorderSizePixel = 0;
BackgroundColor3 = rgb(40, 40, 40)
});

[Link] = Library:Create( "Frame" , {


Name = "\0";
Parent = [Link];
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -38, 1, -43);
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 0, 0)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 221, 255)
});

[Link] = Library:Create( "TextButton" , {


Name = "\0";
Text = "";
AutoButtonColor = false;
Parent = [Link];
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIGradient" , {
Parent = [Link];
Transparency = numseq{numkey(0, 0), numkey(1, 1)}
});

[Link] = Library:Create( "Frame" , {


Name = "\0";
Parent = [Link];
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 3, 0, 3);
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 0, 0)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Size = dim2(1, 0, 1, 0);
BorderColor3 = rgb(0, 0, 0);
ZIndex = 2;
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});
Library:Create( "UIGradient" , {
Rotation = 270;
Transparency = numseq{numkey(0, 0), numkey(1, 1)};
Parent = [Link];
Color = rgbseq{rgbkey(0, rgb(0, 0, 0)), rgbkey(1, rgb(0, 0,
0))}
});

[Link] = Library:Create( "Frame" , {


AnchorPoint = vec2(0, 1);
Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 1, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -39, 0, 18);
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 0, 0)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "background",
"BackgroundColor3")

[Link] = Library:Create( "TextBox" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
Parent = [Link];
TextColor3 = rgb(239, 239, 239);
BorderColor3 = rgb(0, 0, 0);
Text = "255, 255, 255, 0.5";
Name = "\0";
Size = dim2(1, 0, 1, 0);
Selectable = false;
BorderSizePixel = 0;
BackgroundTransparency = 1;
TextXAlignment = [Link];
Active = false;
AutomaticSize = [Link];
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
});
[Link] = Library:Create( "Frame" , {
AnchorPoint = vec2(0, 1);
Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 1, -22);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -39, 0, 18);
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 0, 0)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "background",
"BackgroundColor3")

[Link] = Library:Create( "TextBox" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
Parent = [Link];
TextColor3 = rgb(239, 239, 239);
BorderColor3 = rgb(0, 0, 0);
Text = "255, 255, 255, 0.5";
Name = "\0";
Size = dim2(1, 0, 1, 0);
Selectable = false;
BorderSizePixel = 0;
BackgroundTransparency = 1;
Active = false;
TextXAlignment = [Link];
AutomaticSize = [Link];
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "TextButton" , {


Active = false;
BorderColor3 = rgb(0, 0, 0);
Text = "";
AutoButtonColor = false;
AnchorPoint = vec2(1, 1);
Parent = [Link];
Name = "\0";
Position = dim2(1, 2, 1, 0);
Size = dim2(0, 16, 1, 0);
Selectable = false;
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 0, 0)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIGradient" , {
Rotation = 90;
Parent = [Link];
Color = rgbseq{rgbkey(0, rgb(255, 255, 255)), rgbkey(1,
rgb(9, 9, 9))}
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
BorderMode = [Link];
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 2, 0, 3);
Position = dim2(0, -1, 0, -1);
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "TextButton" , {


Active = false;
BorderColor3 = rgb(0, 0, 0);
Text = "";
AutoButtonColor = false;
AnchorPoint = vec2(1, 1);
Parent = [Link];
Name = "\0";
Position = dim2(1, -18, 1, 0);
Size = dim2(0, 16, 1, 0);
Selectable = false;
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 0, 0)
});
[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

Items.hue_drag = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIGradient" , {
Rotation = 90;
Parent = Items.hue_drag;
Color = rgbseq{rgbkey(0, rgb(255, 0, 0)), rgbkey(0.17,
rgb(255, 255, 0)), rgbkey(0.33, rgb(0, 255, 0)), rgbkey(0.5, rgb(0, 255, 255)),
rgbkey(0.67, rgb(0, 0, 255)), rgbkey(0.83, rgb(255, 0, 255)), rgbkey(1, rgb(255, 0,
0))}
});

[Link] = Library:Create( "Frame" , {


Parent = Items.hue_drag;
Name = "\0";
BorderMode = [Link];
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 2, 0, 3);
Position = dim2(0, -1, 0, -1);
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIPadding" , {
PaddingTop = dim(0, 2);
PaddingBottom = dim(0, 3);
Parent = [Link];
PaddingRight = dim(0, 3);
PaddingLeft = dim(0, 2)
});
--
end;

function [Link](bool)
[Link] = 0
Library:Tween([Link], {BackgroundTransparency = 1})

[Link] = bool
[Link] = bool and [Link] or [Link]
[Link] = dim2(0, [Link].X +
2, 0, [Link].Y + 74)
end
function [Link](color, alpha)
if type(color) == "boolean" then
return
end

if color then
h, s, v = color:ToHSV()
end

if alpha then
a = alpha
end

local Color = hsv(h, s, v)

[Link] = dim2(s, 0, 1 - v, 0)
[Link] = dim2(0, -1, a, -1)
[Link] = dim2(0, -1, h, -1)

[Link].BackgroundColor3 = hsv(h,s,v)
[Link].BackgroundColor3 = hsv(h,1,1)

Flags[[Link]] = {
Color = Color;
Transparency = a
}

local Color = [Link].BackgroundColor3 -- Overwriting to


format<<
[Link] = [Link]("%s, %s, %s, ",
Library:Round(Color.R * 255), Library:Round(Color.G * 255), Library:Round(Color.B *
255))
[Link] ..= Library:Round(1 - a, 0.01)

[Link] = Library:ConvertHex(Color, 1 - a)

[Link](Color, a)
end

function [Link]()
local Mouse = InputService:GetMouseLocation()
local offset = vec2(Mouse.X, Mouse.Y - gui_offset)

if DraggingSat then
s = [Link]((offset - [Link]).X /
[Link].X, 0, 1)
v = 1 - [Link]((offset - [Link]).Y /
[Link].Y, 0, 1)
elseif DraggingHue then
h = [Link]((offset - [Link]).Y /
[Link].Y, 0, 1)
elseif DraggingAlpha then
a = [Link]((offset - [Link]).Y /
[Link].Y, 0, 1)
end

[Link]()
end
[Link].MouseButton1Click:Connect(function()
[Link] = not [Link]
[Link]([Link])
end)

[Link]:Connect(function(input)
if (DraggingSat or DraggingHue or DraggingAlpha) and
[Link] == [Link] then
[Link]()
end
end)

Library:Connection([Link], function(input)
if [Link] == [Link].MouseButton1 then
DraggingSat = false
DraggingHue = false
DraggingAlpha = false

if not Library:Hovering({[Link], [Link]}) then


[Link](false)
[Link] = false
end
end
end)

Library:Connection([Link], function(input, game_event)


if [Link] == [Link].MouseButton1 then
if not Library:Hovering({[Link], [Link]}) then
[Link](false)
[Link] = false
end
end
end)

[Link].MouseButton1Down:Connect(function()
DraggingAlpha = true
end)

[Link].MouseButton1Down:Connect(function()
DraggingHue = true
end)

[Link].MouseButton1Down:Connect(function()
DraggingSat = true
end)

[Link]:Connect(function()
local text = [Link]
local r, g, b, a = Library:Convert(text)

if r and g and b and a then


[Link](rgb(r, g, b), 1 - a)
end
end)

[Link]:Connect(function()
local Color, Alpha = Library:ConvertFromHex([Link])
[Link](Color, 1 - Alpha)
end)
[Link]([Link], [Link])
ConfigFlags[[Link]] = [Link]

return setmetatable(Cfg, Library)


end

function Library:GetConfig()
local Config = {}

for Idx, Value in Flags do


if type(Value) == "table" and [Link] then
Config[Idx] = {active = [Link], mode = [Link], key =
tostring([Link])}
elseif type(Value) == "table" and Value["Transparency"] and
Value["Color"] then
Config[Idx] = {Transparency = Value["Transparency"], Color =
Value["Color"]:ToHex()}
else
Config[Idx] = Value
end
end

return HttpService:JSONEncode(Config)
end

function Library:LoadConfig(JSON)
local Config = HttpService:JSONDecode(JSON)

for Idx, Value in Config do


if Idx == "config_name_list" then
continue
end

local Function = ConfigFlags[Idx]

if Function then
if type(Value) == "table" and Value["Transparency"] and
Value["Color"] then
Function(hex(Value["Color"]), Value["Transparency"])
elseif type(Value) == "table" and Value["Active"] then
Function(Value)
else
Function(Value)
end
end
end
end

function Library:Round(num, float)


local Multiplier = 1 / (float or 1)
return [Link](num * Multiplier + 0.5) / Multiplier
end

function Library:Themify(instance, theme, property)


[Link]([Link][theme][property], instance)
end

function Library:SaveGradient(instance, theme) -- instance, tabfill or


background, color
[Link]([Link][theme], instance)
end

--[[
gradients = {
Selected = {};
Deselected = {};
},
gradient_preset = {
Selected = rgbseq{rgbkey(0, [Link]), rgbkey(1,
[Link])};
Deselected = rgbseq{rgbkey(0, [Link]), rgbkey(1,
[Link])};
},
]]

function Library:RefreshTheme(theme, color)


for property,instances in [Link][theme] do
for _,object in instances do
if object[property] == [Link][theme] then
object[property] = color
end
end
end

[Link][theme] = color
end

function Library:Connection(signal, callback)


local connection = signal:Connect(callback)

[Link]([Link], connection)

return connection
end

function Library:CloseElement()
if not ([Link] and [Link]) then
return
end

[Link](false)
[Link] = false
end

function Library:Create(instance, options)


local ins = [Link](instance)

for prop, value in options do


ins[prop] = value
end

if ins == "TextButton" then


ins["AutoButtonColor"] = false
ins["Text"] = ""
end

return ins
end

function Library:Unload()
if [Link] then
[Link]:Destroy()
end

if [Link] then
[Link]:Destroy()
end

for _,connection in [Link] do


connection:Disconnect()
connection = nil
end

getgenv().Library = nil
end
--

-- Library element functions


function Library:Window(properties)
local Cfg = {
Prefix = [Link] or "XEZIOS";
Suffix = [Link] or "PRIME";
Size = [Link] or dim2(0, 620, 0, 471);
TabInfo;
Items = {};
}

[Link] = Library:Create( "ScreenGui" , {


Parent = CoreGui;
Name = "\0";
Enabled = true;
ZIndexBehavior = [Link];
IgnoreGuiInset = true;
});

[Link] = Library:Create( "ScreenGui" , {


Parent = CoreGui;
Name = "\0";
Enabled = false;
ZIndexBehavior = [Link];
IgnoreGuiInset = true;
});

local Items = [Link]; do


[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
Position = dim2(0.5, -[Link] / 2, 0.5, -
[Link] / 2);
BorderColor3 = rgb(0, 0, 0);
Size = [Link];
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 0, 0)
}); [Link] = dim2(0,
[Link].X, 0, [Link].Y);
Library:Themify([Link], "window_outline", "BackgroundColor3");
[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
Size = dim2(1, 0, 1, 0);
BorderColor3 = rgb(0, 0, 0);
ZIndex = 2;
BorderSizePixel = 0;
BackgroundColor3 = rgb(0, 0, 0)
}); Library:Themify([Link], "window_outline",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 139, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(12, 14, 14)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(1, -1, 0, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 1, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
BackgroundTransparency = 1;
Name = "\0";
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIListLayout" , {
Parent = [Link];
Padding = dim(0, 6);
SortOrder = [Link]
});

Library:Create( "UIPadding" , {
Parent = [Link];
PaddingTop = dim(0, 6)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 140, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -141, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "background",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
BackgroundTransparency = 1;
Name = "\0";
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 0, 43);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 0, 1, -1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 0, 1);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "TextLabel" , {


RichText = true;
Parent = [Link];
TextColor3 = [Link];
BorderColor3 = rgb(0, 0, 0);
Text = '<font color = "rgb(255,255,255)">' .. [Link] ..
'</font> ' .. [Link] .. '';
Name = "\0";
AutomaticSize = [Link];
AnchorPoint = vec2(0, 0.5);
BorderSizePixel = 0;
BackgroundTransparency = 1;
Position = dim2(0, 0, 0.5, 0);
FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
ZIndex = 2;
TextSize = 20;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "accent", "TextColor3")

Library:Create( "UIPadding" , {
Parent = [Link];
PaddingRight = dim(0, 8);
PaddingLeft = dim(0, 13)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Position = dim2(0, 0, 0, 43);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 1, -43);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "Frame" , {


Name = "\0";
BackgroundTransparency = 1;
Parent = [Link];
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = rgb(17, 19, 19);
ZIndex = 2;
}); Library:Themify([Link], "background",
"BackgroundColor3")

[Link] = Library:Create( "ImageLabel" , {


ImageColor3 = rgb(0, 0, 0);
ScaleType = [Link];
ImageTransparency = 0.6499999761581421;
BorderColor3 = rgb(0, 0, 0);
Parent = [Link];
Name = "\0";
Size = dim2(1, 40, 1, 40);
Image = "rbxassetid://18245826428";
BackgroundTransparency = 1;
Position = dim2(0, -20, 0, -20);
BackgroundColor3 = rgb(255, 255, 255);
BorderSizePixel = 0;
SliceCenter = rect(vec2(21, 21), vec2(79, 79))
}); Library:Themify([Link], "glow", "ImageColor3")

end

do -- Other
Library:Draggify([Link])
Library:Resizify([Link])
end

function [Link](bool)
if [Link] then
return
end

[Link] = true

[Link] = true

local Children = [Link]:GetDescendants()


[Link](Children, [Link])
local Tween;
for _,obj in Children do
local Index = Library:GetTransparency(obj)

if not Index then


continue
end

if type(Index) == "table" then


for _,prop in Index do
Tween = Library:Fade(obj, prop, bool)
end
else
Tween = Library:Fade(obj, Index, bool)
end
end

Library:Connection([Link], function()
[Link]()
[Link] = false
[Link] = bool
end)
end

function [Link](text)
[Link] = text
end

function [Link](bool)
Items.Keybind_List.Visible = bool
end

return setmetatable(Cfg, Library)


end

function Library:Tab(properties)
local Cfg = {
Name = [Link] or [Link] or "visuals";
Icon = [Link] or [Link] or
"rbxassetid://112730572155522";
Items = {};
}

local Items = [Link]; do


-- Tab buttons
[Link] = Library:Create( "TextButton" , {
Active = false;
BorderColor3 = rgb(0, 0, 0);
Text = "";
AutoButtonColor = false;
Parent = [Link];
BackgroundTransparency = 1;
Name = "\0";
Size = dim2(1, 0, 0, 30);
Selectable = false;
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});
[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Position = dim2(0, 6, 0, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -13, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = [Link].visible_backgrounds
}); Library:Themify([Link], "visible_backgrounds",
"BackgroundColor3")

[Link] = Library:Create( "ImageLabel" , {


ImageColor3 = [Link];
BorderColor3 = rgb(0, 0, 0);
Parent = [Link];
Name = "\0";
AnchorPoint = vec2(0, 0.5);
Image = [Link];
BackgroundTransparency = 1;
Position = dim2(0, 8, 0.5, 0);
Size = dim2(0, 14, 0, 14);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "deselected", "ImageColor3");
Library:Themify([Link], "accent", "ImageColor3")

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link];
BorderColor3 = rgb(0, 0, 0);
Text = [Link];
Parent = [Link];
Name = "\0";
AnchorPoint = vec2(0, 0.5);
AutomaticSize = [Link];
BackgroundTransparency = 1;
Position = dim2(0, 22, 0.5, 0);
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(12, 14, 14)
}); Library:Themify([Link], "text_color",
"TextColor3") Library:Themify([Link], "deselected", "TextColor3")
[Link].TextColor3 = [Link];
Library:Create( "UIPadding" , {
Parent = [Link];
PaddingRight = dim(0, 8);
PaddingLeft = dim(0, 8)
});

[Link] = Library:Create( "ImageLabel" , {


ImageColor3 = [Link];
ImageTransparency = 1;
BackgroundTransparency = 1;
BorderColor3 = rgb(0, 0, 0);
Parent = [Link];
AnchorPoint = vec2(0, 0.5);
Image = "rbxassetid://126397903791071";
Name = "\0";
Position = dim2(0, 0, 0.5, 0);
Size = dim2(0, 2, 0, 19);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "accent", "ImageColor3")

--

-- Page directory
[Link] = Library:Create( "Frame" , {
Parent = [Link]; -- [Link];
Visible = false;
BackgroundTransparency = 1;
Name = "\0";
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIListLayout" , {
FillDirection = [Link];
HorizontalFlex = [Link];
Parent = [Link];
Padding = dim(0, 6);
SortOrder = [Link];
VerticalFlex = [Link]
});

Library:Create( "UIPadding" , {
PaddingTop = dim(0, 6);
PaddingBottom = dim(0, 6);
Parent = [Link];
PaddingRight = dim(0, 6);
PaddingLeft = dim(0, 6)
});

[Link] = Library:Create( "ScrollingFrame" , {


ScrollBarImageColor3 = rgb(0, 0, 0);
Active = true;
AutomaticCanvasSize = [Link].Y;
ScrollBarThickness = 0;
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Size = dim2(0, 100, 0, 100);
BackgroundColor3 = rgb(255, 255, 255);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
CanvasSize = dim2(0, 0, 0, 0)
});

Library:Create( "UIListLayout" , {
Parent = [Link];
Padding = dim(0, 6);
SortOrder = [Link];
HorizontalFlex = [Link]
});

[Link] = Library:Create( "ScrollingFrame" , {


ScrollBarImageColor3 = rgb(0, 0, 0);
Active = true;
AutomaticCanvasSize = [Link].Y;
ScrollBarThickness = 0;
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Size = dim2(0, 100, 0, 100);
BackgroundColor3 = rgb(255, 255, 255);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
CanvasSize = dim2(0, 0, 0, 0)
});

Library:Create( "UIListLayout" , {
Parent = [Link];
Padding = dim(0, 6);
SortOrder = [Link];
HorizontalFlex = [Link]
});
--
end

function [Link]()
local Tab = [Link]

if Tab then
Library:Tween([Link], {ImageTransparency = 1})
Library:Tween([Link], {BackgroundTransparency = 1})
Library:Tween([Link], {ImageColor3 =
[Link]})
Library:Tween([Link], {TextColor3 =
[Link]})

[Link] = false
[Link] = [Link]
end

[Link] = 0
Library:Tween([Link], {BackgroundTransparency = 1})

Library:Tween([Link], {ImageTransparency = 0})


Library:Tween([Link], {BackgroundTransparency = 0})
Library:Tween([Link], {ImageColor3 = [Link]})
Library:Tween([Link], {TextColor3 =
[Link].text_color})

[Link] = [Link];
[Link] = true

[Link] = [Link]
end

[Link].MouseButton1Down:Connect(function()
[Link]()
end)

if not [Link] then


[Link]()
end

return setmetatable(Cfg, Library)


end

function Library:Section(properties)
local Cfg = {
Name = [Link] or [Link] or "Section";
Side = [Link] or [Link] or "Left";

-- Fill settings
-- Size = [Link] or [Link] or nil;

-- Other
Items = {};
};

local Items = [Link]; do


[Link] = Library:Create( "Frame" , {
Parent = [Link][ [Link] ];
Name = "\0";
Size = dim2(0, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Size = dim2(1, -2, 1, -2);
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = [Link].visible_backgrounds
}); Library:Themify([Link], "visible_backgrounds",
"BackgroundColor3")

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = rgb(145, 145, 145);
BorderColor3 = rgb(0, 0, 0);
Text = [Link];
Parent = [Link];
Name = "\0";
AutomaticSize = [Link];
BackgroundTransparency = 1;
Position = dim2(0, 0, 0, 6);
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIPadding" , {
Parent = [Link];
PaddingRight = dim(0, 8);
PaddingLeft = dim(0, 6)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 26);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 0, 1);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


BorderColor3 = rgb(0, 0, 0);
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Position = dim2(0, 7, 0, 36);
Size = dim2(1, -14, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIListLayout" , {
Parent = [Link];
Padding = dim(0, 7);
SortOrder = [Link]
});

Library:Create( "UIPadding" , {
PaddingBottom = dim(0, 15);
Parent = [Link]
});

Library:Create( "UIPadding" , {
PaddingBottom = dim(0, 2);
Parent = [Link]
});
end;

return setmetatable(Cfg, Library)


end

function Library:Toggle(properties)
local Cfg = {
Name = [Link] or "Toggle";
Flag = [Link] or [Link] or "Toggle";
Enabled = [Link] or false;
Callback = [Link] or function() end;

-- Sub / Group Section


Folding = [Link] or false;
Collapsable = [Link] or true;

Items = {};
}

local Items = [Link]; do


[Link] = Library:Create( "TextButton" , {
Active = false;
TextTransparency = 1;
Text = "";
Parent = [Link];
AutoButtonColor = false;
Name = "\0";
Size = dim2(1, 0, 0, 0);
BackgroundTransparency = 1;
Selectable = false;
BorderSizePixel = 0;
BorderColor3 = rgb(0, 0, 0);
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
Text = [Link];
Parent = [Link];
Name = "\0";
RichText = true;
BackgroundTransparency = 1;
AutomaticSize = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(1, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 0, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIListLayout" , {
FillDirection = [Link];
HorizontalAlignment = [Link];
Parent = [Link];
Padding = dim(0, 7);
SortOrder = [Link]
});
[Link] = Library:Create( "Frame" , {
Name = "\0";
Parent = [Link];
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 29, 0, 14);
BorderSizePixel = 0;
BackgroundColor3 = rgb(26, 28, 28)
});

Library:Create( "UICorner" , {
Parent = [Link]
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(24, 24, 27)
});

Library:Create( "UICorner" , {
Parent = [Link]
});

Library:Create( "UIGradient" , {
Color = rgbseq{rgbkey(0, rgb(213, 213, 213)), rgbkey(1,
rgb(213, 213, 213))};
Parent = [Link]
});

[Link] = Library:Create( "Frame" , {


AnchorPoint = vec2(0, 0.5);
Parent = [Link];
Name = "\0";
Position = dim2(0, 2, 0.5, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 8, 0, 8);
BorderSizePixel = 0;
BackgroundColor3 = rgb(68, 68, 69)
});

Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 999)
});
end;

function [Link](bool)
Flags[[Link]] = bool

[Link](bool)

Library:Tween([Link], {BackgroundColor3 = bool and


[Link] or [Link]})
Library:Tween([Link], {BackgroundColor3 = bool and
[Link] or [Link]})
Library:Tween([Link], {BackgroundColor3 = bool and rgb(255,
255, 255) or [Link], Position = bool and dim2(1, -10, 0.5, 0) or
dim2(0, 2, 0.5, 0)})
end

[Link].MouseButton1Click:Connect(function()
[Link] = not [Link]
[Link]([Link])
end)

[Link]([Link])

ConfigFlags[[Link]] = [Link]

return setmetatable(Cfg, Library)


end

function Library:Slider(properties)
local Cfg = {
Name = [Link],
Suffix = [Link] or "",
Flag = [Link] or [Link] or "Slider",
Callback = [Link] or function() end,

-- Value Settings
Min = [Link] or 0,
Max = [Link] or 100,
Intervals = [Link] or 1,
Value = [Link] or 10,

-- Other
Dragging = false,
Items = {}
}

local Items = [Link]; do


[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Size = dim2(1, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
Text = [Link];
Parent = [Link];
Name = "\0";
RichText = true;
BackgroundTransparency = 1;
AutomaticSize = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(1, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 0, 0, 14);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIListLayout" , {
Parent = [Link];
SortOrder = [Link];
HorizontalAlignment = [Link]
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link];
BorderColor3 = rgb(0, 0, 0);
Text = "0.5";
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
AutomaticSize = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "deselected",
"BackgroundColor3")

[Link] = Library:Create( "TextButton" , {


Active = false;
BorderColor3 = rgb(0, 0, 0);
Text = "";
AutoButtonColor = false;
Parent = [Link];
Name = "\0";
Position = dim2(0, 0, 0, 21);
Size = dim2(1, 0, 0, 7);
Selectable = false;
BorderSizePixel = 0;
BackgroundColor3 = rgb(12, 14, 14)
});

[Link] = Library:Create( "Frame" , {


Name = "\0";
Parent = [Link];
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0.5, 0, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "accent", "BackgroundColor3")

[Link] = Library:Create( "Frame" , {


AnchorPoint = vec2(0.5, 0.5);
Parent = [Link];
Name = "\0";
Position = dim2(1, 0, 0.5, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 11, 0, 11);
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "accent", "BackgroundColor3")

Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 999)
});
end

function [Link](value)
[Link] = [Link](Library:Round(value, [Link]),
[Link], [Link])

[Link] = dim2(([Link] - [Link]) / ([Link] - [Link]),


0, 1, 0)
[Link] = tostring([Link]) .. [Link]

Flags[[Link]] = [Link]
[Link](Flags[[Link]])
end

[Link].MouseButton1Down:Connect(function()
[Link] = true
end)

Library:Connection([Link], function(input)
if [Link] and [Link] ==
[Link] then
local Size = ([Link].X -
[Link].X) / [Link].X
local Value = (([Link] - [Link]) * Size) + [Link]
[Link](Value)
end
end)

Library:Connection([Link], function(input)
if [Link] == [Link].MouseButton1 then
[Link] = false
end
end)

[Link]([Link])
ConfigFlags[[Link]] = [Link]

return setmetatable(Cfg, Library)


end

function Library:Dropdown(properties)
local Cfg = {
Name = [Link] or nil;
Flag = [Link] or [Link] or "Dropdown";
Options = [Link] or {""};
Callback = [Link] or function() end;
Multi = [Link] or false;
Scrolling = [Link] or false;

-- Ignore these
Open = false;
OptionInstances = {};
MultiItems = {};
Items = {};
Tweening = false;
Ignore = [Link] or false;
}

[Link] = [Link] or ([Link] and {[Link][1]}) or


[Link][1] or "None"
Flags[[Link]] = [Link]

local Items = [Link]; do


-- Element
[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Size = dim2(1, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
Text = [Link];
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
RichText = true;
AutomaticSize = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")

[Link] = Library:Create( "TextButton" , {


Active = false;
BorderColor3 = rgb(0, 0, 0);
Text = "";
AutoButtonColor = false;
Parent = [Link];
Name = "\0";
Position = dim2(0, 0, 0, 21);
Size = dim2(1, 0, 0, 20);
Selectable = false;
BorderSizePixel = 0;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(31, 31, 31)
});

[Link] = Library:Create( "ImageLabel" , {


ImageColor3 = rgb(219, 222, 221);
BorderColor3 = rgb(0, 0, 0);
Parent = [Link];
Name = "\0";
AnchorPoint = vec2(0, 0.5);
Image = "rbxassetid://70449495580650";
BackgroundTransparency = 1;
Position = dim2(1, -15, 0.5, 0);
Size = dim2(0, 11, 0, 9);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
Text = "Option1, Option2, Option3";
Parent = [Link];
Name = "\0";
AnchorPoint = vec2(0, 0.5);
AutomaticSize = [Link];
BackgroundTransparency = 1;
Position = dim2(0, 4, 0.5, 1);
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")
--

-- Element Holder
[Link] = Library:Create( "Frame" , {
Parent = [Link];
Size = dim2(0, 211, 0, 20);
Name = "\0";
Position = dim2(0, 0, 0, 21);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Size = dim2(1, -2, 1, -2);
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(31, 31, 31)
});

Library:Create( "UIListLayout" , {
Parent = [Link];
SortOrder = [Link]
});

Library:Create( "UIPadding" , {
PaddingBottom = dim(0, 2);
Parent = [Link]
});
--
end

function [Link](text)
local Button = Library:Create( "TextButton" , {
Parent = [Link];
AutoButtonColor = false;
FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
Name = "\0";
TextColor3 = [Link];
BorderColor3 = rgb(0, 0, 0);
Text = text;
AutomaticSize = [Link];
Size = dim2(1, 0, 0, 0);
AnchorPoint = vec2(0, 0.5);
Position = dim2(0, 4, 0.5, 1);
BackgroundTransparency = 1;
TextXAlignment = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify(Button, "deselected", "TextColor3")

Library:Create( "UIPadding" , {
PaddingTop = dim(0, 4);
PaddingBottom = dim(0, 4);
Parent = Button;
PaddingRight = dim(0, 4);
PaddingLeft = dim(0, 4)
});
[Link]([Link], Button)

return Button
end

function [Link](bool)
[Link] = dim2(0,
[Link].X, 0, [Link].Y + 80)
[Link] =
dim_offset([Link].X + 1, 0)
[Link] = bool
[Link] = bool and [Link] or
[Link]

Library:Tween([Link], {Rotation = bool and 180 or 0})


end

function [Link](value)
local Selected = {}
local IsTable = type(value) == "table"

for _,option in [Link] do


if [Link] == value or (IsTable and [Link](value,
[Link])) then
[Link](Selected, [Link])
[Link] = Selected
option.TextColor3 = [Link].text_color
[Link] = 0.95
else
option.TextColor3 = [Link]
[Link] = 1
end
end

[Link] = if IsTable then [Link](Selected, ", ")


else Selected[1] or ""
Flags[[Link]] = if IsTable then Selected else Selected[1]

[Link](Flags[[Link]])
end

function [Link](options)
for _,option in [Link] do
option:Destroy()
end

[Link] = {}

for _,option in options do


local Button = [Link](option)

Button.MouseButton1Down:Connect(function()
if [Link] then
local Selected = [Link]([Link],
[Link])

if Selected then
[Link]([Link], Selected)
else
[Link]([Link], [Link])
end

[Link]([Link])
else
[Link](false)
[Link] = false

[Link]([Link])
end
end)
end
end

[Link].MouseButton1Click:Connect(function()
[Link] = not [Link]

[Link]([Link])
end)

Library:Connection([Link], function(input, game_event)


if [Link] == [Link].MouseButton1 then
if not Library:Hovering({[Link],
[Link]}) then
[Link](false)
[Link] = false
end
end
end)

Flags[[Link]] = {}
ConfigFlags[[Link]] = [Link]

[Link]([Link])
[Link]([Link])

return setmetatable(Cfg, Library)


end

function Library:Label(properties)
local Cfg = {
Name = [Link] or "Label",

-- Other
Items = {};
}

local Items = [Link]; do


[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Size = dim2(1, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(255, 255, 255)
});
[Link] = Library:Create( "TextLabel" , {
FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
Text = [Link];
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
RichText = true;
AutomaticSize = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(1, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 0, 1, 0);
BorderSizePixel = 0;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIListLayout" , {
FillDirection = [Link];
HorizontalAlignment = [Link];
Parent = [Link];
Padding = dim(0, 7);
SortOrder = [Link]
});
end

function [Link](Text)
[Link] = Text
end

return setmetatable(Cfg, Library)


end

function Library:Colorpicker(properties)
local Cfg = {
Name = [Link] or "Color",
Flag = [Link] or [Link] or "Colorpicker",
Callback = [Link] or function() end,

Color = [Link] or color(1, 1, 1), -- Default to white


color if not provided
Alpha = [Link] or [Link] or 0,

-- Other
Open = false;
Items = {};
}
local Picker = self:Keypicker(Cfg)

local Items = [Link]; do


[Link] = Items
[Link] = [Link]
end;

[Link]([Link], [Link])
ConfigFlags[[Link]] = [Link]

return setmetatable(Cfg, Library)


end

function Library:Textbox(properties)
local Cfg = {
Name = [Link] or "TextBox",
PlaceHolder = [Link] or [Link]
or [Link] or [Link] or "Type here...",
Default = [Link] or "",
Flag = [Link] or [Link] or "TextBox",
Callback = [Link] or function() end,

Items = {};
}

Flags[[Link]] = [Link]

local Items = [Link]; do


[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Size = dim2(1, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
RichText = true;
Text = [Link];
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
AutomaticSize = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 0, 0, 21);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, 0, 0, 20);
BorderSizePixel = 0;
BackgroundColor3 = rgb(26, 28, 28)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(31, 31, 31)
});

[Link] = Library:Create( "TextBox" , {


Parent = [Link];
FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
Name = "\0";
Active = false;
BorderColor3 = rgb(0, 0, 0);
Text = "hello theree!!";
Size = dim2(1, 0, 1, 0);
Selectable = false;
Position = dim2(0, 3, 0, 0);
BorderSizePixel = 0;
TextTruncate = [Link];
BackgroundTransparency = 1;
TextXAlignment = [Link];
AutomaticSize = [Link];
TextColor3 = rgb(239, 239, 239);
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
});
end

function [Link](text)
Flags[[Link]] = text

[Link] = text

[Link](text)
end

[Link]:GetPropertyChangedSignal("Text"):Connect(function()
[Link]([Link])
end)

if [Link] then
[Link]([Link])
end

ConfigFlags[[Link]] = [Link]

return setmetatable(Cfg, Library)


end

function Library:Keybind(properties)
local Cfg = {
Flag = [Link] or [Link];
Callback = [Link] or function() end;
Name = [Link] or nil;

Key = [Link] or nil;


Mode = [Link] or "Toggle";
Active = [Link] or false;

Open = false;
Binding;
Ignore = false;

Items = {}
}

Flags[[Link]] = {
Mode = [Link],
Key = [Link],
Active = [Link]
}

local Items = [Link]; do


-- Component
[Link] = Library:Create( "TextButton" , {
Active = false;
LayoutOrder = -1;
BorderColor3 = rgb(0, 0, 0);
Text = "";
AutoButtonColor = false;
Parent = [Link];
Name = "\0";
Size = dim2(0, 28, 0, 14);
Selectable = false;
BorderSizePixel = 0;
AutomaticSize = [Link].X;
BackgroundColor3 = rgb(26, 28, 28)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Size = dim2(1, -2, 1, -2);
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].X;
BackgroundColor3 = rgb(31, 31, 31)
});

Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 4)
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
Text = "LSHIFT";
Parent = [Link];
Name = "\0";
TextXAlignment = [Link];
BackgroundTransparency = 1;
AutomaticSize = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")

Library:Create( "UIPadding" , {
Parent = [Link];
PaddingRight = dim(0, 4);
PaddingLeft = dim(0, 5);
PaddingBottom = dim(0, 2);
});

Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 4)
});
--

-- Mode Holder
[Link] = Library:Create( "TextButton" , {
Name = "\0";
Text = "";
AutoButtonColor = false;
Position = dim2(0.5217983722686768, 0, 0.47139304876327515,
0);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(0, 160, 0, 58);
Visible = false;
Parent = [Link];
BorderSizePixel = 0;
BackgroundColor3 = [Link].visible_backgrounds
}); Library:Themify([Link], "visible_backgrounds",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


BorderColor3 = rgb(0, 0, 0);
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Position = dim2(0, 7, 0, 7);
Size = dim2(1, -14, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(255, 255, 255)
});

Library:Create( "UIListLayout" , {
Parent = [Link];
Padding = dim(0, 7);
SortOrder = [Link]
});

Library:Create( "UIPadding" , {
PaddingBottom = dim(0, 15);
Parent = [Link]
});

[Link] = setmetatable(Cfg, Library):Dropdown({Name =


"Mode", Options = {"Hold", "Toggle", "Always"}, Flag = [Link] ..
"OPTION_SETTINGS", Callback = function(options)
if [Link] then
[Link](options)
end
end})
--
end

function [Link](mode)
[Link] = mode

if mode == "Always" then


[Link](true)
elseif mode == "Hold" then
[Link](false)
end

Flags[[Link]].Mode = mode
end

function [Link](input)
if type(input) == "boolean" then
[Link] = input

if [Link] == "Always" then


[Link] = true
end
elseif tostring(input):find("Enum") then
input = [Link] == "Escape" and "NONE" or input

[Link] = input or "NONE"


elseif [Link]({"Toggle", "Hold", "Always"}, input) then
if input == "Always" then
[Link] = true
end

[Link] = input
[Link]([Link])
elseif type(input) == "table" then
[Link] = type([Link]) == "string" and [Link] ~= "NONE"
and Library:ConvertEnum([Link]) or [Link]
[Link] = [Link] == [Link] and "NONE" or
[Link]

[Link] = [Link] or "NONE"


[Link] = [Link] or "Toggle"
if [Link] then
[Link] = [Link]
end

[Link]([Link])
end

[Link]([Link])

local text = (tostring([Link]) ~= "Enums" and (Keys[[Link]] or


tostring([Link]):gsub("Enum.", "")) or nil)
local __text = text and tostring(text):gsub("KeyCode.",
""):gsub("UserInputType.", "")

[Link] = " " .. __text .. " "

if [Link] then
[Link] = 1
Library:Tween([Link], {TextTransparency = 0})

[Link] = 1
Library:Tween([Link], {Transparency = 0})

[Link] = [Link]
[Link] = [Link]("[%s]: %s", __text,
[Link] or [Link] or "Key")
end

Flags[[Link]] = {
mode = [Link],
key = [Link],
active = [Link]
}
end

function [Link](bool)
-- [Link] = 0
-- Library:Tween([Link], {BackgroundTransparency = 1})

[Link] = bool
[Link] = dim2(0,
[Link].X + 2, 0,
[Link].Y + 74)
end

[Link].MouseButton1Down:Connect(function()
[Link]()
[Link] = " ... "

[Link] = Library:Connection([Link],
function(keycode, game_event)
[Link]([Link] ~= [Link] and
[Link] or [Link])

[Link]:Disconnect()
[Link] = nil
end)
end)
[Link].MouseButton2Down:Connect(function()
[Link] = not [Link]

[Link]([Link])
end)

Library:Connection([Link], function(input, game_event)

if [Link] == [Link].MouseButton1 then


if not Library:Hovering({[Link],
[Link]}) then
[Link](false)
[Link] = false

[Link](false)
[Link] = false;
end
end

if not game_event then


local selected_key = [Link] ==
[Link] and [Link] or [Link]

if selected_key == [Link] then


if [Link] == "Toggle" then
[Link] = not [Link]
[Link]([Link])
elseif [Link] == "Hold" then
[Link](true)
end
end
end
end)

Library:Connection([Link], function(input, game_event)

if game_event then
return
end

local selected_key = [Link] ==


[Link] and [Link] or [Link]

if selected_key == [Link] then


if [Link] == "Hold" then
[Link](false)
end
end
end)

[Link]({Mode = [Link], Active = [Link], Key = [Link]})

ConfigFlags[[Link]] = [Link]
[Link]([Link])

return setmetatable(Cfg, Library)


end

function Library:Button(properties)
local Cfg = {
Name = [Link] or "TextBox",
Callback = [Link] or function() end,

-- Other
Items = {};
}

local Items = [Link]; do


[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
BackgroundTransparency = 1;
Size = dim2(1, 0, 0, 0);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link].Y;
BackgroundColor3 = rgb(255, 255, 255)
});

[Link] = Library:Create( "TextButton" , {


Active = false;
BorderColor3 = rgb(0, 0, 0);
Text = "";
AutoButtonColor = false;
Name = "\0";
Parent = [Link];
Size = dim2(1, 0, 0, 20);
Selectable = false;
BorderSizePixel = 0;
BackgroundColor3 = rgb(26, 28, 28)
});

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = rgb(31, 31, 31)
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
RichText = true;
Text = [Link];
Parent = [Link];
Name = "\0";
AutomaticSize = [Link];
BackgroundTransparency = 1;
Size = dim2(1, 0, 1, 0);
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")
end

[Link].MouseButton1Click:Connect(function()
[Link].TextColor3 = rgb(255, 255, 255)
Library:Tween([Link], {TextColor3 = [Link].text_color})

[Link]()
end)

return setmetatable(Cfg, Library)


end

function Library:Configs(window)
local Text;
local Tab = window:Tab({Name = "Settings"})

local Section = Tab:Section({Name = "Main", Side = "Left"})


ConfigHolder = Section:Dropdown({Name = "Configs", Options = {"Report",
"This", "Error", "To", "Finobe"}, Callback = function(option) if Text then
[Link](option) end end, Flag = "config_Name_list"}); Library:UpdateConfigList()
Section:Textbox({Name = "Config Name:", Flag = "config_Name_text",
default = ""})
Section:Button({Name = "Save", Callback = function() if
Flags["config_Name_text"] == "" then return end writefile([Link] ..
"/configs/" .. Flags["config_Name_text"] .. ".cfg", Library:GetConfig())
Library:UpdateConfigList() Notifications:Create({Name = "Saved Config (" ..
[Link] .. "/configs/" .. Flags["config_Name_text"] .. ".cfg" .. ")"})
end})
Section:Button({Name = "Load", Callback = function() if
Flags["config_Name_text"] == "" then return end
Library:LoadConfig(readfile([Link] .. "/configs/" ..
Flags["config_Name_text"] .. ".cfg")) Library:UpdateConfigList()
Notifications:Create({Name = "Loaded Config (" .. [Link] .. "/configs/"
.. Flags["config_Name_text"] .. ".cfg" .. ")"}) end})
Section:Button({Name = "Delete", Callback = function() if
Flags["config_Name_text"] == "" then return end delfile([Link] ..
"/configs/" .. Flags["config_Name_text"] .. ".cfg") Library:UpdateConfigList()
Notifications:Create({Name = "Deleted Config (" .. [Link] ..
"/configs/" .. Flags["config_Name_text"] .. ".cfg" .. ")"}) end})

local Section = Tab:Section({Name = "Other", Side = "Right"})


Section:Label({Name = "Accent Color"}):Colorpicker({Callback =
function(color, alpha) Library:RefreshTheme("accent", color) end, Color =
[Link]})
Section:Label({Name = "Window Outline"}):Colorpicker({Callback =
function(color, alpha) Library:RefreshTheme("window_outline", color) end, Color =
[Link].window_outline})
Section:Label({Name = "Inline Elements"}):Colorpicker({Callback =
function(color, alpha) Library:RefreshTheme("inline", color) end, Color =
[Link]})
Section:Label({Name = "Main Background"}):Colorpicker({Callback =
function(color, alpha) Library:RefreshTheme("background", color) end, Color =
[Link]})
Section:Label({Name = "Visible Backgrounds"}):Colorpicker({Callback =
function(color, alpha) Library:RefreshTheme("visible_backgrounds", color) end,
Color = [Link].visible_backgrounds})
Section:Label({Name = "Text Color"}):Colorpicker({Callback =
function(color, alpha) Library:RefreshTheme("text_color", color) end, Color =
[Link].text_color})
Section:Label({Name = "Glow Effect"}):Colorpicker({Callback =
function(color, alpha) Library:RefreshTheme("glow", color) end, Color =
[Link]})
Section:Label({Name = "Deselected Elements"}):Colorpicker({Callback =
function(color, alpha) Library:RefreshTheme("deselected", color) end, Color =
[Link]})

[Link] = true
Section:Label({Name = "Menu Bind"}):Keybind({Name = "Menu Bind",
Callback = function(bool)
if [Link] then
return
end

[Link](bool)
end, Default = true})

delay(2, function() [Link] = false end)


end
--

-- Notification Library
function Notifications:RefreshNotifications()
local offset = 50

for i, v in [Link] do
local Position = vec2(20, offset)
Library:Tween(v, {Position = dim_offset(Position.X, Position.Y)},
[Link](1, [Link], [Link]))
offset += ([Link].Y + 10)
end

return offset
end

function Notifications:FadeNotifs(path, is_fading)


local fading = is_fading and 1 or 0

Library:Tween(path, {BackgroundTransparency = fading}, [Link](1,


[Link], [Link]))

for _, instance in path:GetDescendants() do


if not instance:IsA("GuiObject") then
if instance:IsA("UIStroke") then
Library:Tween(instance, {Transparency = fading},
[Link](1, [Link], [Link]))
end

continue
end

if instance:IsA("TextLabel") then
Library:Tween(instance, {TextTransparency = fading},
[Link](1, [Link], [Link]))
elseif instance:IsA("Frame") then
Library:Tween(instance, {BackgroundTransparency =
[Link] and 0.6 and is_fading and 1 or 0.6}, [Link](1,
[Link], [Link]))
end
end
end

function Notifications:Create(properties)
local Cfg = {
Name = [Link] or "This is a title!";
Lifetime = [Link] or 3;

Items = {};
outline;
}

local Items = [Link]; do


[Link] = Library:Create( "Frame" , {
Parent = [Link];
Name = "\0";
Position = dim2(0, 100, 0, 10);
BorderColor3 = rgb(0, 0, 0);
BorderSizePixel = 0;
AutomaticSize = [Link];
BackgroundColor3 = [Link]
}); Library:Themify([Link], "inline",
"BackgroundColor3")

[Link] = Library:Create( "Frame" , {


Parent = [Link];
Name = "\0";
Position = dim2(0, 1, 0, 1);
BorderColor3 = rgb(0, 0, 0);
Size = dim2(1, -2, 1, -2);
BorderSizePixel = 0;
BackgroundColor3 = [Link].visible_backgrounds
}); Library:Themify([Link], "visible_backgrounds",
"BackgroundColor3")

Library:Create( "UICorner" , {
Parent = [Link]
});

[Link] = Library:Create( "TextLabel" , {


FontFace = [Link]("rbxassetid://12187365364",
[Link], [Link]);
TextColor3 = [Link].text_color;
BorderColor3 = rgb(0, 0, 0);
Text = [Link];
Parent = [Link];
Name = "\0";
AutomaticSize = [Link];
BackgroundTransparency = 1;
TextXAlignment = [Link];
BorderSizePixel = 0;
ZIndex = 2;
TextSize = 14;
BackgroundColor3 = rgb(255, 255, 255)
}); Library:Themify([Link], "text_color",
"BackgroundColor3")
Library:Create( "UIPadding" , {
PaddingTop = dim(0, 5);
PaddingBottom = dim(0, 5);
Parent = [Link];
PaddingRight = dim(0, 5);
PaddingLeft = dim(0, 5)
});

Library:Create( "UICorner" , {
Parent = [Link]
});
end

local index = #[Link] + 1


[Link][index] = [Link]

local offset = Notifications:RefreshNotifications()

[Link] = dim_offset(20, offset)

Library:Tween([Link], {AnchorPoint = vec2(0, 0)},


[Link](1, [Link], [Link]))

[Link](function()
[Link]([Link])
[Link][index] = nil
Notifications:FadeNotifs([Link], true)
Library:Tween([Link], {AnchorPoint = vec2(1, 0)},
[Link](1, [Link], [Link]))
[Link](1)
[Link]:Destroy()
end)
end
--
--

local Window = Library:Window({name = "nebula"})

local Tabs = {
Combat = Window:Tab({Name = "Combat", Icon = "rbxassetid://132776928710277"}),
Visuals = Window:Tab({Name = "Visuals"}),
Players = Window:Tab({Name = "Players"})
}

for i = 1, 5 do
local Section = [Link]:Section({Name = "Section", Side = "Left"})

local Toggle = Section:Toggle({Name = "Toggle"})


Toggle:Colorpicker({Name = "Hello!", Flag = "This is a flag" .. i}) -- For
animation pickers you need to either designate speific names or Flags to
differentiate animations. else itll break
Toggle:Keybind({Name = "hello!", Callback = function(bool) print(bool) end})
Section:Button({Name = "Button", Callback = function() print("I have been
clicked!") end})
end

local Section = [Link]:Section({Name = "Section", Side = "Right"})

for i = 1, 5 do
local Toggle = Section:Toggle({Name = "Toggle"})
Toggle:Colorpicker({Name = "Hello!", Flag = "This is a flag" .. i}) -- For
animation pickers you need to either designate speific names or Flags to
differentiate animations. else itll break
Toggle:Keybind({Name = "hello!", Callback = function(bool) print(bool) end})
Section:Button({Name = "Button", Callback = function() print("I have been
clicked!") end})
end

Section:Slider({Name = "Slider", Callback = function(int) print(int) end})


Section:Dropdown({Name = "Hello!", Options = {"1", "2", "3"}, Multi = true})
Section:Textbox({Name = "Hi"})

Library:Configs(Window)

You might also like