XEZIOS Library for Roblox Scripting
XEZIOS Library for Roblox Scripting
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]
-- 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 = {};
},
}
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
-- 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
return tween
end
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 = ""
})
[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;
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
[Link] = NewPosition
end
end)
end
function Library:Convert(str)
local Values = {}
if #Values == 4 then
return unpack(Values)
else
return
end
end
function Library:ConvertEnum(enum)
local EnumParts = {}
for i = 2, #EnumParts do
local EnumItem = EnumTable[EnumParts[i]]
EnumTable = EnumItem
end
return EnumTable
end
local ConfigHolder;
function Library:UpdateConfigList()
if not ConfigHolder then
print("no exist :(")
return
end
local List = {}
[Link](List)
end
function Library:Keypicker(properties)
local Cfg = {
Name = [Link] or "Color",
Flag = [Link] or [Link] or "Colorpicker",
Callback = [Link] or function() end,
-- Other
Open = false,
Items = {};
}
local h, s, v = [Link]:ToHSV()
local a = [Link]
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")
Library:Create( "UICorner" , {
Parent = [Link]
});
Library:Create( "UICorner" , {
Parent = [Link]
});
Library:Create( "UIGradient" , {
Parent = [Link];
Transparency = numseq{numkey(0, 0), numkey(1, 1)}
});
Library:Create( "UIGradient" , {
Rotation = 90;
Parent = [Link];
Color = rgbseq{rgbkey(0, rgb(255, 255, 255)), rgbkey(1,
rgb(9, 9, 9))}
});
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))}
});
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
[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
}
[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
[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)
[Link]:Connect(function()
local Color, Alpha = Library:ConvertFromHex([Link])
[Link](Color, 1 - Alpha)
end)
[Link]([Link], [Link])
ConfigFlags[[Link]] = [Link]
function Library:GetConfig()
local Config = {}
return HttpService:JSONEncode(Config)
end
function Library:LoadConfig(JSON)
local Config = HttpService:JSONDecode(JSON)
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
--[[
gradients = {
Selected = {};
Deselected = {};
},
gradient_preset = {
Selected = rgbseq{rgbkey(0, [Link]), rgbkey(1,
[Link])};
Deselected = rgbseq{rgbkey(0, [Link]), rgbkey(1,
[Link])};
},
]]
[Link][theme] = color
end
[Link]([Link], connection)
return connection
end
function Library:CloseElement()
if not ([Link] and [Link]) then
return
end
[Link](false)
[Link] = false
end
return ins
end
function Library:Unload()
if [Link] then
[Link]:Destroy()
end
if [Link] then
[Link]:Destroy()
end
getgenv().Library = nil
end
--
Library:Create( "UIListLayout" , {
Parent = [Link];
Padding = dim(0, 6);
SortOrder = [Link]
});
Library:Create( "UIPadding" , {
Parent = [Link];
PaddingTop = dim(0, 6)
});
Library:Create( "UIPadding" , {
Parent = [Link];
PaddingRight = dim(0, 8);
PaddingLeft = dim(0, 13)
});
end
do -- Other
Library:Draggify([Link])
Library:Resizify([Link])
end
function [Link](bool)
if [Link] then
return
end
[Link] = true
[Link] = true
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
function Library:Tab(properties)
local Cfg = {
Name = [Link] or [Link] or "visuals";
Icon = [Link] or [Link] or
"rbxassetid://112730572155522";
Items = {};
}
--
-- 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)
});
Library:Create( "UIListLayout" , {
Parent = [Link];
Padding = dim(0, 6);
SortOrder = [Link];
HorizontalFlex = [Link]
});
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})
[Link] = [Link];
[Link] = true
[Link] = [Link]
end
[Link].MouseButton1Down:Connect(function()
[Link]()
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 = {};
};
Library:Create( "UIPadding" , {
Parent = [Link];
PaddingRight = dim(0, 8);
PaddingLeft = dim(0, 6)
});
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;
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;
Items = {};
}
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]
});
Library:Create( "UICorner" , {
Parent = [Link]
});
Library:Create( "UIGradient" , {
Color = rgbseq{rgbkey(0, rgb(213, 213, 213)), rgbkey(1,
rgb(213, 213, 213))};
Parent = [Link]
});
Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 999)
});
end;
function [Link](bool)
Flags[[Link]] = bool
[Link](bool)
[Link].MouseButton1Click:Connect(function()
[Link] = not [Link]
[Link]([Link])
end)
[Link]([Link])
ConfigFlags[[Link]] = [Link]
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 = {}
}
Library:Create( "UIListLayout" , {
Parent = [Link];
SortOrder = [Link];
HorizontalAlignment = [Link]
});
Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 999)
});
end
function [Link](value)
[Link] = [Link](Library:Round(value, [Link]),
[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]
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;
}
-- 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")
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]
function [Link](value)
local Selected = {}
local IsTable = type(value) == "table"
[Link](Flags[[Link]])
end
function [Link](options)
for _,option in [Link] do
option:Destroy()
end
[Link] = {}
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)
Flags[[Link]] = {}
ConfigFlags[[Link]] = [Link]
[Link]([Link])
[Link]([Link])
function Library:Label(properties)
local Cfg = {
Name = [Link] or "Label",
-- Other
Items = {};
}
Library:Create( "UIListLayout" , {
FillDirection = [Link];
HorizontalAlignment = [Link];
Parent = [Link];
Padding = dim(0, 7);
SortOrder = [Link]
});
end
function [Link](Text)
[Link] = Text
end
function Library:Colorpicker(properties)
local Cfg = {
Name = [Link] or "Color",
Flag = [Link] or [Link] or "Colorpicker",
Callback = [Link] or function() end,
-- Other
Open = false;
Items = {};
}
local Picker = self:Keypicker(Cfg)
[Link]([Link], [Link])
ConfigFlags[[Link]] = [Link]
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]
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]
function Library:Keybind(properties)
local Cfg = {
Flag = [Link] or [Link];
Callback = [Link] or function() end;
Name = [Link] or nil;
Open = false;
Binding;
Ignore = false;
Items = {}
}
Flags[[Link]] = {
Mode = [Link],
Key = [Link],
Active = [Link]
}
Library:Create( "UICorner" , {
Parent = [Link];
CornerRadius = dim(0, 4)
});
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")
Library:Create( "UIListLayout" , {
Parent = [Link];
Padding = dim(0, 7);
SortOrder = [Link]
});
Library:Create( "UIPadding" , {
PaddingBottom = dim(0, 15);
Parent = [Link]
});
function [Link](mode)
[Link] = mode
Flags[[Link]].Mode = mode
end
function [Link](input)
if type(input) == "boolean" then
[Link] = input
[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])
end
[Link]([Link])
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)
[Link](false)
[Link] = false;
end
end
if game_event then
return
end
ConfigFlags[[Link]] = [Link]
[Link]([Link])
function Library:Button(properties)
local Cfg = {
Name = [Link] or "TextBox",
Callback = [Link] or function() end,
-- Other
Items = {};
}
[Link].MouseButton1Click:Connect(function()
[Link].TextColor3 = rgb(255, 255, 255)
Library:Tween([Link], {TextColor3 = [Link].text_color})
[Link]()
end)
function Library:Configs(window)
local Text;
local Tab = window:Tab({Name = "Settings"})
[Link] = true
Section:Label({Name = "Menu Bind"}):Keybind({Name = "Menu Bind",
Callback = function(bool)
if [Link] then
return
end
[Link](bool)
end, Default = true})
-- 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
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;
}
Library:Create( "UICorner" , {
Parent = [Link]
});
Library:Create( "UICorner" , {
Parent = [Link]
});
end
[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 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"})
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
Library:Configs(Window)