Thanks to visit codestin.com
Credit goes to www.scribd.com

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

Message

Uploaded by

xusx238
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 views36 pages

Message

Uploaded by

xusx238
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
You are on page 1/ 36

local Library = {}

local TweenService: TweenService = game:GetService("TweenService")


local UserInputService: UserInputService = game:GetService("UserInputService")

GetIcon = function(i)
if type(i) == 'string' and not i:find('rbxassetid://') then
return "rbxassetid://".. i
elseif type(i) == 'number' then
return "rbxassetid://".. i
else
return i
end
end

tw = function(info)
return TweenService:Create(info.v, TweenInfo.new(info.t,
Enum.EasingStyle[info.s], Enum.EasingDirection[info.d]), info.g)
end

lak = function(a)
local Dragging = nil
local DragInput = nil
local DragStart = nil
local StartPosition = nil

local function Update(input)


local Delta = input.Position - DragStart
local pos = UDim2.new(StartPosition.X.Scale, StartPosition.X.Offset +
Delta.X, StartPosition.Y.Scale, StartPosition.Y.Offset + Delta.Y)
local Tween = game:GetService("TweenService"):Create(a,
TweenInfo.new(0.3), {Position = pos})
Tween:Play()
end

a.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
Dragging = true
DragStart = input.Position
StartPosition = a.Position

input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
Dragging = false
end
end)
end
end)

a.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch then
DragInput = input
end
end)

game:GetService("UserInputService").InputChanged:Connect(function(input)
if input == DragInput and Dragging then
Update(input)
end
end)
end

click = function(p)
local Click = Instance.new("TextButton")

Click.Name = "Click"
Click.Parent = p
Click.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Click.BackgroundTransparency = 1.000
Click.BorderColor3 = Color3.fromRGB(0, 0, 0)
Click.BorderSizePixel = 0
Click.Size = UDim2.new(1, 0, 1, 0)
Click.Font = Enum.Font.SourceSans
Click.Text = ""
Click.TextColor3 = Color3.fromRGB(0, 0, 0)
Click.TextSize = 14.000
Click.ZIndex = p.ZIndex + 3

return Click
end

EffectClick = function(c, p)
local Mouse = game.Players.LocalPlayer:GetMouse()

local relativeX = Mouse.X - c.AbsolutePosition.X


local relativeY = Mouse.Y - c.AbsolutePosition.Y

if relativeX < 0 or relativeY < 0 or relativeX > c.AbsoluteSize.X or


relativeY > c.AbsoluteSize.Y then
return
end

local ClickButtonCircle = Instance.new("Frame")


ClickButtonCircle.Parent = p
ClickButtonCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ClickButtonCircle.BackgroundTransparency = 0.5
ClickButtonCircle.BorderSizePixel = 0
ClickButtonCircle.AnchorPoint = Vector2.new(0.5, 0.5)
ClickButtonCircle.Position = UDim2.new(0, relativeX, 0, relativeY)
ClickButtonCircle.Size = UDim2.new(0, 0, 0, 0)
ClickButtonCircle.ZIndex = p.ZIndex

local UICorner = Instance.new("UICorner")


UICorner.CornerRadius = UDim.new(1, 0)
UICorner.Parent = ClickButtonCircle

local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Back,


Enum.EasingDirection.Out)

local goal = {
Size = UDim2.new(0, c.AbsoluteSize.X * 1.5, 0, c.AbsoluteSize.X * 1.5),
BackgroundTransparency = 1
}

local expandTween = TweenService:Create(ClickButtonCircle, tweenInfo, goal)

expandTween.Completed:Connect(function()
ClickButtonCircle:Destroy()
end)

expandTween:Play()
end

local _96soul = Instance.new("ScreenGui")


_96soul.Name = "_96soul"
_96soul.Parent = not game:GetService("RunService"):IsStudio() and
game:GetService("CoreGui") or game:GetService("Players").LocalPlayer.PlayerGui
_96soul.ZIndexBehavior = Enum.ZIndexBehavior.Global
_96soul.IgnoreGuiInset = true

function Library:New(meta)
local Logo = meta.logo
local Keybind = meta.bind

local Background_1 = Instance.new("Frame")


local DropShadow_1 = Instance.new("ImageLabel")
local UICorner_1 = Instance.new("UICorner")

Background_1.Name = "Background"
Background_1.Parent = _96soul
Background_1.AnchorPoint = Vector2.new(0.5, 0.5)
Background_1.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Background_1.BorderColor3 = Color3.fromRGB(0,0,0)
Background_1.BorderSizePixel = 0
Background_1.Position = UDim2.new(0.5, 0,0.5, 0)
Background_1.Size = UDim2.new(0, 0,0, 5)
lak(Background_1)
tw({v = Background_1,t = 1,s = "Bounce",d = "Out",g = {Size = UDim2.new(0,
500,0, 375)}}):Play()

local CloseUI = Instance.new("TextButton")


local UICorner_1z = Instance.new("UICorner")
local Icon_1 = Instance.new("Frame")
local ImageLabel = Instance.new("ImageLabel")

CloseUI.Name = "CloseUI"
CloseUI.Parent = _96soul
CloseUI.AnchorPoint = Vector2.new(0, 1)
CloseUI.BackgroundColor3 = Color3.fromRGB(0,0,0)
CloseUI.BorderColor3 = Color3.fromRGB(0,0,0)
CloseUI.BorderSizePixel = 0
CloseUI.Position = UDim2.new(0.5, 0,0.1, 0)
CloseUI.Size = UDim2.new(0, 50,0, 50)
CloseUI.BackgroundTransparency = 0.35
CloseUI.Text = ""

lak(CloseUI)

UICorner_1z.Parent = CloseUI
UICorner_1z.CornerRadius = UDim.new(0,5)

Icon_1.Name = "Icon"
Icon_1.Parent = CloseUI
Icon_1.BackgroundColor3 = Color3.fromRGB(22,22,22)
Icon_1.BorderColor3 = Color3.fromRGB(0,0,0)
Icon_1.BorderSizePixel = 0
Icon_1.Size = UDim2.new(0, 50,0, 50)
Icon_1.BackgroundTransparency = 1

ImageLabel.Parent = Icon_1
ImageLabel.AnchorPoint = Vector2.new(0.5, 0.5)
ImageLabel.BackgroundColor3 = Color3.fromRGB(255,255,255)
ImageLabel.BackgroundTransparency = 1
ImageLabel.BorderColor3 = Color3.fromRGB(0,0,0)
ImageLabel.BorderSizePixel = 0
ImageLabel.Position = UDim2.new(0.5, 0,0.5, 0)
ImageLabel.Size = UDim2.new(0, 45,0, 45)
ImageLabel.Image = GetIcon(Logo)
ImageLabel.ImageTransparency = 0

local function closeopenui()


task.spawn(function()
tw({
v = ImageLabel,
t = 0.2,
s = "Back",
d = "Out",
g = {Size = UDim2.new(0, 35, 0, 35)}
}):Play()
task.wait(0.016)
tw({
v = ImageLabel,
t = 0.2,
s = "Back",
d = "Out",
g = {Size = UDim2.new(0, 45, 0, 45)}
}):Play()
end)
Background_1.Visible = not Background_1.Visible
end

local On = true

CloseUI.MouseButton1Click:Connect(function()
closeopenui()
On = not On
end)

UserInputService.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed and input.KeyCode == Keybind then
closeopenui()
On = not On
end
end)

DropShadow_1.Name = "DropShadow"
DropShadow_1.Parent = Background_1
DropShadow_1.AnchorPoint = Vector2.new(0.5, 0.5)
DropShadow_1.BackgroundColor3 = Color3.fromRGB(28,28,30)
DropShadow_1.BackgroundTransparency = 1
DropShadow_1.BorderColor3 = Color3.fromRGB(0,0,0)
DropShadow_1.BorderSizePixel = 0
DropShadow_1.Position = UDim2.new(0.5, 0,0.5, 0)
DropShadow_1.Size = UDim2.new(1, 120,1, 120)
DropShadow_1.ZIndex = 0
DropShadow_1.Image = "rbxassetid://8992230677"
DropShadow_1.ImageColor3 = Color3.fromRGB(0,0,0)
DropShadow_1.ImageTransparency = 0.30000001192092896
DropShadow_1.ScaleType = Enum.ScaleType.Slice
DropShadow_1.SliceCenter = Rect.new(100, 100, 100, 100)

UICorner_1.Parent = Background_1
UICorner_1.CornerRadius = UDim.new(0,7)

local Header_1 = Instance.new("Frame")


local UIListLayout_1 = Instance.new("UIListLayout")
local Logo_1 = Instance.new("Frame")
local RealLogo_1 = Instance.new("ImageLabel")

Header_1.Name = "Header"
Header_1.Parent = Background_1
Header_1.AnchorPoint = Vector2.new(0.5, 0.5)
Header_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Header_1.BackgroundTransparency = 1
Header_1.BorderColor3 = Color3.fromRGB(0,0,0)
Header_1.BorderSizePixel = 0
Header_1.Position = UDim2.new(0.5, 0,0.0933333337, 0)
Header_1.Size = UDim2.new(1, 0,0.186666667, 0)

UIListLayout_1.Parent = Header_1
UIListLayout_1.FillDirection = Enum.FillDirection.Horizontal
UIListLayout_1.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_1.VerticalAlignment = Enum.VerticalAlignment.Center

Logo_1.Name = "Logo"
Logo_1.Parent = Header_1
Logo_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Logo_1.BackgroundTransparency = 1
Logo_1.BorderColor3 = Color3.fromRGB(0,0,0)
Logo_1.BorderSizePixel = 0
Logo_1.Size = UDim2.new(0, 70,0, 70)

RealLogo_1.Name = "RealLogo"
RealLogo_1.Parent = Logo_1
RealLogo_1.AnchorPoint = Vector2.new(0.5, 0.5)
RealLogo_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
RealLogo_1.BackgroundTransparency = 1
RealLogo_1.BorderColor3 = Color3.fromRGB(0,0,0)
RealLogo_1.BorderSizePixel = 0
RealLogo_1.Position = UDim2.new(0.5, 0,0.5, 0)
RealLogo_1.Size = UDim2.new(0.699999988, 0,0.699999988, 0)
RealLogo_1.Image = GetIcon(Logo)
RealLogo_1.ScaleType = Enum.ScaleType.Crop

local Tab_1 = Instance.new("Frame")


local TabList_1 = Instance.new("ScrollingFrame")
local UIListLayout_2 = Instance.new("UIListLayout")
local UIPadding_1 = Instance.new("UIPadding")

Tab_1.Name = "Tab"
Tab_1.Parent = Header_1
Tab_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Tab_1.BackgroundTransparency = 1
Tab_1.BorderColor3 = Color3.fromRGB(0,0,0)
Tab_1.BorderSizePixel = 0
Tab_1.Position = UDim2.new(0.140000001, 0,0, 0)
Tab_1.Size = UDim2.new(0, 417,0, 70)

TabList_1.Name = "TabList"
TabList_1.Parent = Tab_1
TabList_1.Active = true
TabList_1.AnchorPoint = Vector2.new(0.5, 0.5)
TabList_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
TabList_1.BackgroundTransparency = 1
TabList_1.BorderColor3 = Color3.fromRGB(0,0,0)
TabList_1.BorderSizePixel = 0
TabList_1.Position = UDim2.new(0.5, 0,0.5, 0)
TabList_1.Size = UDim2.new(1, 0,0.600000024, 0)
TabList_1.ClipsDescendants = true
TabList_1.AutomaticCanvasSize = Enum.AutomaticSize.None
TabList_1.BottomImage = "rbxasset://textures/ui/Scroll/scroll-bottom.png"
TabList_1.CanvasPosition = Vector2.new(0, 0)
TabList_1.CanvasSize = UDim2.new(2, 0,0, 0)
TabList_1.ElasticBehavior = Enum.ElasticBehavior.WhenScrollable
TabList_1.HorizontalScrollBarInset = Enum.ScrollBarInset.None
TabList_1.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
TabList_1.ScrollBarImageColor3 = Color3.fromRGB(0,0,0)
TabList_1.ScrollBarImageTransparency = 0
TabList_1.ScrollBarThickness = 0
TabList_1.ScrollingDirection = Enum.ScrollingDirection.XY
TabList_1.TopImage = "rbxasset://textures/ui/Scroll/scroll-top.png"
TabList_1.VerticalScrollBarInset = Enum.ScrollBarInset.None
TabList_1.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Right

UIListLayout_2.Parent = TabList_1
UIListLayout_2.Padding = UDim.new(0,7)
UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_2.VerticalAlignment = Enum.VerticalAlignment.Center

UIPadding_1.Parent = TabList_1
UIPadding_1.PaddingLeft = UDim.new(0,5)

Library.Tab = {
Value = false
}

function Library.Tab:AddTab(title)

local AddTab_1 = Instance.new("Frame")


local UICorner_2 = Instance.new("UICorner")
local Title_1 = Instance.new("TextLabel")
local UIGradient_1 = Instance.new("UIGradient")

AddTab_1.Name = "AddTab"
AddTab_1.Parent = TabList_1
AddTab_1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
AddTab_1.BackgroundTransparency = 1
AddTab_1.BorderColor3 = Color3.fromRGB(0,0,0)
AddTab_1.BorderSizePixel = 0
AddTab_1.Position = UDim2.new(0, 0,0.0238095243, 0)
AddTab_1.Size = UDim2.new(0, 100,0, 30)

UICorner_2.Parent = AddTab_1
UICorner_2.CornerRadius = UDim.new(1,0)

Title_1.Name = "Title"
Title_1.Parent = AddTab_1
Title_1.AnchorPoint = Vector2.new(0.5, 0.5)
Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Title_1.BackgroundTransparency = 1
Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
Title_1.BorderSizePixel = 0
Title_1.Position = UDim2.new(0.5, 0,0.5, 0)
Title_1.Size = UDim2.new(0.899999976, 0,0, 10)
Title_1.Font = Enum.Font.GothamBold
Title_1.Text = tostring(title)
Title_1.TextColor3 = Color3.fromRGB(255,255,255)
Title_1.TextSize = 13
Title_1.TextTransparency = 0.5

UIGradient_1.Parent = AddTab_1
UIGradient_1.Color = ColorSequence.new{ColorSequenceKeypoint.new(0,
Color3.fromRGB(0, 255, 127)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 117,
55))}

local Pages_1 = Instance.new("Frame")


local Left_1 = Instance.new("ScrollingFrame")
local UIPadding_3 = Instance.new("UIPadding")
local UIListLayout_5 = Instance.new("UIListLayout")
local Right_1 = Instance.new("ScrollingFrame")
local UIPadding_4 = Instance.new("UIPadding")
local UIListLayout_6 = Instance.new("UIListLayout")
local UIListLayout_4 = Instance.new("UIListLayout")
local Clicktab = click(AddTab_1)

Pages_1.Name = "Pages"
Pages_1.Parent = Background_1
Pages_1.AnchorPoint = Vector2.new(0.5, 0.5)
Pages_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Pages_1.BackgroundTransparency = 1
Pages_1.BorderColor3 = Color3.fromRGB(0,0,0)
Pages_1.BorderSizePixel = 0
Pages_1.Position = UDim2.new(0.5, 0,0.579333305, 0)
Pages_1.Size = UDim2.new(1, 0,0.84133333, 0)
Pages_1.Visible = false

Left_1.Name = "Left"
Left_1.Parent = Pages_1
Left_1.Active = true
Left_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Left_1.BackgroundTransparency = 1
Left_1.BorderColor3 = Color3.fromRGB(0,0,0)
Left_1.BorderSizePixel = 0
Left_1.Size = UDim2.new(0, 230,0.949999988, 0)
Left_1.ClipsDescendants = true
Left_1.AutomaticCanvasSize = Enum.AutomaticSize.None
Left_1.BottomImage = "rbxasset://textures/ui/Scroll/scroll-bottom.png"
Left_1.CanvasPosition = Vector2.new(0, 0)
Left_1.ElasticBehavior = Enum.ElasticBehavior.WhenScrollable
Left_1.HorizontalScrollBarInset = Enum.ScrollBarInset.None
Left_1.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
Left_1.ScrollBarImageColor3 = Color3.fromRGB(0,0,0)
Left_1.ScrollBarImageTransparency = 1
Left_1.ScrollBarThickness = 0
Left_1.ScrollingDirection = Enum.ScrollingDirection.XY
Left_1.TopImage = "rbxasset://textures/ui/Scroll/scroll-top.png"
Left_1.VerticalScrollBarInset = Enum.ScrollBarInset.None
Left_1.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Right

UIListLayout_4.Parent = Left_1
UIListLayout_4.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_4.Padding = UDim.new(0,5)

UIPadding_3.Parent = Left_1
UIPadding_3.PaddingTop = UDim.new(0,5)

UIListLayout_5.Parent = Pages_1
UIListLayout_5.Padding = UDim.new(0,7)
UIListLayout_5.FillDirection = Enum.FillDirection.Horizontal
UIListLayout_5.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout_5.SortOrder = Enum.SortOrder.LayoutOrder

Right_1.Name = "Right"
Right_1.Parent = Pages_1
Right_1.Active = true
Right_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Right_1.BackgroundTransparency = 1
Right_1.BorderColor3 = Color3.fromRGB(0,0,0)
Right_1.BorderSizePixel = 0
Right_1.Size = UDim2.new(0, 230,0.949999988, 0)
Right_1.ClipsDescendants = true
Right_1.AutomaticCanvasSize = Enum.AutomaticSize.None
Right_1.BottomImage = "rbxasset://textures/ui/Scroll/scroll-bottom.png"
Right_1.CanvasPosition = Vector2.new(0, 0)
Right_1.ElasticBehavior = Enum.ElasticBehavior.WhenScrollable
Right_1.HorizontalScrollBarInset = Enum.ScrollBarInset.None
Right_1.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
Right_1.ScrollBarImageColor3 = Color3.fromRGB(0,0,0)
Right_1.ScrollBarImageTransparency = 1
Right_1.ScrollBarThickness = 0
Right_1.ScrollingDirection = Enum.ScrollingDirection.XY
Right_1.TopImage = "rbxasset://textures/ui/Scroll/scroll-top.png"
Right_1.VerticalScrollBarInset = Enum.ScrollBarInset.None
Right_1.VerticalScrollBarPosition =
Enum.VerticalScrollBarPosition.Right

UIPadding_4.Parent = Right_1
UIPadding_4.PaddingTop = UDim.new(0,5)

UIListLayout_6.Parent = Right_1
UIListLayout_6.Padding = UDim.new(0,5)
UIListLayout_6.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout_6.SortOrder = Enum.SortOrder.LayoutOrder

AddTab_1.Size = UDim2.new(0, Title_1.TextBounds.X + 50,0, 30)


Clicktab.MouseButton1Click:Connect(function()
for i, v in pairs(Background_1:GetChildren()) do
if v.Name == "Pages" then
v.Visible = false
end
end
for i, v in pairs(TabList_1:GetChildren()) do
if v:IsA("Frame") then
tw({
v = v,
t = 0.2,
s = "Linear",
d = "Out",
g = {BackgroundTransparency = 1}
}):Play()
tw({
v = v.Title,
t = 0.2,
s = "Linear",
d = "Out",
g = {TextTransparency = 0.5}
}):Play()
end
end
Pages_1.Visible = true
Pages_1.Size = UDim2.new(0, 0,0, 0)
tw({
v = Pages_1,
t = 0.2,
s = "Back",
d = "Out",
g = {Size = UDim2.new(1, 0,0.84133333, 0)}
}):Play()
tw({
v = AddTab_1,
t = 0.2,
s = "Linear",
d = "Out",
g = {BackgroundTransparency = 0}
}):Play()
tw({
v = Title_1,
t = 0.2,
s = "Linear",
d = "Out",
g = {TextTransparency = 0}
}):Play()
end)

delay(0.2,function()
if not Library.Tab.Value then
tw({
v = AddTab_1,
t = 0.2,
s = "Linear",
d = "Out",
g = {BackgroundTransparency = 0}
}):Play()
tw({
v = Title_1,
t = 0.2,
s = "Linear",
d = "Out",
g = {TextTransparency = 0}
}):Play()
Pages_1.Visible = true
Pages_1.Size = UDim2.new(0, 0,0, 0)
tw({
v = Pages_1,
t = 0.2,
s = "Back",
d = "Out",
g = {Size = UDim2.new(1, 0,0.84133333, 0)}
}):Play()
Library.Tab.Value = true
end
end)

UIListLayout_6:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
Right_1.CanvasSize = UDim2.new(0, 0, 0,
UIListLayout_6.AbsoluteContentSize.Y + 20)
end)

UIListLayout_4:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
Left_1.CanvasSize = UDim2.new(0, 0, 0,
UIListLayout_4.AbsoluteContentSize.Y + 20)
end)

local function GetSide(side)


if not side then
return Left_1
end
local sideLower = string.lower(tostring(side))
if sideLower == "r" or sideLower == "right" or side == 2 then
return Right_1
elseif sideLower == "l" or sideLower == "left" or side == 1 then
return Left_1
else
return Left_1
end
end

Library.Section = {}

function Library.Section:Section(meta)

local Title = meta.title


local side = meta.side

local Section_1 = Instance.new("Frame")


local UICorner_3 = Instance.new("UICorner")
local UIListLayout_3 = Instance.new("UIListLayout")
local LineUp_1 = Instance.new("Frame")
local UIPadding_2 = Instance.new("UIPadding")
local Linedown_1 = Instance.new("Frame")
local Title_2 = Instance.new("TextLabel")

Section_1.Name = "Section"
Section_1.Parent = GetSide(side)
Section_1.AnchorPoint = Vector2.new(0.5, 0.5)
Section_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Section_1.BackgroundTransparency = 0.949999988079071
Section_1.BorderColor3 = Color3.fromRGB(0,0,0)
Section_1.BorderSizePixel = 0
Section_1.Size = UDim2.new(0.980000019, 0,0, 100)

UICorner_3.Parent = Section_1
UICorner_3.CornerRadius = UDim.new(0,3)

UIListLayout_3.Parent = Section_1
UIListLayout_3.Padding = UDim.new(0,5)
UIListLayout_3.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder

LineUp_1.Name = "LineUp"
LineUp_1.Parent = Section_1
LineUp_1.BackgroundColor3 = Color3.fromRGB(58,58,58)
LineUp_1.BorderColor3 = Color3.fromRGB(0,0,0)
LineUp_1.BorderSizePixel = 0
LineUp_1.LayoutOrder = -3
LineUp_1.Size = UDim2.new(1, 0,0, 1)

UIPadding_2.Parent = Section_1
UIPadding_2.PaddingTop = UDim.new(0,10)

Linedown_1.Name = "Linedown"
Linedown_1.Parent = Section_1
Linedown_1.BackgroundColor3 = Color3.fromRGB(58,58,58)
Linedown_1.BorderColor3 = Color3.fromRGB(0,0,0)
Linedown_1.BorderSizePixel = 0
Linedown_1.LayoutOrder = -1
Linedown_1.Size = UDim2.new(1, 0,0, 1)

Title_2.Name = "Title"
Title_2.Parent = Section_1
Title_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
Title_2.BackgroundTransparency = 1
Title_2.BorderColor3 = Color3.fromRGB(0,0,0)
Title_2.BorderSizePixel = 0
Title_2.LayoutOrder = -2
Title_2.Size = UDim2.new(1, 0,0, 15)
Title_2.Font = Enum.Font.GothamBold
Title_2.Text = tostring(Title)
Title_2.TextColor3 = Color3.fromRGB(255,255,255)
Title_2.TextSize = 12

UIListLayout_3:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
Section_1.Size = UDim2.new(0.980000019, 0, 0,
UIListLayout_3.AbsoluteContentSize.Y + 15)
end)
Library.Class = {}

function Library.Class:Line()

local LineUp_1 = Instance.new("Frame")


LineUp_1.Name = "LineUp"
LineUp_1.Parent = Section_1
LineUp_1.BackgroundColor3 = Color3.fromRGB(58,58,58)
LineUp_1.BorderColor3 = Color3.fromRGB(0,0,0)
LineUp_1.BorderSizePixel = 0
LineUp_1.Size = UDim2.new(1, 0,0, 1)

local i = {}

function i:Visible(a)
LineUp_1.Visible = a
end

return i
end

function Library.Class:Button(meta)

local Title = meta.title


local Callback = meta.callback

local Button = Instance.new("Frame")


local UICorner_1 = Instance.new("UICorner")
local Title_1 = Instance.new("TextLabel")
local UIGradient_1 = Instance.new("UIGradient")
local clickbutton = click(Button)

Button.Name = "Button"
Button.Parent = Section_1
Button.BackgroundColor3 = Color3.fromRGB(255,255,255)
Button.BorderColor3 = Color3.fromRGB(0,0,0)
Button.BorderSizePixel = 0
Button.Position = UDim2.new(0, 0,0.466666669, 0)
Button.Size = UDim2.new(0.949999988, 0,0, 25)
Button.ClipsDescendants = true

UICorner_1.Parent = Button
UICorner_1.CornerRadius = UDim.new(0,3)

Title_1.Name = "Title"
Title_1.Parent = Button
Title_1.AnchorPoint = Vector2.new(0.5, 0.5)
Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Title_1.BackgroundTransparency = 1
Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
Title_1.BorderSizePixel = 0
Title_1.Position = UDim2.new(0.5, 0,0.5, 0)
Title_1.Size = UDim2.new(1, 0,0, 10)
Title_1.Font = Enum.Font.GothamBold
Title_1.Text = tostring(Title)
Title_1.TextColor3 = Color3.fromRGB(255,255,255)
Title_1.TextSize = 12
UIGradient_1.Parent = Button
UIGradient_1.Color =
ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 127)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 79, 38))}
UIGradient_1.Rotation = 90

clickbutton.MouseButton1Click:Connect(function()
for _, v in pairs(Background_1:GetChildren()) do
if v.Name == "Dropdown" and v.Visible then
return
end
end
Callback()
EffectClick(clickbutton, Button)
tw({
v = Button,
t = 0.2,
s = "Back",
d = "Out",
g = {Size = UDim2.new(0.9, 0,0, 20)}
}):Play()
delay(0.05, function()
tw({
v = Button,
t = 0.2,
s = "Back",
d = "Out",
g = {Size = UDim2.new(0.949999988, 0,0,
30)}
}):Play()
end)
end)

local i = {}

function i:Visible(a)
Button.Visible = a
end

return i
end

function Library.Class:Toggle(meta)

local Title = meta.title


local Value = meta.value
local Callback = meta.callback

local Togglec = Instance.new("Frame")


local UICorner_1 = Instance.new("UICorner")
local UIPadding_1 = Instance.new("UIPadding")
local Inside_1 = Instance.new("Frame")
local UIListLayout_1 = Instance.new("UIListLayout")
local Backg_1 = Instance.new("Frame")
local Color_1 = Instance.new("Frame")
local UIGradient_1 = Instance.new("UIGradient")
local UICorner_2 = Instance.new("UICorner")
local TRUE_1 = Instance.new("ImageLabel")
local UICorner_3 = Instance.new("UICorner")
local Title_1 = Instance.new("TextLabel")
local ClickToggle = click(Togglec)

Togglec.Name = "Toggle"
Togglec.Parent = Section_1
Togglec.BackgroundColor3 = Color3.fromRGB(70,70,70)
Togglec.BackgroundTransparency = 0.699999988079071
Togglec.BorderColor3 = Color3.fromRGB(0,0,0)
Togglec.BorderSizePixel = 0
Togglec.Position = UDim2.new(0, 0,0.466666669, 0)
Togglec.Size = UDim2.new(0.949999988, 0,0, 40)
Togglec.ClipsDescendants = true

UICorner_1.Parent = Togglec
UICorner_1.CornerRadius = UDim.new(0,3)

UIPadding_1.Parent = Togglec
UIPadding_1.PaddingLeft = UDim.new(0,12)

Inside_1.Name = "Inside"
Inside_1.Parent = Togglec
Inside_1.AnchorPoint = Vector2.new(0.5, 0.5)
Inside_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Inside_1.BackgroundTransparency = 1
Inside_1.BorderColor3 = Color3.fromRGB(0,0,0)
Inside_1.BorderSizePixel = 0
Inside_1.Position = UDim2.new(0.5, 0,0.5, 0)
Inside_1.Size = UDim2.new(1, 0,1, 0)

UIListLayout_1.Parent = Inside_1
UIListLayout_1.Padding = UDim.new(0,15)
UIListLayout_1.FillDirection =
Enum.FillDirection.Horizontal
UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_1.VerticalAlignment =
Enum.VerticalAlignment.Center

Backg_1.Name = "Backg"
Backg_1.Parent = Inside_1
Backg_1.BackgroundColor3 = Color3.fromRGB(71,71,71)
Backg_1.BorderColor3 = Color3.fromRGB(0,0,0)
Backg_1.BorderSizePixel = 0
Backg_1.Size = UDim2.new(0, 22,0, 22)

Color_1.Name = "Color"
Color_1.Parent = Backg_1
Color_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Color_1.BorderColor3 = Color3.fromRGB(0,0,0)
Color_1.BorderSizePixel = 0
Color_1.Size = UDim2.new(1, 0,1, 0)

UIGradient_1.Parent = Color_1
UIGradient_1.Color =
ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 127)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 129, 62))}

UICorner_2.Parent = Color_1
UICorner_2.CornerRadius = UDim.new(1,0)
TRUE_1.Name = "TRUE"
TRUE_1.Parent = Color_1
TRUE_1.AnchorPoint = Vector2.new(0.5, 0.5)
TRUE_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
TRUE_1.BackgroundTransparency = 1
TRUE_1.BorderColor3 = Color3.fromRGB(0,0,0)
TRUE_1.BorderSizePixel = 0
TRUE_1.Position = UDim2.new(0.5, 0,0.5, 1)
TRUE_1.Size = UDim2.new(0.55, 0,0.55, 0)
TRUE_1.Image = "rbxassetid://99035215947422"

UICorner_3.Parent = Backg_1
UICorner_3.CornerRadius = UDim.new(1,0)

Title_1.Name = "Title"
Title_1.Parent = Inside_1
Title_1.AnchorPoint = Vector2.new(0.5, 0.5)
Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Title_1.BackgroundTransparency = 1
Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
Title_1.BorderSizePixel = 0
Title_1.LayoutOrder = -1
Title_1.Position = UDim2.new(0.383474737, 0,0.5, 0)
Title_1.Size = UDim2.new(0.766949475, 0,0, 10)
Title_1.Font = Enum.Font.GothamBold
Title_1.Text = tostring(Title)
Title_1.TextColor3 = Color3.fromRGB(255,255,255)
Title_1.TextSize = 12
Title_1.TextXAlignment = Enum.TextXAlignment.Left

local function Togglex(Value)


if not Value then
Callback(Value)
tw({
v = Color_1,
t = 0.5,
s = "Back",
d = "Out",
g = {BackgroundTransparency = 1}
}):Play()
tw({
v = TRUE_1,
t = 0.2,
s = "Back",
d = "Out",
g = {Size = UDim2.new(0, 0,0, 0)}
}):Play()
elseif Value then
Callback(Value)
tw({
v = Color_1,
t = 0.5,
s = "Back",
d = "Out",
g = {BackgroundTransparency = 0}
}):Play()
tw({
v = TRUE_1,
t = 0.1,
s = "Bounce",
d = "Out",
g = {Size = UDim2.new(0.8, 0,0.8, 0)}
}):Play()
delay(0.05, function()
tw({
v = TRUE_1,
t = 0.2,
s = "Bounce",
d = "Out",
g = {Size = UDim2.new(0.55, 0,0.55,
0)}
}):Play()
end)
end
end

ClickToggle.MouseButton1Click:Connect(function()
for _, v in pairs(Background_1:GetChildren()) do
if v.Name == "Dropdown" and v.Visible then
return
end
end
EffectClick(ClickToggle, Togglec)
Value = not Value
Togglex(Value)
end)

Togglex(Value)

local i = {}

function i:Value(v)
Value = v
Togglex(Value)
end

function i:Visible(v)
Togglec.Visible = v
end

return i
end

function Library.Class:Dropdown(info)
local Title = info.Title
local List = info.List or {}
local Value = info.Value
local Multi = info.Multi or false
local Callback = info.Callback

local Dropdown1 = Instance.new("Frame")


local UICorner_1 = Instance.new("UICorner")
local UIPadding_1 = Instance.new("UIPadding")
local Inside_1 = Instance.new("Frame")
local TRUE_1 = Instance.new("ImageLabel")
local Inside_2 = Instance.new("Frame")
local Title_1 = Instance.new("TextLabel")
local Title_2 = Instance.new("TextLabel")
local UIListLayout_1 = Instance.new("UIListLayout")
local ClickDropdown = click(Dropdown1)

Dropdown1.Name = "Dropdown1"
Dropdown1.Parent = Section_1
Dropdown1.BackgroundColor3 = Color3.fromRGB(70,70,70)
Dropdown1.BackgroundTransparency = 0.699999988079071
Dropdown1.BorderColor3 = Color3.fromRGB(0,0,0)
Dropdown1.BorderSizePixel = 0
Dropdown1.Position = UDim2.new(0, 0,0.466666669, 0)
Dropdown1.Size = UDim2.new(0.949999988, 0,0, 40)
Dropdown1.ClipsDescendants = true

UICorner_1.Parent = Dropdown1
UICorner_1.CornerRadius = UDim.new(0,3)

UIPadding_1.Parent = Dropdown1
UIPadding_1.PaddingLeft = UDim.new(0,12)

Inside_1.Name = "Inside"
Inside_1.Parent = Dropdown1
Inside_1.AnchorPoint = Vector2.new(0.5, 0.5)
Inside_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Inside_1.BackgroundTransparency = 1
Inside_1.BorderColor3 = Color3.fromRGB(0,0,0)
Inside_1.BorderSizePixel = 0
Inside_1.Position = UDim2.new(0.5, 0,0.5, 0)
Inside_1.Size = UDim2.new(1, 0,1, 0)

TRUE_1.Name = "TRUE"
TRUE_1.Parent = Inside_1
TRUE_1.AnchorPoint = Vector2.new(0.5, 0.5)
TRUE_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
TRUE_1.BackgroundTransparency = 1
TRUE_1.BorderColor3 = Color3.fromRGB(0,0,0)
TRUE_1.BorderSizePixel = 0
TRUE_1.Position = UDim2.new(0.895784855, 0,0.474999994, 1)
TRUE_1.Size = UDim2.new(0, 20,0, 20)
TRUE_1.Image = "rbxassetid://129573215183311"

Inside_2.Name = "Inside"
Inside_2.Parent = Inside_1
Inside_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
Inside_2.BackgroundTransparency = 1
Inside_2.BorderColor3 = Color3.fromRGB(0,0,0)
Inside_2.BorderSizePixel = 0
Inside_2.LayoutOrder = -2
Inside_2.Size = UDim2.new(0, 155,0, 40)

Title_1.Name = "Title"
Title_1.Parent = Inside_2
Title_1.AnchorPoint = Vector2.new(0.5, 0.5)
Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Title_1.BackgroundTransparency = 1
Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
Title_1.BorderSizePixel = 0
Title_1.LayoutOrder = -1
Title_1.Position = UDim2.new(0.383474737, 0,0.5, 0)
Title_1.Size = UDim2.new(0.766949475, 0,0, 10)
Title_1.Font = Enum.Font.GothamBold
Title_1.Text = tostring(Title)
Title_1.TextColor3 = Color3.fromRGB(255,255,255)
Title_1.TextSize = 12
Title_1.TextXAlignment = Enum.TextXAlignment.Left

Title_2.Name = "Title"
Title_2.Parent = Inside_2
Title_2.AnchorPoint = Vector2.new(0.5, 0.5)
Title_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
Title_2.BackgroundTransparency = 1
Title_2.BorderColor3 = Color3.fromRGB(0,0,0)
Title_2.BorderSizePixel = 0
Title_2.LayoutOrder = -1
Title_2.Position = UDim2.new(0.383474737, 0,0.5, 0)
Title_2.Size = UDim2.new(0.766949475, 0,0, 10)
Title_2.Font = Enum.Font.GothamBold
if type(Value) == "table" then
Title_2.Text = "( . . . . . . )"
else
Title_2.Text = Value
end
Title_2.TextColor3 = Color3.fromRGB(145,145,145)
Title_2.TextSize = 10
Title_2.TextXAlignment = Enum.TextXAlignment.Left

UIListLayout_1.Parent = Inside_2
UIListLayout_1.Padding = UDim.new(0,2)
UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_1.VerticalAlignment =
Enum.VerticalAlignment.Center

local function Update()


if type(Value) == "table" then
Title_2.Text = "( . . . . . . )"
else
Title_2.Text = Value
end
end

local Dropdown = Instance.new("Frame")


local DropShadow_1 = Instance.new("ImageLabel")
local Search_1 = Instance.new("Frame")
local UICorner_1 = Instance.new("UICorner")
local TextBox_1 = Instance.new("TextBox")
local UIStroke_1 = Instance.new("UIStroke")
local ScrollingFrame_1 = Instance.new("ScrollingFrame")
local UIListLayout_1 = Instance.new("UIListLayout")
local UICorner_3 = Instance.new("UICorner")
local UIStroke_2 = Instance.new("UIStroke")

Dropdown.Name = "Dropdown"
Dropdown.Parent = Background_1
Dropdown.AnchorPoint = Vector2.new(0.5, 0.5)
Dropdown.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Dropdown.BorderColor3 = Color3.fromRGB(0,0,0)
Dropdown.BorderSizePixel = 0
Dropdown.Position = UDim2.new(0.5, 0,0.516438365, 0)
Dropdown.Size = UDim2.new(0, 250,0, 292)
Dropdown.ZIndex = 3
Dropdown.Visible = false

DropShadow_1.Name = "DropShadow"
DropShadow_1.Parent = Dropdown
DropShadow_1.AnchorPoint = Vector2.new(0.5, 0.5)
DropShadow_1.BackgroundColor3 = Color3.fromRGB(28,28,30)
DropShadow_1.BackgroundTransparency = 1
DropShadow_1.BorderColor3 = Color3.fromRGB(0,0,0)
DropShadow_1.BorderSizePixel = 0
DropShadow_1.Position = UDim2.new(0.5, 0,0.5, 0)
DropShadow_1.Size = UDim2.new(1, 120,1, 120)
DropShadow_1.ZIndex = 2
DropShadow_1.Image = "rbxassetid://8992230677"
DropShadow_1.ImageColor3 = Color3.fromRGB(0,0,0)
DropShadow_1.ImageTransparency = 0.30000001192092896
DropShadow_1.ScaleType = Enum.ScaleType.Slice
DropShadow_1.SliceCenter = Rect.new(100, 100, 100, 100)

Search_1.Name = "Search"
Search_1.Parent = Dropdown
Search_1.AnchorPoint = Vector2.new(0.5, 0.5)
Search_1.BackgroundColor3 = Color3.fromRGB(45,45,45)
Search_1.BackgroundTransparency = 0.5
Search_1.BorderColor3 = Color3.fromRGB(0,0,0)
Search_1.BorderSizePixel = 0
Search_1.Position = UDim2.new(0.5, 0,0.0867868811, 0)
Search_1.Size = UDim2.new(0.920000017, 0,0.00689166877, 25)
Search_1.ZIndex = 3

UICorner_1.Parent = Search_1
UICorner_1.CornerRadius = UDim.new(1,0)

TextBox_1.Parent = Search_1
TextBox_1.Active = true
TextBox_1.AnchorPoint = Vector2.new(0.5, 0.5)
TextBox_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
TextBox_1.BackgroundTransparency = 1
TextBox_1.BorderColor3 = Color3.fromRGB(0,0,0)
TextBox_1.BorderSizePixel = 0
TextBox_1.CursorPosition = -1
TextBox_1.Position = UDim2.new(0.5, 0,0.5, 0)
TextBox_1.Size = UDim2.new(1, 0,1, 0)
TextBox_1.ZIndex = 3
TextBox_1.Font = Enum.Font.GothamBold
TextBox_1.PlaceholderColor3 = Color3.fromRGB(178,178,178)
TextBox_1.PlaceholderText = "Search"
TextBox_1.Text = ""
TextBox_1.TextColor3 = Color3.fromRGB(255,255,255)
TextBox_1.TextSize = 14

UIStroke_1.Parent = Search_1
UIStroke_1.Color = Color3.fromRGB(255,255,255)
UIStroke_1.Thickness = 1
UIStroke_1.Transparency = 0.8

ScrollingFrame_1.Name = "ScrollingFrame"
ScrollingFrame_1.Parent = Dropdown
ScrollingFrame_1.Active = true
ScrollingFrame_1.BackgroundColor3 =
Color3.fromRGB(255,255,255)
ScrollingFrame_1.BackgroundTransparency = 1
ScrollingFrame_1.BorderColor3 = Color3.fromRGB(0,0,0)
ScrollingFrame_1.BorderSizePixel = 0
ScrollingFrame_1.Position = UDim2.new(0.0500000007,
0,0.172311857, 0)
ScrollingFrame_1.Size = UDim2.new(0.899999976,
0,0.787610233, 0)
ScrollingFrame_1.ZIndex = 3
ScrollingFrame_1.ClipsDescendants = true
ScrollingFrame_1.AutomaticCanvasSize =
Enum.AutomaticSize.None
ScrollingFrame_1.BottomImage =
"rbxasset://textures/ui/Scroll/scroll-bottom.png"
ScrollingFrame_1.CanvasPosition = Vector2.new(0, 0)
ScrollingFrame_1.ElasticBehavior =
Enum.ElasticBehavior.WhenScrollable
ScrollingFrame_1.HorizontalScrollBarInset =
Enum.ScrollBarInset.None
ScrollingFrame_1.MidImage =
"rbxasset://textures/ui/Scroll/scroll-middle.png"
ScrollingFrame_1.ScrollBarImageColor3 =
Color3.fromRGB(0,0,0)
ScrollingFrame_1.ScrollBarImageTransparency = 1
ScrollingFrame_1.ScrollBarThickness = 0
ScrollingFrame_1.ScrollingDirection =
Enum.ScrollingDirection.XY
ScrollingFrame_1.TopImage =
"rbxasset://textures/ui/Scroll/scroll-top.png"
ScrollingFrame_1.VerticalScrollBarInset =
Enum.ScrollBarInset.None
ScrollingFrame_1.VerticalScrollBarPosition =
Enum.VerticalScrollBarPosition.Right

UIListLayout_1.Parent = ScrollingFrame_1
UIListLayout_1.Padding = UDim.new(0,5)
UIListLayout_1.SortOrder = Enum.SortOrder.LayoutOrder

UICorner_3.Parent = Dropdown

UIStroke_2.Parent = Dropdown
UIStroke_2.Color = Color3.fromRGB(70, 70, 70)
UIStroke_2.Thickness = 1

local isOpen = false


UserInputService.InputBegan:Connect(function(A)
if A.UserInputType == Enum.UserInputType.MouseButton1
or A.UserInputType == Enum.UserInputType.Touch then
local mouse =
game:GetService("Players").LocalPlayer:GetMouse()
local mx, my = mouse.X, mouse.Y

local DBP, DBS = Dropdown.AbsolutePosition,


Dropdown.AbsoluteSize
local TBP, TBS = TextBox_1.AbsolutePosition,
TextBox_1.AbsoluteSize
local SBP, SBS = Search_1.AbsolutePosition,
Search_1.AbsoluteSize
local function inside(pos, size)
return mx >= pos.X and mx <= pos.X +
size.X and my >= pos.Y and my <= pos.Y + size.Y
end

if not inside(DBP, DBS)


and not inside(TBP, TBS)
and not inside(SBP, SBS) then
isOpen = false
Dropdown.Size = UDim2.new(0, 0, 0, 0)
Dropdown.Visible = false
end
end
end)

ClickDropdown.MouseButton1Click:Connect(function()
for _, v in pairs(Background_1:GetChildren()) do
if v.Name == "Dropdown" and v.Visible then
return
end
end
isOpen = not isOpen
if isOpen then
Dropdown.Visible = true
tw({
v = Dropdown,
t = 0.3,
s = "Back",
d = "Out",
g = {Size = UDim2.new(0, 250,0, 292)}
}):Play()
else
tw({
v = Dropdown,
t = 0.3,
s = "Bounce",
d = "Out",
g = {Size = UDim2.new(0, 0,0, 0)}
}):Play()
Dropdown.Visible = false
end
EffectClick(ClickDropdown, Dropdown1)
tw({
v = TRUE_1,
t = 0.15,
s = "Bounce",
d = "Out",
g = {Size = UDim2.new(0, 40,0, 40)}
}):Play()
delay(0.06, function()
tw({
v = TRUE_1,
t = 0.15,
s = "Bounce",
d = "Out",
g = {Size = UDim2.new(0, 20,0, 20)}
}):Play()
end)
end)

TextBox_1.Changed:Connect(function()
local SearchT = string.lower(TextBox_1.Text)
for i, v in pairs(ScrollingFrame_1:GetChildren()) do
if v:IsA("Frame") then
local labelText =
string.lower(v.Real.Title.Text)
if string.find(labelText, SearchT, 1,
true) then
v.Visible = true
else
v.Visible = false
end
end
end
end)

local itemslist = {}
local selectedItem

function itemslist:Clear(a)
local function shouldClear(v)
if a == nil then
return true
elseif type(a) == "string" then
return v.Real:FindFirstChild("Title") and
v.Real.Title.Text == a
elseif type(a) == "table" then
for _, name in ipairs(a) do
if v.Real:FindFirstChild("Title")
and v.Real.Title.Text == name then
return true
end
end
end
return false
end

for _, v in ipairs(ScrollingFrame_1:GetChildren()) do
if v:IsA("Frame") and shouldClear(v) then
if selectedItem and
v.Real:FindFirstChild("Title") and v.Real.Title.Text == selectedItem then
selectedItem = nil
Title_2.Text = ""
end
v:Destroy()
end
end

if selectedItem == a or Title_2.Text == a then


selectedItem = nil
Title_2.Text = ""
end

if a == nil then
selectedItem = nil
Title_2.Text = ""
end
end

local selectedValues = {}

local function isValueInTable(val, tbl)


if type(tbl) ~= "table" then
return false
end

for _, v in pairs(tbl) do
if v == val then
return true
end
end
return false
end

function itemslist:AddList(text)
local Items_1 = Instance.new("Frame")
local Real_1 = Instance.new("Frame")
local Title_1 = Instance.new("TextLabel")
local Line_1 = Instance.new("Frame")
local UICorner_2 = Instance.new("UICorner")
local UIListLayout_2 = Instance.new("UIListLayout")
local ClickList = click(Items_1)

Items_1.Name = "Items"
Items_1.Parent = ScrollingFrame_1
Items_1.BackgroundColor3 =
Color3.fromRGB(255,255,255)
Items_1.BackgroundTransparency = 1
Items_1.BorderColor3 = Color3.fromRGB(0,0,0)
Items_1.BorderSizePixel = 0
Items_1.Size = UDim2.new(1, 0,0, 30)
Items_1.ZIndex = 3

Real_1.Name = "Real"
Real_1.Parent = Items_1
Real_1.AnchorPoint = Vector2.new(0.5, 0.5)
Real_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Real_1.BackgroundTransparency = 1
Real_1.BorderColor3 = Color3.fromRGB(0,0,0)
Real_1.BorderSizePixel = 0
Real_1.Position = UDim2.new(0.5, 0,0.5, 0)
Real_1.Size = UDim2.new(1, 0,1, 0)
Real_1.ZIndex = 3

Title_1.Name = "Title"
Title_1.Parent = Real_1
Title_1.AnchorPoint = Vector2.new(0.5, 0.5)
Title_1.BackgroundColor3 =
Color3.fromRGB(255,255,255)
Title_1.BackgroundTransparency = 1
Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
Title_1.BorderSizePixel = 0
Title_1.LayoutOrder = -1
Title_1.Position = UDim2.new(0.57476455, 0,0.5, 0)
Title_1.Size = UDim2.new(0.660639942, 0,1, 0)
Title_1.ZIndex = 3
Title_1.Font = Enum.Font.GothamBold
Title_1.Text = tostring(text)
Title_1.TextColor3 = Color3.fromRGB(255,255,255)
Title_1.TextSize = 14
Title_1.TextXAlignment = Enum.TextXAlignment.Left
Title_1.TextTransparency = 0.5

Line_1.Name = "Line"
Line_1.Parent = Real_1
Line_1.AnchorPoint = Vector2.new(0, 0.5)
Line_1.BackgroundColor3 = Color3.fromRGB(0,255,127)
Line_1.BackgroundTransparency = 1
Line_1.BorderColor3 = Color3.fromRGB(0,0,0)
Line_1.BorderSizePixel = 0
Line_1.LayoutOrder = -3
Line_1.Position = UDim2.new(0, 0,0.5, 0)
Line_1.Size = UDim2.new(0, 5,1, 0)
Line_1.ZIndex = 3

UICorner_2.Parent = Line_1
UICorner_2.CornerRadius = UDim.new(1,0)

UIListLayout_2.Parent = Real_1
UIListLayout_2.Padding = UDim.new(0,10)
UIListLayout_2.FillDirection =
Enum.FillDirection.Horizontal
UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_2.VerticalAlignment =
Enum.VerticalAlignment.Center

ClickList.MouseButton1Click:Connect(function()
Update()
if Multi then
if selectedValues[text] then
selectedValues[text] = nil
tw({
v = Title_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {TextTransparency = 0.5}
}):Play()
tw({
v = Line_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency =
1}
}):Play()
tw({
v = Items_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency =
1}
}):Play()
else
selectedValues[text] = true
tw({
v = Title_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {TextTransparency = 0}
}):Play()
tw({
v = Line_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency =
0}
}):Play()
tw({
v = Items_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency =
0.85}
}):Play()
end
local selectedList = {}
for i, v in pairs(selectedValues) do
table.insert(selectedList, i)
end
if #selectedList > 0 then
Update()
else
Title_2.Text = ""
end
pcall(Callback, selectedList)
else
for i,v in
pairs(ScrollingFrame_1:GetChildren()) do
if v:IsA("Frame") then
tw({
v = v.Real.Title,
t = 0.15,
s = "Exponential",
d = "Out",
g = {TextTransparency =
0.5}
}):Play()
tw({
v = v.Real.Line,
t = 0.15,
s = "Exponential",
d = "Out",
g =
{BackgroundTransparency = 1}
}):Play()
tw({
v = v,
t = 0.15,
s = "Exponential",
d = "Out",
g =
{BackgroundTransparency = 1}
}):Play()
end
end

tw({
v = Title_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {TextTransparency = 0}
}):Play()
tw({
v = Line_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency = 0}
}):Play()
tw({
v = Items_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency = 0.85}
}):Play()
tw({
v = Dropdown,
t = 0.3,
s = "Bounce",
d = "Out",
g = {Size = UDim2.new(0, 0,0, 0)}
}):Play()
isOpen = false
Value = text
Title_2.Text = text
pcall(function()
Callback(Title_2.Text)
end)
task.wait(0.05)
Dropdown.Visible = false
end
end)

delay(0,function()
if Multi then
if isValueInTable(text, Value) then
tw({
v = Title_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {TextTransparency = 0}
}):Play()
tw({
v = Line_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency =
0}
}):Play()
tw({
v = Items_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency =
0.85}
}):Play()
selectedValues[text] = true
local selectedList = {}
for i, v in pairs(selectedValues)
do
table.insert(selectedList, i)
end
if #selectedList > 0 then
Update()
else
Title_2.Text = ""
end
pcall(Callback, selectedList)
end
else
if text == Value then
tw({
v = Title_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {TextTransparency = 0}
}):Play()
tw({
v = Line_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency =
0}
}):Play()
tw({
v = Items_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {BackgroundTransparency =
0.85}
}):Play()
Value = text
Title_2.Text = text
Callback(Title_2.Text)
end
end
end)
end
for _, name in ipairs(List) do
itemslist:AddList(name)
end

UIListLayout_1:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
ScrollingFrame_1.CanvasSize = UDim2.new(0, 0, 0,
UIListLayout_1.AbsoluteContentSize.Y + 5)
end)

return itemslist
end

function Library.Class:Textbox(meta)

local Value = meta.Value or "Example"


local PlaceHolder = meta.PlaceHolder or "Place"
local ClearOnFocus = meta.ClearOnFocus or false
local Callback = meta.Callback

local Textbox = Instance.new("Frame")


local UICorner_1 = Instance.new("UICorner")
local Inside_1 = Instance.new("Frame")
local TextBox_1 = Instance.new("TextBox")
local UIStroke_1 = Instance.new("UIStroke")

Textbox.Name = "Textbox"
Textbox.Parent = Section_1
Textbox.BackgroundColor3 = Color3.fromRGB(70,70,70)
Textbox.BackgroundTransparency = 0.699999988079071
Textbox.BorderColor3 = Color3.fromRGB(0,0,0)
Textbox.BorderSizePixel = 0
Textbox.Position = UDim2.new(0, 0,0.466666669, 0)
Textbox.Size = UDim2.new(0.949999988, 0,0, 25)
Textbox.ClipsDescendants = true

UICorner_1.Parent = Textbox
UICorner_1.CornerRadius = UDim.new(1,0)

Inside_1.Name = "Inside"
Inside_1.Parent = Textbox
Inside_1.AnchorPoint = Vector2.new(0.5, 0.5)
Inside_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Inside_1.BackgroundTransparency = 1
Inside_1.BorderColor3 = Color3.fromRGB(0,0,0)
Inside_1.BorderSizePixel = 0
Inside_1.Position = UDim2.new(0.5, 0,0.5, 0)
Inside_1.Size = UDim2.new(1, 0,1, 0)

TextBox_1.Parent = Inside_1
TextBox_1.Active = true
TextBox_1.AnchorPoint = Vector2.new(0.5, 0.5)
TextBox_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
TextBox_1.BackgroundTransparency = 1
TextBox_1.BorderColor3 = Color3.fromRGB(0,0,0)
TextBox_1.BorderSizePixel = 0
TextBox_1.CursorPosition = -1
TextBox_1.Position = UDim2.new(0.5, 0,0.5, 0)
TextBox_1.Size = UDim2.new(1, 0,0, 10)
TextBox_1.Font = Enum.Font.GothamBold
TextBox_1.PlaceholderColor3 = Color3.fromRGB(178,178,178)
TextBox_1.PlaceholderText = tostring(PlaceHolder)
TextBox_1.Text = Value
TextBox_1.TextColor3 = Color3.fromRGB(255,255,255)
TextBox_1.TextSize = 12
TextBox_1.ClearTextOnFocus = ClearOnFocus

UIStroke_1.Parent = Textbox
UIStroke_1.Color = Color3.fromRGB(61,61,61)
UIStroke_1.Thickness = 1

TextBox_1.FocusLost:Connect(function()
if #TextBox_1.Text > 0 then
pcall(Callback, TextBox_1.Text)
end
end)

TextBox_1.Focused:Connect(function()
tw({
v = UIStroke_1,
t = 0.3,
s = "Back",
d = "Out",
g = {Transparency = 0}
}):Play()
end)

local Index = {}

function Index:Value(v)
Value = v
Title_1.Text = v
end

function Index:Visible(v)
Textbox.Visible = v
end

return Index
end

function Library.Class:Slider(info)

local Title = info.Title


local Min = info.Min or 0
local Max = info.Max or 100
local Rounding = info.Rounding or 0
local Value = info.Value or Min
local Callback = info.CallBack or function() end

local Slider = Instance.new("Frame")


local Inside_1 = Instance.new("Frame")
local Inside_2 = Instance.new("Frame")
local Title_1 = Instance.new("TextLabel")
local Bar_1 = Instance.new("Frame")
local UICorner_1 = Instance.new("UICorner")
local Color_1 = Instance.new("Frame")
local UICorner_2 = Instance.new("UICorner")
local Circle_1 = Instance.new("Frame")
local UICorner_3 = Instance.new("UICorner")
local Value_1 = Instance.new("TextLabel")
local UIPadding_1 = Instance.new("UIPadding")
local Slide = click(Bar_1)

Slider.Name = "Slider"
Slider.Parent = Section_1
Slider.BackgroundColor3 = Color3.fromRGB(70,70,70)
Slider.BackgroundTransparency = 1
Slider.BorderColor3 = Color3.fromRGB(0,0,0)
Slider.BorderSizePixel = 0
Slider.Position = UDim2.new(0, 0,0.466666669, 0)
Slider.Size = UDim2.new(0.949999988, 0,0, 40)
Slider.ClipsDescendants = true
Slider.Active = true

Inside_1.Name = "Inside"
Inside_1.Parent = Slider
Inside_1.AnchorPoint = Vector2.new(0.5, 0.5)
Inside_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Inside_1.BackgroundTransparency = 1
Inside_1.BorderColor3 = Color3.fromRGB(0,0,0)
Inside_1.BorderSizePixel = 0
Inside_1.Position = UDim2.new(0.5, 0,0.5, 0)
Inside_1.Size = UDim2.new(1, 0,1, 0)

Inside_2.Name = "Inside"
Inside_2.Parent = Inside_1
Inside_2.BackgroundColor3 = Color3.fromRGB(255,255,255)
Inside_2.BackgroundTransparency = 1
Inside_2.BorderColor3 = Color3.fromRGB(0,0,0)
Inside_2.BorderSizePixel = 0
Inside_2.LayoutOrder = -2
Inside_2.Size = UDim2.new(0, 207,0, 40)

Title_1.Name = "Title"
Title_1.Parent = Inside_2
Title_1.AnchorPoint = Vector2.new(0.5, 0.5)
Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Title_1.BackgroundTransparency = 1
Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
Title_1.BorderSizePixel = 0
Title_1.LayoutOrder = -1
Title_1.Position = UDim2.new(0.400000006, 0,0.349999994, 0)
Title_1.Size = UDim2.new(0.766949475, 0,0, 10)
Title_1.Font = Enum.Font.GothamBold
Title_1.Text = tostring(Title)
Title_1.TextColor3 = Color3.fromRGB(255,255,255)
Title_1.TextSize = 12
Title_1.TextXAlignment = Enum.TextXAlignment.Left

Bar_1.Name = "Bar"
Bar_1.Parent = Inside_2
Bar_1.BackgroundColor3 = Color3.fromRGB(27,27,27)
Bar_1.BorderColor3 = Color3.fromRGB(0,0,0)
Bar_1.BorderSizePixel = 0
Bar_1.Position = UDim2.new(0, 0,0.649999976, 0)
Bar_1.Size = UDim2.new(0, 200,0, 7)

UICorner_1.Parent = Bar_1

Color_1.Name = "Color"
Color_1.Parent = Bar_1
Color_1.AnchorPoint = Vector2.new(0, 0.5)
Color_1.BackgroundColor3 = Color3.fromRGB(0,255,127)
Color_1.BorderColor3 = Color3.fromRGB(0,0,0)
Color_1.BorderSizePixel = 0
Color_1.Position = UDim2.new(0, 0,0.5, 0)
Color_1.Size = UDim2.new(0, 50,0, 7)

UICorner_2.Parent = Color_1
UICorner_2.CornerRadius = UDim.new(1,0)

Circle_1.Name = "Circle"
Circle_1.Parent = Color_1
Circle_1.AnchorPoint = Vector2.new(0.5, 0.5)
Circle_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Circle_1.BorderColor3 = Color3.fromRGB(0,0,0)
Circle_1.BorderSizePixel = 0
Circle_1.Position = UDim2.new(1, 0,0.5, 0)
Circle_1.Size = UDim2.new(0, 5,0, 12)

UICorner_3.Parent = Circle_1
UICorner_3.CornerRadius = UDim.new(1,0)

Value_1.Name = "Value"
Value_1.Parent = Inside_2
Value_1.AnchorPoint = Vector2.new(0.5, 0.5)
Value_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Value_1.BackgroundTransparency = 1
Value_1.BorderColor3 = Color3.fromRGB(0,0,0)
Value_1.BorderSizePixel = 0
Value_1.LayoutOrder = -1
Value_1.Position = UDim2.new(0.780626237, 0,0.349999994, 0)
Value_1.Size = UDim2.new(0.371114671, 0,0, 10)
Value_1.Font = Enum.Font.GothamBold
Value_1.Text = tonumber(Value)
Value_1.TextColor3 = Color3.fromRGB(255,255,255)
Value_1.TextSize = 10
Value_1.TextXAlignment = Enum.TextXAlignment.Right

UIPadding_1.Parent = Slider
UIPadding_1.PaddingLeft = UDim.new(0,7)

local function roundToDecimal(value, decimals)


local factor = 10 ^ decimals
return math.floor(value * factor + 0.5) / factor
end

local function updateSlider(value)


value = math.clamp(value, Min, Max)
value = roundToDecimal(value, Rounding)
tw({
v = Color_1,
t = 0.15,
s = "Exponential",
d = "Out",
g = {Size = UDim2.new((value - Min) / (Max -
Min), 0, 1, 0)}
}):Play()
local startValue = tonumber(Value_1.Text) or 0
local targetValue = value

local steps = 5
local currentValue = startValue
for i = 1, steps do
task.wait(0.01 / steps)
currentValue = currentValue + (targetValue -
startValue) / steps
Value_1.Text =
tostring(roundToDecimal(currentValue, Rounding))
end

Value_1.Text = tostring(roundToDecimal(targetValue,
Rounding))

Callback(value)
end

updateSlider(Value or 0)

local function move(input)


local sliderBar = Bar_1
local relativeX = math.clamp((input.Position.X -
sliderBar.AbsolutePosition.X) / sliderBar.AbsoluteSize.X, 0, 1)
local value = relativeX * (Max - Min) + Min
updateSlider(value)
end

local dragging = false

Slide.InputBegan:Connect(function(input)
for _, v in pairs(Background_1:GetChildren()) do
if v.Name == "Dropdown" and v.Visible then
return
end
end
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch
then
dragging = true
move(input)
end
end)

Slide.InputEnded:Connect(function(input)
for _, v in pairs(Background_1:GetChildren()) do
if v.Name == "Dropdown" and v.Visible then
return
end
end
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch
then
dragging = false
end
end)

UserInputService.InputChanged:Connect(function(input)
for _, v in pairs(Background_1:GetChildren()) do
if v.Name == "Dropdown" and v.Visible then
return
end
end
if dragging and (input.UserInputType ==
Enum.UserInputType.MouseMovement or input.UserInputType ==
Enum.UserInputType.Touch) then
move(input)
end
end)

local NewValue = {}

function NewValue:Value(a)
Value = a
updateSlider(Value)
end

function NewValue:Visible(a)
Slider.Visible = a
end

function NewValue:Title(b)
Title_1.Text = b
end

return NewValue
end

function Library.Class:Label(text)
local Labelz = Instance.new("Frame")
local Title_1 = Instance.new("TextLabel")

Labelz.Name = "Label"
Labelz.Parent = Section_1
Labelz.BackgroundColor3 = Color3.fromRGB(255,255,255)
Labelz.BackgroundTransparency = 1
Labelz.BorderColor3 = Color3.fromRGB(0,0,0)
Labelz.BorderSizePixel = 0
Labelz.Size = UDim2.new(0.949999988, 0,0, 15)

Title_1.Name = "Title"
Title_1.Parent = Labelz
Title_1.AnchorPoint = Vector2.new(0.5, 0.5)
Title_1.BackgroundColor3 = Color3.fromRGB(255,255,255)
Title_1.BackgroundTransparency = 1
Title_1.BorderColor3 = Color3.fromRGB(0,0,0)
Title_1.BorderSizePixel = 0
Title_1.Position = UDim2.new(0.5, 0,0.5, 0)
Title_1.Size = UDim2.new(1, 0,1, 0)
Title_1.Font = Enum.Font.GothamBold
Title_1.RichText = true
Title_1.Text = tostring(text)
Title_1.TextColor3 = Color3.fromRGB(255,255,255)
Title_1.TextSize = 12

Labelz.Size = UDim2.new(0.949999988, 0, 0,
Title_1.TextBounds.Y + 5)

local i = {}

function i:Title(a)
Title_1.Text = a
Labelz.Size = UDim2.new(0.949999988, 0, 0,
Title_1.TextBounds.Y + 5)
end

function i:Visible(a)
Labelz.Visible = a
end

return i
end

return Library.Class
end

return Library.Section
end

return Library.Tab
end

-- ถ้าจะใส่ loadstring ให้ return Library

local Window = Library:New({


logo = 84028960215079,
bind = Enum.KeyCode.Q
})

local Tab = Window:AddTab("General")


local Tab2 = Window:AddTab("Visual")

local left = Tab:Section({


title = "Section",
side = "l"
})

local right = Tab2:Section({


title = "Section",
side = "r"
})

left:Button({
title = "Button",
callback = function()
print("Click")
end
})

left:Line()

left:Toggle({
title = "Automatic",
value = true,
callback = function(v)
print(v)
end
})

left:Toggle({
title = "Automatic",
value = false,
callback = function(v)
print(v)
end
})

left:Dropdown({
Title = "Dropdown",
Multi = false,
List = {"Hello", "EZ"},
Value = "Hello",
Callback = function(v)
print(v)
end
})

left:Dropdown({
Title = "Dropdown Multi",
Multi = true,
List = {"Hello", "EZ"},
Value = {"Hello"},
Callback = function(v)
print(v)
--Dropdown:AddList("Hello") -- เพิ่มรายชื่อ
--Dropdown:Clear("Hello") -- ลบรายชื่อแบบเลือก
--Dropdown:Clear() -- ลบรายชื่อทั้งหมด
end
})

right:Textbox({
Value = "Textbox",
PlaceHolder = "Paste",
ClearOnFocus = false,
Callback = function(v)
print(v)
end
})

right:Line()

right:Slider({
Title = "Slider",
Value = 50,
Min = 10,
Max = 100,
Rounding = 0,
CallBack = function(v)
print(v)
end
})
right:Line()

left:Line()

left:Label('This UI Made by <font color="rgb(0, 255, 127)">96soul</font>')

left:Line()

You might also like