0% found this document useful (0 votes)
16 views92 pages

Roblox ESP Script for Game Enhancement

The document contains a Lua script for a game, implementing features such as ESP (Extra Sensory Perception) for visualizing players and objects in the game. It includes functionalities for drawing boxes, names, distances, and tracers around players, as well as handling player events and character additions. Additionally, it sets up a customizable UI library for creating watermarks and managing cursor behavior.

Uploaded by

nesefar1234
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)
16 views92 pages

Roblox ESP Script for Game Enhancement

The document contains a Lua script for a game, implementing features such as ESP (Extra Sensory Perception) for visualizing players and objects in the game. It includes functionalities for drawing boxes, names, distances, and tracers around players, as well as handling player events and character additions. Additionally, it sets up a customizable UI library for creating watermarks and managing cursor behavior.

Uploaded by

nesefar1234
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

repeat wait() until game:IsLoaded()

local camlock = {
on = false,
pred = 0,
bind = [Link].C,
resolver=false,
aimpart = "HumanoidRootPart",
pingpred = false,
knockcheck = false,
easingstyle = nil,
easingdirection = nil,
smooth = {amount = 0}
}
local ESP = {
Enabled = true,
Boxes = false,
BoxShift = [Link](0,-1.5,0),
BoxSize = [Link](4,6,0),
Color = [Link](255, 255, 255),
FaceCamera = false,
Names = false,
TeamColor = false,
Thickness = 2,
AttachShift = 1,
TeamMates = true,
Players = false,

Objects = setmetatable({}, {__mode="kv"}),


Overrides = {}
}

local cam = [Link]


local plrs = game:GetService("Players")
local plr = [Link]
local mouse = plr:GetMouse()

local V3new = [Link]


local WorldToViewportPoint = [Link]

local function Draw(obj, props)


local new = [Link](obj)

props = props or {}
for i,v in pairs(props) do
new[i] = v
end
return new
end

function ESP:GetTeam(p)
local ov = [Link]
if ov then
return ov(p)
end

return p and [Link]


end
function ESP:IsTeamMate(p)
local ov = [Link]
if ov then
return ov(p)
end

return self:GetTeam(p) == self:GetTeam(plr)


end

function ESP:GetColor(obj)
local ov = [Link]
if ov then
return ov(obj)
end
local p = self:GetPlrFromChar(obj)
return p and [Link] and [Link] and [Link] or
[Link]
end

function ESP:GetPlrFromChar(char)
local ov = [Link]
if ov then
return ov(char)
end

return plrs:GetPlayerFromCharacter(char)
end

function ESP:Toggle(bool)
[Link] = bool
if not bool then
for i,v in pairs([Link]) do
if [Link] == "Box" then
if [Link] then
v:Remove()
else
for i,v in pairs([Link]) do
[Link] = false
end
end
end
end
end
end

function ESP:GetBox(obj)
return [Link][obj]
end

function ESP:AddObjectListener(parent, options)


local function NewListener(c)
if type([Link]) == "string" and c:IsA([Link]) or
[Link] == nil then
if type([Link]) == "string" and [Link] == [Link] or
[Link] == nil then
if not [Link] or [Link](c) then
local box = ESP:Add(c, {
PrimaryPart = type([Link]) ==
"string" and c:WaitForChild([Link]) or type([Link]) ==
"function" and [Link](c),
Color = type([Link]) == "function" and
[Link](c) or [Link],
ColorDynamic = [Link],
Name = type([Link]) == "function"
and [Link](c) or [Link],
IsEnabled = [Link],
RenderInNil = [Link]
})
if [Link] then
[Link]([Link])(box)
end
end
end
end
end

if [Link] then
[Link]:Connect(NewListener)
for i,v in pairs(parent:GetDescendants()) do
[Link](NewListener)(v)
end
else
[Link]:Connect(NewListener)
for i,v in pairs(parent:GetChildren()) do
[Link](NewListener)(v)
end
end
end

local boxBase = {}
boxBase.__index = boxBase

function boxBase:Remove()
[Link][[Link]] = nil
for i,v in pairs([Link]) do
[Link] = false
v:Remove()
[Link][i] = nil
end
end

function boxBase:Update()
if not [Link] then
return self:Remove()
end

local color
if [Link] == [Link] then
color = [Link]
else
color = [Link] or [Link] and self:ColorDynamic() or
ESP:GetColor([Link]) or [Link]
end

local allow = true


if [Link] and not [Link](self) then
allow = false
end
if [Link] and not [Link] and ESP:IsTeamMate([Link]) then
allow = false
end
if [Link] and not [Link] then
allow = false
end
if [Link] and (type([Link]) == "string" and not
ESP[[Link]] or type([Link]) == "function" and not self:IsEnabled())
then
allow = false
end
if not workspace:IsAncestorOf([Link]) and not [Link] then
allow = false
end

if not allow then


for i,v in pairs([Link]) do
[Link] = false
end
return
end

if [Link] == [Link] then


color = [Link]
end

local cf = [Link]
if [Link] then
cf = [Link](cf.p, [Link].p)
end
local size = [Link]
local locs = {
TopLeft = cf * [Link] * [Link](size.X/2,size.Y/2,0),
TopRight = cf * [Link] * [Link](-size.X/2,size.Y/2,0),
BottomLeft = cf * [Link] * [Link](size.X/2,-size.Y/2,0),
BottomRight = cf * [Link] * [Link](-size.X/2,-size.Y/2,0),
TagPos = cf * [Link] * [Link](0,size.Y/2,0),
Torso = cf * [Link]
}

if [Link] then
local TopLeft, Vis1 = WorldToViewportPoint(cam, [Link].p)
local TopRight, Vis2 = WorldToViewportPoint(cam, [Link].p)
local BottomLeft, Vis3 = WorldToViewportPoint(cam, [Link].p)
local BottomRight, Vis4 = WorldToViewportPoint(cam, [Link].p)

if [Link] then
if Vis1 or Vis2 or Vis3 or Vis4 then
[Link] = true
[Link] = [Link](TopRight.X,
TopRight.Y)
[Link] = [Link](TopLeft.X,
TopLeft.Y)
[Link] = [Link](BottomLeft.X,
BottomLeft.Y)
[Link] = [Link](BottomRight.X,
BottomRight.Y)
[Link] = [Link]
else
[Link] = false
end
end
else
[Link] = false
end

if [Link] then
local TagPos, Vis5 = WorldToViewportPoint(cam, [Link].p)

if Vis5 then
[Link] = true
[Link] = [Link](TagPos.X, TagPos.Y)
[Link] = [Link]
[Link] = color

[Link] = true
[Link] = [Link](TagPos.X,
TagPos.Y + 14)
[Link] = [Link](([Link].p -
cf.p).magnitude) .."m away"
[Link] = color
else
[Link] = false
[Link] = false
end
else
[Link] = false
[Link] = false
end

if [Link] then
local TorsoPos, Vis6 = WorldToViewportPoint(cam, [Link].p)

if Vis6 then
[Link] = true
[Link] = [Link](TorsoPos.X, TorsoPos.Y)
[Link] =
[Link]([Link].X/2,[Link].Y/[Link])
[Link] = color
else
[Link] = false
end
else
[Link] = false
end
end

function ESP:Add(obj, options)


if not [Link] and not [Link] then
return warn(obj, "has no parent")
end

local box = setmetatable({


Name = [Link] or [Link],
Type = "Box",
Color = [Link],
Size = [Link] or [Link],
Object = obj,
Player = [Link] or plrs:GetPlayerFromCharacter(obj),
PrimaryPart = [Link] or [Link] == "Model" and
([Link] or obj:FindFirstChild("HumanoidRootPart") or
obj:FindFirstChildWhichIsA("BasePart")) or obj:IsA("BasePart") and obj,
Components = {},
IsEnabled = [Link],
Temporary = [Link],
ColorDynamic = [Link],
RenderInNil = [Link]
}, boxBase)

if self:GetBox(obj) then
self:GetBox(obj):Remove()
end

[Link]["Quad"] = Draw("Quad", {
Thickness = 2,
Color = [Link],
Transparency = 1,
Filled = false,
Visible = [Link] and [Link]
})
[Link]["Name"] = Draw("Text", {
Text = [Link],
Color = [Link],
Center = true,
Outline = true,
Size = 19,
Visible = [Link] and [Link]
})
[Link]["Distance"] = Draw("Text", {
Color = [Link],
Center = true,
Outline = true,
Size = 19,
Visible = [Link] and [Link]
})

[Link]["Tracer"] = Draw("Line", {
Thickness = [Link],
Color = [Link],
Transparency = 1,
Visible = [Link] and [Link]
})
[Link][obj] = box

[Link]:Connect(function(_, parent)
if parent == nil and [Link] ~= false then
box:Remove()
end
end)
obj:GetPropertyChangedSignal("Parent"):Connect(function()
if [Link] == nil and [Link] ~= false then
box:Remove()
end
end)

local hum = obj:FindFirstChildOfClass("Humanoid")


if hum then
[Link]:Connect(function()
if [Link] ~= false then
box:Remove()
end
end)
end

return box
end

local function CharAdded(char)


local p = plrs:GetPlayerFromCharacter(char)
if not char:FindFirstChild("HumanoidRootPart") then
local ev
ev = [Link]:Connect(function(c)
if [Link] == "HumanoidRootPart" then
ev:Disconnect()
ESP:Add(char, {
Name = [Link],
Player = p,
PrimaryPart = c
})
end
end)
else
ESP:Add(char, {
Name = [Link],
Player = p,
PrimaryPart = [Link]
})
end
end
local function PlayerAdded(p)
[Link]:Connect(CharAdded)
if [Link] then
[Link](CharAdded)([Link])
end
end
[Link]:Connect(PlayerAdded)
for i,v in pairs(plrs:GetPlayers()) do
if v ~= plr then
PlayerAdded(v)
end
end

game:GetService("RunService").RenderStepped:Connect(function()
cam = [Link]
for i,v in ([Link] and pairs or ipairs)([Link]) do
if [Link] then
local s,e = pcall([Link], v)
if not s then warn("[EU]", e, [Link]:GetFullName()) end
end
end
end)

local library = {
flags = {},
items = {}
}
local uis = game:GetService("UserInputService")
local runservice = game:GetService("RunService")
local tweenservice = game:GetService("TweenService")
local textservice = game:GetService("TextService")
local coregui = game:GetService("CoreGui")
local httpservice = game:GetService("HttpService")

[Link] = {
fontsize = 17,
titlesize = 18,
font = [Link],
background = "rbxassetid://0",
tilesize = 90,
cursor = false,
cursorimg = "[Link]
backgroundcolor = [Link](20, 20, 20),
tabstextcolor = [Link](255, 255, 255),
bordercolor = [Link](50, 189, 50),
accentcolor = [Link](89, 143, 85),
accentcolor2 = [Link](48, 86, 48),
outlinecolor = [Link](20, 20, 20),
outlinecolor2 = [Link](30, 30, 30),
sectorcolor = [Link](30, 30, 30),
toptextcolor = [Link](255, 255, 255),
topheight = 48,
topcolor = [Link](30, 30, 30),
topcolor2 = [Link](12, 12, 12),
buttoncolor = [Link](49, 49, 49),
buttoncolor2 = [Link](29, 29, 29),
itemscolor = [Link](170, 170, 170),
itemscolor2 = [Link](255, 255, 255)
}

if [Link] 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)

[Link]:Connect(function()
[Link] =
[Link]
[Link] = [Link] and
([Link] or game:GetService("GuiService").MenuIsOpen)
end)

elseif not success and [Link] then


[Link]:Remove()
end
end

local fire,water ="UpdateMousePos", "UpdateMousePos1"

function library:CreateWatermark(name, position)


local gamename = game["PlaceId"].Name
local watermark = {}
[Link] = true
[Link] = " " .. name:gsub("{game}", gamename):gsub("{fps}", "0
FPS") .. " "

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


[Link] = "Watermark"

if getgenv().uimark then
getgenv().uimark:Remove()
end

getgenv().uimark = [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,
[Link](40, 40, 40)), [Link](1, [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] = 10
[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
[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)

local startTime, counter, oldfps = [Link](), 0, nil


[Link]:Connect(function()
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]

if not name:find("{fps}") then


[Link] = " " .. name:gsub("{game}",
gamename):gsub("{fps}", "0 FPS") .. " "
end

if name:find("{fps}") then
local currentTime = [Link]()
counter = counter + 1
if currentTime - startTime >= 1 then
local fps = [Link](counter / (currentTime - startTime))
counter = 0
startTime = currentTime

if fps ~= oldfps then


[Link] = " " .. name:gsub("{game}",
gamename):gsub("{fps}", fps .. " FPS") .. " "
[Link] = [Link](0,
[Link].X + 10, 0, 25)
[Link] = [Link](0,
[Link].X, 0, 25)
[Link] = [Link](0,
[Link].X, 0, 1)

[Link] = [Link] +
[Link](2, 2)
[Link] = [Link]
+ [Link](4, 4)
end
oldfps = fps
end
end
end)

[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](500, 600)
[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] = name
[Link] = 15

if syn then
syn.protect_gui([Link])
end

if getgenv().uilib then
getgenv().uilib:Remove()
end

getgenv().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,
[Link]), [Link](1, [Link].topcolor2)})
[Link]:Connect(function(theme)
[Link] =
[Link]({[Link](0, [Link]),
[Link](1, 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 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]: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, [Link]),
[Link](1, [Link].buttoncolor2)})
[Link]:Connect(function(theme)
[Link] =
[Link]({[Link](0, [Link]),
[Link](1, 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, [Link](30, 30, 30)),
[Link](1, [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] = [Link]

toggle.Gradient2 = [Link]("UIGradient",
[Link])
[Link] = (22.5 * 13)
[Link] =
[Link]({[Link](0, [Link].accentcolor2),
[Link](1, [Link])})
[Link]:Connect(function(theme)
[Link] =
[Link]({[Link](0, theme.accentcolor2),
[Link](1, [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 "") ..
#[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 "") ..
#[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, [Link](49, 49, 49)),
[Link](1, [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 "") ..
#[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, [Link](49, 49, 49)),
[Link](1, [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 "") ..
#[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, [Link]),
[Link](1, 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
[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, color),
[Link](1, 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 "") ..
#[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, [Link](49, 49, 49)),
[Link](1, [Link](41, 41, 41))})

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


[Link].BackgroundColor3 =
[Link](255, 255, 255)
[Link] = 8
[Link] = 0
[Link] = [Link](0,
[Link])

slider.Gradient2 = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({[Link](0, [Link]),
[Link](1, [Link].accentcolor2)})
[Link]:Connect(function(theme)
[Link] =
[Link]({[Link](0, [Link]),
[Link](1, 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 =
game:GetService("Workspace").CurrentCamera: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, [Link](49, 49, 49)),
[Link](1, [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, [Link](49, 49, 49)),
[Link](1, [Link](41, 41, 41))})

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


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

slider.Gradient2 = [Link]("UIGradient",
[Link])
[Link] = 90
[Link] =
[Link]({[Link](0, [Link]),
[Link](1, [Link].accentcolor2)})
[Link]:Connect(function(theme)
[Link] =
[Link]({[Link](0, [Link]),
[Link](1, 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([Link])
else
[Link] = [Link]
end
end)

function slider:Refresh()
local mousePos =
game:GetService("Workspace").CurrentCamera: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, [Link]),
[Link](1, 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
[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, color),
[Link](1, 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 "") ..
#[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, [Link](49, 49, 49)),
[Link](1, [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, [Link](49, 49, 49)),
[Link](1, [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] .. " / " ..


game["PlaceId"]
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 = (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(v:gsub([Link] .. "\\",
""):gsub(".txt", ""))
end
end

[Link] = [Link]:AddButton("Create",
function()
for i, v in pairs(listfiles([Link])) do
Config:Remove(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 (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(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 (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 (v:find("[Link].")) then
NewConfig[i] =
[Link][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(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(v:gsub([Link] ..
"\\", ""):gsub(".txt", ""))
end
end
end)

return configSystem
end

[Link]([Link], tab)

return tab
end

return window
end

local voke_actyrn =
library:CreateWindow('[Link] | v1.0.5',
[Link](350, 400),
[Link])

local maincheatstab = voke_actyrn:CreateTab("Main-Cheats")


local camsector = maincheatstab:CreateSector("Camlock", "left")
local esptab = maincheatstab:CreateSector("ESP", "right")
local strafesector=maincheatstab:CreateSector("Strafe", "right")
local playerhacks = voke_actyrn:CreateTab("Player-Hacks")
local antisector = playerhacks:CreateSector("Anti".." Aimbot","left")

local movingsector = playerhacks:CreateSector("Moving", "right")

local cframemovement = {
enabled = false,
amount = 1
}
local speedtoggele =movingsector:AddToggle("Speed",
false,
function(v)
[Link]=v
end)
speedtoggele:AddKeybind()
movingsector:AddSlider(
"Speed Amount",
1,
1,
6900,
1,
function(v)
[Link]=v/1000
end)
movingsector:AddToggle(
"Freeze",
false,
function(v)
[Link] =v
end)
movingsector:AddDropdown(
"Run Anim", {
"None",
"Rthro",
"Zombie",
"Werewolf",
"Ninja",
"Toy",
"Superhero",
"OldSchool",
"Cartoony",
"Stylish",
"Vampire"},
"None",
false,
function(v)
fakeanims = v
end)
local previousanim = [Link]

[Link]:Connect(function()
if fakeanims == "None" then
[Link] = previousanim
elseif fakeanims == "Rthro" then
[Link] =
"[Link]
elseif fakeanims == "Werewolf" then
[Link] =
"[Link]
elseif fakeanims == "Zombie" then
[Link] =
"[Link]
elseif fakeanims == "Ninja" then
[Link] =
"[Link]
elseif fakeanims == "Toy" then
[Link] =
"[Link]
elseif fakeanims == "Superhero" then
[Link] =
"[Link]
elseif fakeanims == "OldSchool" then
[Link] =
"[Link]
elseif fakeanims == "Cartoony" then
[Link] =
"[Link]
elseif fakeanims == "Stylish" then
[Link] =
"[Link]
elseif fakeanims == "Vampire" then
[Link] =
"[Link]
end
end)

[Link]:Connect(function()
if [Link]==true then
[Link]=
[Link]
+[Link]
* [Link]
end
end)
local removeslow=false

movingsector:AddToggle("Remove Slow",
false,
function(v)
removeslow=v
end)
local sjump = false
movingsector:AddToggle("Spam Jump",
false,
function(v)
sjump=v
end)
[Link]:Connect(function()
if sjump and
[Link]:GetState()~=[Link] and
[Link]>0 and removeslow ==true
then
[Link]:ChangeState'Jumping';
end
end)
[Link]:Connect(function()
if removeslow == true then
local slow =
[Link]:FindFirstChild("NoJumping") or
[Link]:FindFirstChild("ReduceWalk")or

[Link]:FindFirstChild("NoWalkSpeed")
if [Link] then
[Link] = false; end
if slow then slow:Destroy() end
[Link] = false
else
[Link]=true
end
end)

local espenable=esptab:AddToggle("Enabled",
false,
function(v)
[Link] = v
end)
espenable:AddColorpicker(
[Link](30, 210, 0),
function(v)
[Link] = v
end)
esptab:AddToggle("Boxes",
false,
function(v)
[Link] = v
end)
esptab:AddToggle("Names",
false,
function(v)
[Link] = v
end)
esptab:AddToggle("Face Camera",
false,
function(v)
[Link] = v
end)

local antivals = {
isEnabled = true,
modes = "Customizable",--Front, Back
xpower = 420.00,
ypower = 420.00,
zpower=420.00 ,
frontpower = 420.00,
backpower = 420.00
}

local function antilock()


local hrp =
[Link]
local vel =
[Link]
if [Link] == true then
local antivel
if [Link]=="Customizable" then
antivel = [Link](
[Link],[Link],[Link])
elseif [Link] == "Front" then
antivel = [Link]
elseif [Link] == "Back"then
antivel = [Link]
end
[Link] = antivel
[Link]:Wait()
[Link] = vel
end
end

[Link]:Connect(antilock)

local antitoggle = antisector:AddToggle("Enabled",


false,
function(v)
[Link]=v
end)
antitoggle:AddKeybind()
antisector:AddDropdown("Type",
{"Customizable","Front","Back"},
"Customizable",
false,
function(v)
[Link] = v
end)
antisector:AddLabel("Customizable")
antisector:AddSlider(
"Custom X Power",
-420,
69,
420,
1,
function(v)
[Link] = v
end)

antisector:AddSlider(
"Custom Y Power",
-420,
69,
420,
1,
function(v)
[Link] = v
end)
antisector:AddSlider(
"Custom Z Power",
-420,
69,
420,
1,
function(v)
[Link]= v
end)

local strafevals = {
enabled = false,
speed=1,
dist=1,
height=1
};

strafesector:AddToggle("Enabled",
false,
function(v)
[Link] = v
end)

strafesector:AddSlider(
"Speed",
1,
1,
10,
2,
function(v)
[Link]=v
end)
strafesector:AddSlider(
"Distance",
1,
1,
20,
2,
function(v)
[Link]=v
end)

strafesector:AddSlider(
"Height",
1,
1,
20,
2,
function(v)
[Link]=v
end)

local CameraKeyEnabled = false

local NIGGER_TARGETED_cam = nil


local sspeed=0

[Link]:Connect(function()
if [Link] and CameraKeyEnabled and [Link] then
sspeed = sspeed + [Link]
[Link] =
NIGGER_TARGETED_cam.[Link]*

[Link](0,[Link](sspeed),0)*[Link](0,[Link],[Link])
end
end)
local camFunc = function()
local blackPersonPosition
if [Link] == true and CameraKeyEnabled == true then
if [Link] == true then
blackPersonPosition =
[Link]([Link].p,
NIGGER_TARGETED_cam.Character[[Link]].Position +

NIGGER_TARGETED_cam.[Link]*NIGGER_TARGETED_cam.Character.
[Link]*[Link])
else
blackPersonPosition =
[Link]([Link].p,
NIGGER_TARGETED_cam.Character[[Link]].Position +

NIGGER_TARGETED_cam.Character[[Link]].AssemblyLinearVelocity*[Link])
end

[Link] =
[Link]:Lerp(
blackPersonPosition, [Link],
[Link][[Link]],
[Link][[Link]])
end
end;

camsector:AddToggle("Enabled",
false,
function(v)
[Link] = v
end)

camsector:AddKeybind("Keybind",
nil,
function (v)
[Link] = v
end)

local cam2ndpred
camsector:AddTextbox("Prediction",
nil,
function(v)
[Link] = v
cam2ndpred=v
end)

camsector:AddDropdown("Part",
{"Head", "Torso", "UpperTorso", "LowerTorso"},
"Torso",
false,
function(v)
if v == "Torso" then
[Link] = "HumanoidRootPart"
else
[Link] = v
end
end)
local camresolve = camsector:AddToggle("Resolver",
false,
function(v)
[Link] = v
end)

camresolve:AddKeybind()

camsector:AddToggle("Ping Prediction",
false,
function(v)
if v then
[Link] = true
else
[Link] = not true
end
end)

[Link]:Connect(function()
local pingnumb = [Link](
game:GetService"Stats".[Link][
'Data Ping']:GetValue())
if [Link] == true then
if pingnumb < 360 then
[Link] = 0.16537
elseif pingnumb < 270 then
[Link] = 0.195566
elseif pingnumb < 260 then
[Link] = 0.175566
elseif pingnumb < 250 then
[Link] = 0.1651
elseif pingnumb < 240 then
[Link] = 0.16780
elseif pingnumb < 230 then
[Link] = 0.15692
elseif pingnumb < 220 then
[Link] = 0.165566
elseif pingnumb < 210 then
[Link] = 0.16780
elseif pingnumb < 200 then
[Link] = 0.165566
elseif pingnumb < 190 then
[Link] = 0.166547
elseif pingnumb < 180 then
[Link] = 0.19284
elseif pingnumb < 170 then
[Link] = 0.1923111
elseif pingnumb < 160 then
[Link] = 0.16
elseif pingnumb < 150 then
[Link] = 0.15
elseif pingnumb < 140 then
[Link] = 0.1223333
elseif pingnumb < 130 then
[Link] = 0.156692
elseif pingnumb < 120 then
[Link] = 0.143765
elseif pingnumb < 110 then
[Link] = 0.1455
elseif pingnumb < 100 then
[Link] = 0.130340
elseif pingnumb < 90 then
[Link] = 0.136
elseif pingnumb < 80 then
[Link] = 0.1347
elseif pingnumb < 70 then
[Link] = 0.119
elseif pingnumb < 60 then
[Link] = 0.12731
elseif pingnumb < 50 then
[Link] = 0.127668
elseif pingnumb < 40 then
[Link] = 0.125
elseif pingnumb < 30 then
[Link] = 0.11
elseif pingnumb < 20 then
[Link] = 0.12588
elseif pingnumb < 10 then
[Link] = 0.09
end
else
[Link] = cam2ndpred
end
end)
camsector:AddToggle("Knocked Check",
false,
function(v)
[Link] = v
end)

[Link]:
Connect(function()
if [Link] == true and [Link] == true and
CameraKeyEnabled
and(NIGGER_TARGETED_cam.[Link]
<= 2.15 or [Link]<=2.150)
then
local ifOn = not false

CameraKeyEnabled=not(ifOn)
end
end)

camsector:AddDropdown("Easing-Style",

{"Linear","Sine","Back","Quad","Quart","Quint","Bounce","Elastic","Exponential","Ci
rcular","Cubic"},
"Linear",
false,
function(v)
[Link] = v
end)

camsector:AddDropdown("Easing-Direction",
{"In", "Out", "InOut"},
"InOut",
false,
function(v)
[Link] = v
end)
camsector:AddTextbox("Smooth Amount",
1,
function(v)
[Link] = v
end)

function nearestWhiteHuman(p)
local d=math["huge"]
local c=nil
for i,t in pairs(plrs:GetPlayers()) do
pcall (function ()
if t~=plr then
local p = [Link]:WorldToViewportPoint(
t['Character'][p]["Position"])
local m=([Link](p.X,p.Y)
-
game:GetService"UserInputService":GetMouseLocation())

['magnitude']
if(m<d)then
c=t;
d=m;
end
end
end)
end;return c
end
[Link]:Connect(function(i)
if [Link] == true and [Link]==[Link] and not
uis:GetFocusedTextBox() then
local p,o=
[Link]:WorldToViewportPoint(
nearestWhiteHuman(
[Link]).Character[
[Link]].Position)
if CameraKeyEnabled==true then
CameraKeyEnabled=false
else
if( o )then
NIGGER_TARGETED_cam=nearestWhiteHuman ([Link])
CameraKeyEnabled=true
end
end
end
end)
for i,c in next, getconnections(
[Link])

do
c:Disable()
end
for i,c in next, getconnections(
[Link]:GetPropertyChangedSignal("CFrame"))

do
c:Disable()
end

You might also like