Message
Message
values = {}
local library = {}
local library =
loadstring(game:HttpGet'https://raw.githubusercontent.com/CatzCode/PikaHub/main/
Libraries/UI/bruh.lua')()
library:CreateWatermark("SaladWare | Version 3.0")
library.theme.accentcolor = Color3.fromRGB(0, 0, 0)
library.theme.accentcolor2 = Color3.fromRGB(0, 0, 0)
library.theme.topheight = 45
library.theme.TextColor = Color3.fromRGB(0, 0, 0)
-- caching
local Vec2 = Vector2.new
local Vec3 = Vector3.new
local CF = CFrame.new
local INST = Instance.new
local COL3 = Color3.new
local COL3RGB = Color3.fromRGB
local COL3HSV = Color3.fromHSV
local CLAMP = math.clamp
local DEG = math.deg
local FLOOR = math.floor
local ACOS = math.acos
local RANDOM = math.random
local ATAN2 = math.atan2
local HUGE = math.huge
local RAD = math.rad
local MIN = math.min
local POW = math.pow
local UDIM2 = UDim2.new
local CFAngles = CFrame.Angles
function rgbtotbl(rgb)
return {R = rgb.R, G = rgb.G, B = rgb.B}
end
function tbltorgb(tbl)
return COL3(tbl.R, tbl.G, tbl.B)
end
local function deepCopy(original)
local copy = {}
for k, v in pairs(original) do
if type(v) == "table" then
v = deepCopy(v)
end
copy[k] = v
end
return copy
end
function library:ConfigFix(cfg)
local copy =
game:GetService("HttpService"):JSONDecode(readfile(cfglocation..cfg..".txt"))
for i,Tabs in pairs(copy) do
for i,Sectors in pairs(Tabs) do
for i,Elements in pairs(Sectors) do
if Elements.Color ~= nil then
local a = Elements.Color
Elements.Color = tbltorgb(a)
end
end
end
end
return copy
end
function library:SaveConfig(cfg)
local copy = deepCopy(values)
for i,Tabs in pairs(copy) do
for i,Sectors in pairs(Tabs) do
for i,Elements in pairs(Sectors) do
if Elements.Color ~= nil then
Elements.Color = {R=Elements.Color.R,
G=Elements.Color.G, B=Elements.Color.B}
end
end
end
end
writefile(cfglocation..cfg..".txt",
game:GetService("HttpService"):JSONEncode(copy))
end
function library:New(name)
local menu = {}
function menu:SetScale(scale)
UIScale.Scale = scale
end
game:GetService("RunService").RenderStepped:connect(function()
cursor.Visible = salad.Enabled
cursor.Position = UDIM2(0,Mouse.X-32,0,Mouse.Y-28)
end)
Menu.Name = "Menu"
Menu.Parent = salad
Menu.BackgroundColor3 = COL3RGB(0, 0, 0)
Menu.Position = UDIM2(0.5, -300, 0.5, -300)
Menu.Size = UDIM2(0, 600, 0, 625)
Menu.Image = "http://www.roblox.com/asset/?id=3967030494"
Menu.BorderSizePixel = 0
library.uiopen = true
game:GetService("UserInputService").InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.Insert then
salad.Enabled = not salad.Enabled
library.uiopen = salad.Enabled
end
end)
KeybindList.Name = "KeybindList"
KeybindList.ZIndexBehavior = Enum.ZIndexBehavior.Global
KeybindList.Enabled = false
TextLabel.Parent = KeybindList
TextLabel.BackgroundColor3 = COL3RGB(0, 0, 0)
TextLabel.BorderColor3 = COL3RGB(0, 220, 0)
TextLabel.Position = UDIM2(0, 1, 0.300000012, 0)
TextLabel.Size = UDIM2(0, 155, 0, 24)
TextLabel.ZIndex = 2
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = "keybinds"
TextLabel.TextColor3 = COL3RGB(255, 255, 255)
TextLabel.TextSize = 14.000
Frame.Parent = TextLabel
Frame.BackgroundColor3 = COL3RGB(255, 255, 255)
Frame.BackgroundTransparency = 1.000
Frame.Position = UDIM2(0, 0, 1, 1)
Frame.Size = UDIM2(1, 0, 1, 0)
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
KeybindList.Parent = game.CoreGui
end
function keybindadd(text)
if not KeybindList.TextLabel.Frame:FindFirstChild(text) then
local TextLabel = INST("TextLabel")
TextLabel.BackgroundColor3 = COL3RGB(1, 1, 1)
TextLabel.BorderColor3 = COL3RGB(225, 249, 31)
TextLabel.BorderSizePixel = 0
TextLabel.Size = UDIM2(0, 155, 0, 24)
TextLabel.ZIndex = 2
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(255, 255, 255)
TextLabel.TextSize = 14.000
TextLabel.Name = text
TextLabel.Parent = KeybindList.TextLabel.Frame
end
end
function keybindremove(text)
if KeybindList.TextLabel.Frame:FindFirstChild(text) then
KeybindList.TextLabel.Frame:FindFirstChild(text):Destroy()
end
end
function library:SetKeybindVisible(Joe)
KeybindList.Enabled = Joe
end
library.dragging = false
do
local UserInputService = game:GetService("UserInputService")
local a = Menu
local dragInput
local dragStart
local startPos
local function update(input)
local delta = input.Position - dragStart
a.Position = UDIM2(startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
a.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
library.dragging = true
dragStart = input.Position
startPos = a.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End
then
library.dragging = false
end
end)
end
end)
a.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and library.dragging then
update(input)
end
end)
end
TextLabel.Parent = Menu
TextLabel.BackgroundColor3 = COL3RGB(1, 1, 1)
TextLabel.BackgroundTransparency = 1
TextLabel.Position = UDIM2(0, 7, 0, 0)
TextLabel.Size = UDIM2(0, 0, 0, 29)
TextLabel.Size = UDIM2(0, txt:GetTextSize(name, 15,
Enum.Font.SourceSansSemibold, Vec2(700, TextLabel.AbsoluteSize.Y)).X, 0, 29)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = name
TextLabel.TextColor3 = COL3RGB(255, 255, 255)
TextLabel.TextSize = 15.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TabButtons.Name = "TabButtons"
TabButtons.Parent = Menu
TabButtons.BackgroundColor3 = COL3RGB(1, 1, 1)
TabButtons.BackgroundTransparency = 1
TabButtons.Position = UDIM2(TextLabel.Size.X.Scale,
TextLabel.Size.X.Offset+10, 0, 0)
TabButtons.Size = UDIM2(TextLabel.Size.X.Scale, 590-TextLabel.Size.X.Offset,
0, 29)
UIListLayout.Parent = TabButtons
UIListLayout.FillDirection = Enum.FillDirection.Horizontal
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Center
Tabs.Name = "Tabs"
Tabs.Parent = Menu
Tabs.BackgroundColor3 = COL3RGB(1, 1, 1)
Tabs.BackgroundTransparency = 1.000
Tabs.Position = UDIM2(0, 0, 0, 32)
Tabs.Size = UDIM2(0, 600, 0, 568)
function menu:Tab(text)
local tabname
tabname = text
local Tab = {}
values[tabname] = {}
TabGui.Name = "TabGui"
TabGui.Parent = Tabs
TabGui.BackgroundColor3 = COL3RGB(255, 255, 255)
TabGui.BackgroundTransparency = 1.000
TabGui.Size = UDIM2(1, 0, 1, 0)
TabGui.Visible = false
Left.Name = "Left"
Left.Parent = TabGui
Left.BackgroundColor3 = COL3RGB(255, 255, 255)
Left.BackgroundTransparency = 1.000
Left.Position = UDIM2(0, 15, 0, 11)
Left.Size = UDIM2(0, 279, 0, 543)
UIListLayout.Parent = Left
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 10)
Right.Name = "Right"
Right.Parent = TabGui
Right.BackgroundColor3 = COL3RGB(255, 255, 255)
Right.BackgroundTransparency = 1.000
Right.Position = UDIM2(0, 303, 0, 11)
Right.Size = UDIM2(0, 279, 0, 543)
UIListLayout_2.Parent = Right
UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_2.Padding = UDim.new(0, 10)
if first then
TextButton.TextColor3 = COL3RGB(255, 255, 255)
currenttab = text
TabGui.Visible = true
first = false
end
TextButton.MouseButton1Down:Connect(function()
if currenttab ~= text then
for i,v in pairs(TabButtons:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v, TweenInfo.new(0.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200,
200)})
end
end
for i,v in pairs(Tabs:GetChildren()) do
v.Visible = false
end
library:Tween(TextButton, TweenInfo.new(0.3,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(0, 220,
0)})
currenttab = text
TabGui.Visible = true
end
end)
Section.Name = "Section"
Section.Parent = TabGui[side]
Section.BackgroundColor3 = COL3RGB(1, 1, 1)
Section.BorderColor3 = COL3RGB(30, 30, 30)
Section.BorderSizePixel = 0
Section.Size = UDIM2(1, 0, 0, 33)
SectionText.Name = "SectionText"
SectionText.Parent = Section
SectionText.BackgroundColor3 = COL3RGB(255, 255, 255)
SectionText.BackgroundTransparency = 1.000
SectionText.Position = UDIM2(0, 7, 0, -12)
SectionText.Size = UDIM2(0, 270, 0, 19)
SectionText.ZIndex = 2
SectionText.Font = Enum.Font.SourceSansSemibold
SectionText.Text = text
SectionText.TextColor3 = COL3RGB(255, 255, 255)
SectionText.TextSize = 15.000
SectionText.TextXAlignment = Enum.TextXAlignment.Left
Inner.Name = "Inner"
Inner.Parent = Section
Inner.BackgroundColor3 = COL3RGB(1, 1, 1)
Inner.BorderColor3 = COL3RGB(30, 30, 30)
Inner.BorderSizePixel = 0
Inner.Position = UDIM2(0, 1, 0, 1)
Inner.Size = UDIM2(1, -2, 1, -9)
sectiontabs.Name = "sectiontabs"
sectiontabs.Parent = Section
sectiontabs.BackgroundColor3 = COL3RGB(255, 255, 255)
sectiontabs.BackgroundTransparency = 1.000
sectiontabs.Position = UDIM2(0, 0, 0, 6)
sectiontabs.Size = UDIM2(1, 0, 0, 22)
UIListLayout_2.Parent = sectiontabs
UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
UIListLayout_2.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_2.Padding = UDim.new(0,4)
tab1.Name = text
tab1.Parent = Inner
tab1.BackgroundColor3 = COL3RGB(1, 1, 1)
tab1.BorderColor3 = COL3RGB(30, 30, 30)
tab1.BorderSizePixel = 0
tab1.Position = UDIM2(0, 0, 0, 30)
tab1.Size = UDIM2(1, 0, 1, -21)
tab1.Name = text
tab1.Visible = false
UIPadding.Parent = tab1
UIPadding.PaddingTop = UDim.new(0, 0)
UIListLayout.Parent = tab1
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 1)
TextButton.Parent = sectiontabs
TextButton.BackgroundColor3 = COL3RGB(255, 255, 255)
TextButton.BackgroundTransparency = 1.000
TextButton.Size = UDIM2(0, txt:GetTextSize(text, 14,
Enum.Font.SourceSansSemibold, Vec2(700,700)).X + 2, 1, 0)
TextButton.Font = Enum.Font.SourceSansSemibold
TextButton.Text = text
TextButton.TextColor3 = COL3RGB(200, 200, 200)
TextButton.TextSize = 14.000
TextButton.Name = text
TextButton.MouseButton1Down:Connect(function()
for i,v in pairs(Inner:GetChildren()) do
v.Visible = false
end
for i,v in pairs(sectiontabs:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v, TweenInfo.new(0.1,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200,
200)})
end
end
Section.Size = tabsize
tab1.Visible = true
library:Tween(TextButton, TweenInfo.new(0.1,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(0, 220,
0)})
end)
Dropdown.Name = "Dropdown"
Dropdown.Parent = tab1
Dropdown.BackgroundColor3 = COL3RGB(255, 255,
255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0.255102038, 0)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255,
255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = "..."
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(1, 1, 1)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage =
"http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 0
Drop.TopImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.MidImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.AutomaticCanvasSize = "Y"
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(0, 220, 0)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder =
Enum.SortOrder.LayoutOrder
values[tabname][sectorname][tabtext][text] =
Element.value
local num = #data.options
if num > 5 then
Drop.Size = UDIM2(1, 0, 0, 85)
else
Drop.Size = UDIM2(1, 0, 0, 17*num)
end
local first = true
if #old == 0 then
str = "..."
else
if #old == 1 then
str = old[1]
else
for i,v in ipairs(old) do
if i == 1 then
str = v
else
if i > 2 then
if i < 4
then
str =
str..", ..."
end
else
str =
str..", "..v
end
end
end
end
end
abcd.Text = str
end
for i,v in ipairs(data.options) do
do
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 =
COL3RGB(1, 1, 1)
Button.BorderColor3 = COL3RGB(30,
30, 30)
Button.Position = UDIM2(0, 30, 0,
16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0,
0)
Button.TextSize = 14.000
Button.BorderSizePixel = 0
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 =
COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency =
1.000
TextLabel.BorderColor3 =
COL3RGB(25, 25, 25)
TextLabel.Position = UDIM2(0, 5, 0,
-1)
TextLabel.Size = UDIM2(-0.21714285,
208, 1, 0)
TextLabel.Font =
Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200,
200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
if
TBLFIND(Element.value.Jumbobox, v) then
for i,a in
pairs(Element.value.Jumbobox) do
if a == v then
TBLREMOVE(Element.value.Jumbobox, i)
end
end
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(255, 255, 255)})
else
INSERT(Element.value.Jumbobox, v)
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end
updatetext()
values[tabname][sectorname]
[tabtext][text] = Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if not
TBLFIND(Element.value.Jumbobox, v) then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end
end)
Button.MouseLeave:Connect(function()
if not
TBLFIND(Element.value.Jumbobox, v) then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end
end)
first = false
end
end
function Element:SetValue(val)
Element.value = val
for i,v in pairs(Drop:GetChildren()) do
if v.Name ~= "UIListLayout" then
if TBLFIND(val.Jumbobox,
v.Name) then
v.TextLabel.TextColor3 =
COL3RGB(0, 220, 0)
else
v.TextLabel.TextColor3 =
COL3RGB(200, 200, 200)
end
end
end
updatetext()
values[tabname][sectorname][tabtext]
[text] = Element.value
callback(val)
end
if data.default then
Element:SetValue(data.default)
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255,
255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image =
"http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(200,
200, 200)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208,
0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 14.000
TextLabel_3.TextXAlignment =
Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not
indrop and not ind then
Drop.Visible = false
Drop.CanvasPosition =
Vec2(0,0)
end
end
end)
elseif type == "TextBox" then
Toggle.Name = "Toggle"
Toggle.Parent = tab1
Toggle.BackgroundColor3 = COL3RGB(255, 255,
255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255,
255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(0, 220, 0)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
local binding = false
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255,
255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
if not binding then
Element.value.Toggle = not
Element.value.Toggle
update()
values[tabname][sectorname]
[tabtext][text] = Element.value
callback(Element.value)
end
end)
if data.default then
update()
end
values[tabname][sectorname][tabtext][text] =
Element.value
do
local Keybind = INST("TextButton")
local Frame = INST("Frame")
local Always = INST("TextButton")
local UIListLayout = INST("UIListLayout")
Keybind.Name = "Keybind"
Keybind.Parent = Button
Keybind.BackgroundColor3 = COL3RGB(1, 1,
1)
Keybind.BorderColor3 = COL3RGB(30, 30,
30)
Keybind.Position = UDIM2(0, 270, 0.5, -6)
Keybind.Text = "NONE"
Keybind.Size = UDIM2(0, 43, 0, 12)
Keybind.Size =
UDIM2(0,txt:GetTextSize("NONE", 14, Enum.Font.SourceSansSemibold, Vec2(700, 12)).X
+ 5,0, 12)
Keybind.AutoButtonColor = false
Keybind.Font =
Enum.Font.SourceSansSemibold
Keybind.TextColor3 = COL3RGB(200, 200,
200)
Keybind.TextSize = 14.000
Keybind.AnchorPoint = Vec2(1,0)
Keybind.ZIndex = 3
Frame.Parent = Keybind
Frame.BackgroundColor3 = COL3RGB(1, 1, 1)
Always.Name = "Always"
Always.Parent = Frame
Always.BackgroundColor3 = COL3RGB(1, 1,
1)
Always.BackgroundTransparency = 1.000
Always.BorderColor3 = COL3RGB(30, 30, 30)
Always.Position = UDIM2(-3.03289485, 231,
0.115384616, -6)
Always.Size = UDIM2(1, 0, 0, 16)
Always.AutoButtonColor = false
Always.Font = Enum.Font.SourceSansBold
Always.Text = "Always"
Always.TextColor3 = COL3RGB(0, 220, 0)
Always.TextSize = 14.000
Always.ZIndex = 3
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder =
Enum.SortOrder.LayoutOrder
Hold.Name = "Hold"
Hold.Parent = Frame
Hold.BackgroundColor3 = COL3RGB(1, 1, 1)
Hold.BackgroundTransparency = 1.000
Hold.BorderColor3 = COL3RGB(30, 30, 30)
Hold.Position = UDIM2(-3.03289485, 231,
0.115384616, -6)
Hold.Size = UDIM2(1, 0, 0, 16)
Hold.AutoButtonColor = false
Hold.Font = Enum.Font.SourceSansSemibold
Hold.Text = "Hold"
Hold.TextColor3 = COL3RGB(200, 200, 200)
Hold.TextSize = 14.000
Hold.ZIndex = 3
Toggle.Name = "Toggle"
Toggle.Parent = Frame
Toggle.BackgroundColor3 = COL3RGB(1, 1,
1)
Toggle.BackgroundTransparency = 1.000
Toggle.BorderColor3 = COL3RGB(30, 30, 30)
for _,button in
pairs(Frame:GetChildren()) do
if button:IsA("TextButton") then
button.MouseButton1Down:Connect(function()
Element.value.Type =
button.Text
Frame.Visible = false
Element.value.Active =
Element.value.Type == "Always" and true or false
if Element.value.Type ==
"Always" then
keybindremove(text)
end
for _,button in
pairs(Frame:GetChildren()) do
if
button:IsA("TextButton") and button.Text ~= Element.value.Type then
button.Font
= Enum.Font.SourceSansSemibold
button.MouseEnter:Connect(function()
if Element.value.Type ~=
button.Text then
button.MouseLeave:Connect(function()
if Element.value.Type ~=
button.Text then
Keybind.MouseButton1Down:Connect(function()
if not binding then
wait()
binding = true
Keybind.Text = "..."
Keybind.Size =
UDIM2(0,txt:GetTextSize("...", 14, Enum.Font.SourceSansSemibold, Vec2(700, 12)).X +
4,0, 12)
end
end)
Keybind.MouseButton2Down:Connect(function()
if not binding then
Frame.Visible = not
Frame.Visible
end
end)
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local InFrame = false
Frame.MouseEnter:Connect(function()
InFrame = true
end)
Frame.MouseLeave:Connect(function()
InFrame = false
end)
local InFrame2 = false
Keybind.MouseEnter:Connect(function()
InFrame2 = true
end)
Keybind.MouseLeave:Connect(function()
InFrame2 = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 and not binding then
if Frame.Visible == true and
not InFrame and not InFrame2 then
Frame.Visible = false
end
end
if binding then
binding = false
Keybind.Text =
input.KeyCode.Name ~= "Unknown" and input.KeyCode.Name:upper() or
input.UserInputType.Name:upper()
Keybind.Size =
UDIM2(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.SourceSansSemibold, Vec2(700,
12)).X + 5,0, 12)
Element.value.Key =
input.KeyCode.Name ~= "Unknown" and input.KeyCode.Name or input.UserInputType.Name
if input.KeyCode.Name ==
"Backspace" then
Keybind.Text = "NONE"
Keybind.Size =
UDIM2(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.SourceSansSemibold, Vec2(700,
12)).X + 4,0, 12)
Element.value.Key = nil
end
else
if Element.value.Key ~= nil
then
if
FIND(Element.value.Key, "Mouse") then
if
input.UserInputType == Enum.UserInputType[Element.value.Key] then
if
Element.value.Type == "Hold" then
Element.value.Active = true
if
Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
elseif
Element.value.Type == "Toggle" then
keybindadd(text)
else
keybindremove(text)
end
end
end
else
if input.KeyCode
== Enum.KeyCode[Element.value.Key] then
if
Element.value.Type == "Hold" then
Element.value.Active = true
if
Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
elseif
Element.value.Type == "Toggle" then
keybindadd(text)
else
keybindremove(text)
end
end
end
end
else
Element.value.Active =
true
end
end
values[tabname][sectorname]
[tabtext][text] = Element.value
callback(Element.value)
end)
game:GetService("UserInputService").InputEnded:Connect(function(input)
if Element.value.Key ~= nil then
if FIND(Element.value.Key,
"Mouse") then
if input.UserInputType
== Enum.UserInputType[Element.value.Key] then
if
Element.value.Type == "Hold" then
Element.value.Active = false
if
Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
else
if input.KeyCode ==
Enum.KeyCode[Element.value.Key] then
if
Element.value.Type == "Hold" then
Element.value.Active = false
if
Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
end
end
values[tabname][sectorname]
[tabtext][text] = Element.value
callback(Element.value)
end)
end
function Element:SetValue(value)
Element.value = value
update()
end
elseif type == "Toggle" then
tabsize = tabsize + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and
data.default.Toggle or false}
Toggle.Name = "Toggle"
Toggle.Parent = tab1
Toggle.BackgroundColor3 = COL3RGB(255, 255,
255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255,
255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(1, 1, 1)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255,
255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not
Element.value.Toggle
update()
values[tabname][sectorname][tabtext]
[text] = Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][tabtext][text] =
Element.value
function Element:SetValue(value)
Element.value = value
values[tabname][sectorname][tabtext]
[text] = Element.value
update()
callback(Element.value)
end
elseif type == "ToggleColor" then
tabsize = tabsize + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and
data.default.Toggle or false, Color = data.default and data.default.Color or
COL3RGB(255,255,255)}
Toggle.Name = "Toggle"
Toggle.Parent = tab1
Toggle.BackgroundColor3 = COL3RGB(255, 255,
255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255,
255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(1, 1, 1)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255,
255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
local ColorH,ColorS,ColorV
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vec2(1, 0)
ColorP.BackgroundColor3 = COL3RGB(255, 0, 0)
ColorP.BorderColor3 = COL3RGB(30, 30, 30)
ColorP.Position = UDIM2(0, 270, 0.5, -4)
ColorP.Size = UDIM2(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.SourceSansSemibold
ColorP.Text = ""
ColorP.TextColor3 = COL3RGB(200, 200, 200)
ColorP.TextSize = 14.000
Frame.Parent = ColorP
Frame.BackgroundColor3 = COL3RGB(1, 1, 1)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(-0.666666687, -170,
1.375, 0)
Frame.Size = UDIM2(0, 200, 0, 170)
Frame.Visible = false
Frame.ZIndex = 3
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = COL3RGB(255, 255,
255)
Colorpick.BorderColor3 = COL3RGB(30, 30, 30)
Colorpick.ClipsDescendants = false
Colorpick.Position = UDIM2(0, 40, 0, 10)
Colorpick.Size = UDIM2(0, 150, 0, 150)
Colorpick.AutoButtonColor = false
Colorpick.Image = "rbxassetid://4155801252"
Colorpick.ImageColor3 = COL3RGB(255, 0, 0)
Colorpick.ZIndex = 3
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vec2(0.5, 0.5)
ColorDrag.BackgroundColor3 = COL3RGB(255, 255,
255)
ColorDrag.BorderColor3 = COL3RGB(30, 30, 30)
ColorDrag.Size = UDIM2(0, 4, 0, 4)
ColorDrag.ZIndex = 3
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = COL3RGB(255, 255,
255)
Huepick.BorderColor3 = COL3RGB(30, 30, 30)
Huepick.ClipsDescendants = false
Huepick.Position = UDIM2(0, 10, 0, 10)
Huepick.Size = UDIM2(0, 20, 0, 150)
Huepick.AutoButtonColor = false
Huepick.Image = "rbxassetid://3641079629"
Huepick.ImageColor3 = COL3RGB(255, 0, 0)
Huepick.ImageTransparency = 1
Huepick.BackgroundTransparency = 0
Huepick.ZIndex = 3
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = COL3RGB(255, 255,
255)
Huedrag.BorderColor3 = COL3RGB(30, 30, 30)
Huedrag.Size = UDIM2(1, 0, 0, 2)
Huedrag.ZIndex = 3
ColorP.MouseButton1Down:Connect(function()
Frame.Visible = not Frame.Visible
end)
local abc = false
local inCP = false
ColorP.MouseEnter:Connect(function()
abc = true
end)
ColorP.MouseLeave:Connect(function()
abc = false
end)
Frame.MouseEnter:Connect(function()
inCP = true
end)
Frame.MouseLeave:Connect(function()
inCP = false
end)
ColorH = (CLAMP(Huedrag.AbsolutePosition.Y-
Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(CLAMP(ColorDrag.AbsolutePosition.X-
Colorpick.AbsolutePosition.X, 0,
Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(CLAMP(ColorDrag.AbsolutePosition.Y-
Colorpick.AbsolutePosition.Y, 0,
Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-
ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH,
1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
Huedrag.Position = UDIM2(0, 0, 1-ColorH,
-1)
end
releaseconnection:Disconnect()
end
end)
end)
Huepick.MouseButton1Down:Connect(function()
updateHue()
moveconnection =
mouse.Move:Connect(function()
updateHue()
end)
releaseconnection =
game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
updateHue()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not
Element.value.Toggle
update()
values[tabname][sectorname][tabtext]
[text] = Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][tabtext][text] =
Element.value
function Element:SetValue(value)
Element.value = value
local duplicate = COL3(value.Color.R,
value.Color.G, value.Color.B)
ColorH, ColorS, ColorV =
duplicate:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-
ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH,
1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
update()
Huedrag.Position = UDIM2(0, 0, 1-ColorH,
-1)
end
elseif type == "ToggleTrans" then
tabsize = tabsize + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and
data.default.Toggle or false, Color = data.default and data.default.Color or
COL3RGB(255,255,255), Transparency = data.default and data.default.Transparency or
0}
Toggle.Name = "Toggle"
Toggle.Parent = tab1
Toggle.BackgroundColor3 = COL3RGB(255, 255,
255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255,
255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(1, 1, 1)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(0, 220, 0)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
local ColorH,ColorS,ColorV
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vec2(1, 0)
ColorP.BackgroundColor3 = COL3RGB(255, 0, 0)
ColorP.BorderColor3 = COL3RGB(30, 30, 30)
ColorP.Position = UDIM2(0, 270, 0.5, -4)
ColorP.Size = UDIM2(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.SourceSansSemibold
ColorP.Text = ""
ColorP.TextColor3 = COL3RGB(200, 200, 200)
ColorP.TextSize = 14.000
Frame.Parent = ColorP
Frame.BackgroundColor3 = COL3RGB(1, 1, 1)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(-0.666666687, -170,
1.375, 0)
Frame.Size = UDIM2(0, 200, 0, 190)
Frame.Visible = false
Frame.ZIndex = 3
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = COL3RGB(255, 255,
255)
Colorpick.BorderColor3 = COL3RGB(30, 30, 30)
Colorpick.ClipsDescendants = false
Colorpick.Position = UDIM2(0, 40, 0, 10)
Colorpick.Size = UDIM2(0, 150, 0, 150)
Colorpick.AutoButtonColor = false
Colorpick.Image = "rbxassetid://4155801252"
Colorpick.ImageColor3 = COL3RGB(255, 0, 0)
Colorpick.ZIndex = 3
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vec2(0.5, 0.5)
ColorDrag.BackgroundColor3 = COL3RGB(255, 255,
255)
ColorDrag.BorderColor3 = COL3RGB(25, 25, 25)
ColorDrag.Size = UDIM2(0, 4, 0, 4)
ColorDrag.ZIndex = 3
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = COL3RGB(255, 255,
255)
Huepick.BorderColor3 = COL3RGB(30, 30, 30)
Huepick.ClipsDescendants = true
Huepick.Position = UDIM2(0, 10, 0, 10)
Huepick.Size = UDIM2(0, 20, 0, 150)
Huepick.AutoButtonColor = false
Huepick.Image = "rbxassetid://3641079629"
Huepick.ImageColor3 = COL3RGB(255, 0, 0)
Huepick.ImageTransparency = 1
Huepick.BackgroundTransparency = 0
Huepick.ZIndex = 3
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = COL3RGB(255, 255,
255)
Huedrag.BorderColor3 = COL3RGB(30, 30, 30)
Huedrag.Size = UDIM2(1, 0, 0, 2)
Huedrag.ZIndex = 3
Transpick.Name = "Transpick"
Transpick.Parent = Frame
Transpick.BackgroundColor3 = COL3RGB(255, 255,
255)
Transpick.BorderColor3 = COL3RGB(30, 30, 30)
Transpick.Position = UDIM2(0, 10, 0, 167)
Transpick.Size = UDIM2(0, 180, 0, 15)
Transpick.AutoButtonColor = false
Transpick.Image = "rbxassetid://3887014957"
Transpick.ScaleType = Enum.ScaleType.Tile
Transpick.TileSize = UDIM2(0, 10, 0, 10)
Transpick.ZIndex = 3
Transcolor.Name = "Transcolor"
Transcolor.Parent = Transpick
Transcolor.BackgroundColor3 = COL3RGB(255, 255,
255)
Transcolor.BackgroundTransparency = 1.000
Transcolor.Size = UDIM2(1, 0, 1, 0)
Transcolor.Image = "rbxassetid://3887017050"
Transcolor.ImageColor3 = COL3RGB(255, 0, 4)
Transcolor.ZIndex = 3
Transdrag.Name = "Transdrag"
Transdrag.Parent = Transcolor
Transdrag.BackgroundColor3 = COL3RGB(255, 255,
255)
Transdrag.BorderColor3 = COL3RGB(30, 30, 30)
Transdrag.Position = UDIM2(0, -1, 0, 0)
Transdrag.Size = UDIM2(0, 2, 1, 0)
Transdrag.ZIndex = 3
ColorP.MouseButton1Down:Connect(function()
Frame.Visible = not Frame.Visible
end)
local abc = false
local inCP = false
ColorP.MouseEnter:Connect(function()
abc = true
end)
ColorP.MouseLeave:Connect(function()
abc = false
end)
Frame.MouseEnter:Connect(function()
inCP = true
end)
Frame.MouseLeave:Connect(function()
inCP = false
end)
ColorH = (CLAMP(Huedrag.AbsolutePosition.Y-
Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(CLAMP(ColorDrag.AbsolutePosition.X-
Colorpick.AbsolutePosition.X, 0,
Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(CLAMP(ColorDrag.AbsolutePosition.Y-
Colorpick.AbsolutePosition.Y, 0,
Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-
ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH,
1, 1)
Transcolor.ImageColor3 = COL3HSV(ColorH,
1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
Huedrag.Position = UDIM2(0, 0, 1-ColorH,
-1)
end
if data.default.Transparency ~= nil then
Transdrag.Position =
UDIM2(data.default.Transparency, -1, 0, 0)
end
local mouse = LocalPlayer:GetMouse()
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if not dragging and not abc and not
inCP then
Frame.Visible = false
end
end
end)
releaseconnection:Disconnect()
end
end)
end)
Colorpick.MouseButton1Down:Connect(function()
updateColor()
moveconnection =
mouse.Move:Connect(function()
updateColor()
end)
releaseconnection =
game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
updateColor()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Huepick.MouseButton1Down:Connect(function()
updateHue()
moveconnection =
mouse.Move:Connect(function()
updateHue()
end)
releaseconnection =
game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
updateHue()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not
Element.value.Toggle
update()
values[tabname][sectorname][tabtext]
[text] = Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][tabtext][text] =
Element.value
function Element:SetValue(value)
Element.value = value
local duplicate = COL3(value.Color.R,
value.Color.G, value.Color.B)
ColorH, ColorS, ColorV =
duplicate:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-
ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH,
1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
update()
Huedrag.Position = UDIM2(0, 0, 1-ColorH,
-1)
end
elseif type == "Dropdown" then
tabsize = tabsize + UDIM2(0,0,0,39)
Element.value = {Dropdown = data.options[1]}
Dropdown.Name = "Dropdown"
Dropdown.Parent = tab1
Dropdown.BackgroundColor3 = COL3RGB(255, 255,
255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0.255102038, 0)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(1, 1, 1)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(0, 220, 0)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = Element.value.Dropdown
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(1, 1, 1)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage =
"http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 0
Drop.MidImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.TopImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.AutomaticCanvasSize = "Y"
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(0, 220, 0)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder =
Enum.SortOrder.LayoutOrder
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 =
COL3RGB(0, 0, 0)
Button.BorderColor3 = COL3RGB(30,
30, 30)
Button.Position = UDIM2(0, 30, 0,
16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0,
0)
Button.TextSize = 14.000
Button.BorderSizePixel = 0
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 =
COL3RGB(0, 220, 0)
TextLabel.BackgroundTransparency =
1.000
TextLabel.BorderColor3 =
COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0,
-1)
TextLabel.Size = UDIM2(-0.21714285,
208, 1, 0)
TextLabel.Font =
Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200,
200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
Drop.Visible = false
Element.value.Dropdown = v
abcd.Text = v
values[tabname][sectorname]
[tabtext][text] = Element.value
callback(Element.value)
Drop.CanvasPosition =
Vec2(0,0)
end)
Button.MouseEnter:Connect(function()
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end)
first = false
end
end
function Element:SetValue(val)
Element.value = val
abcd.Text = val.Dropdown
values[tabname][sectorname][tabtext]
[text] = Element.value
callback(val)
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255,
255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image =
"http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(255,
255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208,
0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 14.000
TextLabel_3.TextXAlignment =
Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not
indrop and not ind then
Drop.Visible = false
Drop.CanvasPosition =
Vec2(0,0)
end
end
end)
values[tabname][sectorname][tabtext][text] =
Element.value
elseif type == "Slider" then
Slider.Name = "Slider"
Slider.Parent = tab1
Slider.BackgroundColor3 = COL3RGB(255, 255,
255)
Slider.BackgroundTransparency = 1.000
Slider.Position = UDIM2(0, 0, 0.653061211, 0)
Slider.Size = UDIM2(1, 0, 0, 25)
TextLabel.Parent = Slider
TextLabel.BackgroundColor3 = COL3RGB(255, 255,
255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -2)
TextLabel.Size = UDIM2(0, 100, 0, 15)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
Button.Name = "Button"
Button.Parent = Slider
Button.BackgroundColor3 = COL3RGB(1, 1, 1)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 15)
Button.Size = UDIM2(0, 175, 0, 5)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Frame.Parent = Button
Frame.BackgroundColor3 = COL3RGB(255, 255, 255)
Frame.BorderSizePixel = 0
Frame.Size = UDIM2(0.5, 0, 1, 0)
UIGradient.Color =
ColorSequence.new{ColorSequenceKeypoint.new(0, COL3RGB(0, 220, 0)),
ColorSequenceKeypoint.new(1, COL3RGB(0, 220, 0))}
UIGradient.Rotation = 90
UIGradient.Parent = Frame
Value.Name = "Value"
Value.Parent = Slider
Value.BackgroundColor3 = COL3RGB(255, 255, 255)
Value.BackgroundTransparency = 1.000
Value.Position = UDIM2(0, 150, 0, -1)
Value.Size = UDIM2(0, 55, 0, 15)
Value.Font = Enum.Font.SourceSansSemibold
Value.Text = "50"
Value.TextColor3 = COL3RGB(200, 200, 200)
Value.TextSize = 14.000
Value.TextXAlignment =
Enum.TextXAlignment.Right
local min, max, default = data.min or 0,
data.max or 100, data.default or 0
Element.value = {Slider = default}
function Element:SetValue(value)
Element.value = value
local a
if min > 0 then
a = ((Element.value.Slider -
min)) / (max-min)
else
a =
(Element.value.Slider-min)/(max-min)
end
Value.Text = Element.value.Slider
Frame.Size = UDIM2(a,0,1,0)
values[tabname][sectorname][tabtext]
[text] = Element.value
callback(value)
end
local a
if min > 0 then
a = ((Element.value.Slider - min)) /
(max-min)
else
a = (Element.value.Slider-min)/(max-min)
end
Value.Text = Element.value.Slider
Frame.Size = UDIM2(a,0,1,0)
values[tabname][sectorname][tabtext][text] =
Element.value
local uis = game:GetService("UserInputService")
local mouse =
game.Players.LocalPlayer:GetMouse()
local val
Button.MouseButton1Down:Connect(function()
Frame.Size = UDIM2(0, CLAMP(mouse.X -
Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) -
tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min)) or 0
Value.Text = val
Element.value.Slider = val
values[tabname][sectorname][tabtext]
[text] = Element.value
callback(Element.value)
moveconnection =
mouse.Move:Connect(function()
Frame.Size = UDIM2(0, CLAMP(mouse.X
- Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) -
tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min))
Value.Text = val
Element.value.Slider = val
values[tabname][sectorname]
[tabtext][text] = Element.value
callback(Element.value)
end)
releaseconnection =
uis.InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
Frame.Size = UDIM2(0,
CLAMP(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max)
- tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min))
values[tabname][sectorname]
[tabtext][text] = Element.value
callback(Element.value)
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
elseif type == "Button" then
Button.Name = "Button"
Button.Parent = tab1
Button.BackgroundColor3 = COL3RGB(255, 255,
255)
Button.BackgroundTransparency = 1.000
Button.Position = UDIM2(0, 0, 0.236059487, 0)
Button.Size = UDIM2(1, 0, 0, 24)
Button_2.Name = "Button"
Button_2.Parent = Button
Button_2.BackgroundColor3 = COL3RGB(1, 1, 1)
Button_2.BorderColor3 = COL3RGB(30, 30, 30)
Button_2.Position = UDIM2(0, 30, 0.5, -9)
Button_2.Size = UDIM2(0, 175, 0, 18)
Button_2.AutoButtonColor = false
Button_2.Font = Enum.Font.SourceSans
Button_2.Text = ""
Button_2.TextColor3 = COL3RGB(0, 0, 0)
Button_2.TextSize = 14.000
TextLabel.Parent = Button_2
TextLabel.BackgroundColor3 = COL3RGB(0, 220, 0)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Size = UDIM2(1, 0, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
function Element:SetValue()
end
Button_2.MouseButton1Down:Connect(function()
TextLabel.TextColor3 = COL3RGB(0, 220, 0)
library:Tween(TextLabel,
TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
callback()
end)
Button_2.MouseEnter:Connect(function()
library:Tween(TextLabel,
TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end)
Button_2.MouseLeave:Connect(function()
library:Tween(TextLabel,
TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end)
end
ConfigLoad:Connect(function(cfg)
local fix = library:ConfigFix(cfg)
if fix[tabname][sectorname][tabtext][text] ~=
nil then
Element:SetValue(fix[tabname][sectorname]
[tabtext][text])
end
end)
return Element
end
if firs then
coroutine.wrap(function()
game:GetService("RunService").RenderStepped:Wait()
Section.Size = tabsize
end)()
selected = text
TextButton.TextColor3 = COL3RGB(255,255,255)
tab1.Visible = true
firs = false
end
return tab
end
return MSector
end
function Tab:Sector(text, side)
local sectorname = text
local Sector = {}
values[tabname][text] = {}
local Section = INST("Frame")
local SectionText = INST("TextLabel")
local Inner = INST("Frame")
local UIListLayout = INST("UIListLayout")
Section.Name = "Section"
Section.Parent = TabGui[side]
Section.BackgroundColor3 = COL3RGB(1, 1, 1)
Section.BorderColor3 = COL3RGB(30, 30, 30)
Section.BorderSizePixel = 0
Section.Position = UDIM2(0.00358422939, 0, 0, 0)
Section.Size = UDIM2(1, 0, 0, 22)
SectionText.Name = "SectionText"
SectionText.Parent = Section
SectionText.BackgroundColor3 = COL3RGB(255, 255, 255)
SectionText.BackgroundTransparency = 1.000
SectionText.Position = UDIM2(0, 7, 0, -12)
SectionText.Size = UDIM2(0, 270, 0, 19)
SectionText.ZIndex = 2
SectionText.Font = Enum.Font.SourceSansSemibold
SectionText.Text = text
SectionText.TextColor3 = COL3RGB(255, 255, 255)
SectionText.TextSize = 15.000
SectionText.TextXAlignment = Enum.TextXAlignment.Left
Inner.Name = "Inner"
Inner.Parent = Section
Inner.BackgroundColor3 = COL3RGB(1, 1, 1)
Inner.BorderColor3 = COL3RGB(30, 30, 30)
Inner.BorderSizePixel = 0
Inner.Position = UDIM2(0, 1, 0, 1)
Inner.Size = UDIM2(1, -2, 1, -2)
UIPadding.Parent = Inner
UIPadding.PaddingTop = UDim.new(0, 10)
UIListLayout.Parent = Inner
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0,1)
local joe = {}
if data.alphabet then
local copy = {}
for i,v in pairs(data.options) do
INSERT(copy, i)
end
TBLSORT(copy, function(a,b)
return a < b
end)
joe = copy
else
for i,v in pairs(data.options) do
INSERT(joe, i)
end
end
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = COL3RGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0, 0)
Dropdown.Size = UDIM2(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(1, 1, 1)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(0, 220, 0)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = "lol"
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(1, 1, 1)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 0
Drop.TopImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.MidImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.AutomaticCanvasSize = "Y"
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(0, 220, 0)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = COL3RGB(1, 1,
1)
Button.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(0,
220, 0)
TextLabel.BackgroundTransparency = 1.000
abcd.Text = v
for i,v in
pairs(Scroll.Parent:GetChildren()) do
if v:IsA("Frame") then
v.Visible = false
end
end
Element.value.Dropdown = v
Scroll.Visible = true
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end)
if first then
abcd.Text = v
Element.value.Dropdown = v
end
local Frame = INST("ScrollingFrame")
Scroll.Name = "Scroll"
Scroll.Parent = Dropdown
Scroll.BackgroundColor3 = COL3RGB(255,
255, 255)
Scroll.BackgroundTransparency = 1.000
Scroll.Position = UDIM2(0, 0, 0, 0)
Scroll.Size = UDIM2(1, 0, 0, amount * 16
+ 8)
Scroll.Visible = first
Scroll.Name = v
Frame.Name = "Frame"
Frame.Parent = Scroll
Frame.Active = true
Frame.BackgroundColor3 = COL3RGB(1, 1, 1)
Frame.MidImage =
"http://www.roblox.com/asset/?id=6724808282"
Frame.ScrollBarThickness = 4
Frame.TopImage =
"http://www.roblox.com/asset/?id=6724808282"
Frame.AutomaticCanvasSize = "Y"
Frame.ScrollBarImageColor3 = COL3RGB(0,
220, 0)
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder =
Enum.SortOrder.LayoutOrder
local joll = true
for i,v in ipairs(joe2) do
local Button = INST("TextButton")
Button.Name = v
Button.Parent = Frame
Button.BackgroundColor3 =
COL3RGB(1, 1, 1)
Button.BorderColor3 = COL3RGB(30,
30, 30)
Button.BorderSizePixel = 0
Button.Position = UDIM2(0, 30, 0,
16)
Button.Size = UDIM2(1, 0, 0, 16)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0,
0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 =
COL3RGB(0, 220, 0)
TextLabel.BackgroundTransparency =
1.000
TextLabel.BorderColor3 =
COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 4, 0,
-1)
TextLabel.Size = UDIM2(1, 1, 1, 1)
TextLabel.Font =
Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200,
200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
if joll then
joll = false
TextLabel.TextColor3 =
COL3RGB(0, 220, 0)
end
Button.MouseButton1Down:Connect(function()
for i,v in
pairs(Frame:GetChildren()) do
if v:IsA("TextButton")
then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
Element.value.Scroll[joell] =
v
values[tabname][sectorname]
[text] = Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if
Element.value.Scroll[joell] ~= v then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end
end)
Button.MouseLeave:Connect(function()
if
Element.value.Scroll[joell] ~= v then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end
end)
end
first = false
end
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?
id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208,
0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 14.000
TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not indrop
and not ind then
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
end
end
end)
function Element:SetValue(tbl)
Element.value = tbl
abcd.Text = tbl.Dropdown
values[tabname][sectorname][text] =
Element.value
for i,v in pairs(Dropdown:GetChildren()) do
if v:IsA("Frame") then
if v.Name == Element.value.Dropdown
then
v.Visible = true
else
v.Visible = false
end
for _,bad in
pairs(v.Frame:GetChildren()) do
if bad:IsA("TextButton") then
bad.TextLabel.TextColor3
= COL3RGB(200, 200, 200)
if bad.Name ==
Element.value.Scroll[v.Name] then
if data.default then
Element:SetValue(data.default)
end
values[tabname][sectorname][text] = Element.value
Scroll.Name = "Scroll"
Scroll.Parent = Inner
Scroll.BackgroundColor3 = COL3RGB(255, 255, 255)
Scroll.BackgroundTransparency = 1.000
Scroll.Position = UDIM2(0, 0, 00, 0)
Scroll.Size = UDIM2(1, 0, 0, amount * 16 + 8)
Frame.Name = "Frame"
Frame.Parent = Scroll
Frame.Active = true
Frame.BackgroundColor3 = COL3RGB(1, 1, 1)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(0, 30, 0, 0)
Frame.Size = UDIM2(0, 175, 0, 16 * amount)
Frame.BottomImage = "http://www.roblox.com/asset/?
id=6724808282"
Frame.CanvasSize = UDIM2(0, 0, 0, 0)
Frame.MidImage = "http://www.roblox.com/asset/?
id=6724808282"
Frame.ScrollBarThickness = 4
Frame.TopImage = "http://www.roblox.com/asset/?
id=6724808282"
Frame.AutomaticCanvasSize = "Y"
Frame.ScrollBarImageColor3 = COL3RGB(0, 220, 0)
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
Button.Name = v
Button.Parent = Frame
Button.BackgroundColor3 = COL3RGB(1, 1, 1)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255,
255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
if first then first = false
TextLabel.TextColor3 = COL3RGB(0, 220, 0)
end
Button.MouseButton1Down:Connect(function()
if v:IsA("TextButton") then
library:Tween(v.TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end
end
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
Element.value.Scroll = v
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if Element.value.Scroll ~= v then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end
end)
Button.MouseLeave:Connect(function()
if Element.value.Scroll ~= v then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end
end)
end
function Element:SetValue(val)
Element.value = val
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = COL3RGB(1, 1, 1)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0.255102038, 0)
Dropdown.Size = UDIM2(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(1, 1, 1)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = "..."
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
values[tabname][sectorname][text] = Element.value
if #old == 0 then
str = "..."
else
if #old == 1 then
str = old[1]
else
for i,v in ipairs(old) do
if i == 1 then
str = v
else
if i > 2 then
if i < 4 then
str =
str..", ..."
end
else
str = str..",
"..v
end
end
end
end
end
abcd.Text = str
end
for i,v in ipairs(data.options) do
do
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = COL3RGB(1, 1,
1)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.TextSize = 14.000
Button.BorderSizePixel = 0
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255,
255, 255)
TextLabel.BackgroundTransparency = 1.000
Button.MouseButton1Down:Connect(function()
if TBLFIND(Element.value.Jumbobox,
v) then
for i,a in
pairs(Element.value.Jumbobox) do
if a == v then
TBLREMOVE(Element.value.Jumbobox, i)
end
end
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(255, 255, 255)})
else
INSERT(Element.value.Jumbobox, v)
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end
updatetext()
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if not
TBLFIND(Element.value.Jumbobox, v) then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end
end)
Button.MouseLeave:Connect(function()
if not
TBLFIND(Element.value.Jumbobox, v) then
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end
end)
first = false
end
end
function Element:SetValue(val)
Element.value = val
for i,v in pairs(Drop:GetChildren()) do
if v.Name ~= "UIListLayout" then
if TBLFIND(val.Jumbobox, v.Name)
then
v.TextLabel.TextColor3 =
COL3RGB(0, 220, 0)
else
v.TextLabel.TextColor3 =
COL3RGB(200, 200, 200)
end
end
end
updatetext()
values[tabname][sectorname][text] =
Element.value
callback(val)
end
if data.default then
Element:SetValue(data.default)
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?
id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208,
0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 14.000
TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not indrop
and not ind then
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
end
end
end)
elseif type == "ToggleKeybind" then
Section.Size = Section.Size + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and
data.default.Toggle or false, Key, Type = "Always", Active = true}
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(1, 1, 1)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
local binding = false
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
if not binding then
Element.value.Toggle = not
Element.value.Toggle
update()
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
end
end)
if data.default then
update()
end
values[tabname][sectorname][text] = Element.value
do
local Keybind = INST("TextButton")
local Frame = INST("Frame")
local Always = INST("TextButton")
local UIListLayout = INST("UIListLayout")
local Hold = INST("TextButton")
local Toggle = INST("TextButton")
Keybind.Name = "Keybind"
Keybind.Parent = Button
Keybind.BackgroundColor3 = COL3RGB(1, 1, 1)
Keybind.TextSize = 14.000
Keybind.AnchorPoint = Vec2(1,0)
Keybind.ZIndex = 3
Frame.Parent = Keybind
Frame.BackgroundColor3 = COL3RGB(1, 1, 1)
Frame.BorderColor3 = COL3RGB(230, 30, 30)
Frame.Position = UDIM2(1, -49, 0, 1)
Frame.Size = UDIM2(0, 49, 0, 49)
Frame.Visible = false
Frame.ZIndex = 3
Always.Name = "Always"
Always.Parent = Frame
Always.BackgroundColor3 = COL3RGB(1, 1, 1)
Always.BackgroundTransparency = 1.000
Always.BorderColor3 = COL3RGB(30, 30, 30)
Always.Position = UDIM2(-3.03289485, 231,
0.115384616, -6)
Always.Size = UDIM2(1, 0, 0, 16)
Always.AutoButtonColor = false
Always.Font = Enum.Font.SourceSansBold
Always.Text = "Always"
Always.TextColor3 = COL3RGB(0, 220, 0)
Always.TextSize = 14.000
Always.ZIndex = 3
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder =
Enum.SortOrder.LayoutOrder
Hold.Name = "Hold"
Hold.Parent = Frame
Hold.BackgroundColor3 = COL3RGB(11, 1, 1)
Hold.BackgroundTransparency = 1.000
Hold.BorderColor3 = COL3RGB(30, 30, 30)
Hold.Position = UDIM2(-3.03289485, 231,
0.115384616, -6)
Hold.Size = UDIM2(1, 0, 0, 16)
Hold.AutoButtonColor = false
Hold.Font = Enum.Font.SourceSansSemibold
Hold.Text = "Hold"
Hold.TextColor3 = COL3RGB(200, 200, 200)
Hold.TextSize = 14.000
Hold.ZIndex = 3
Toggle.Name = "Toggle"
Toggle.Parent = Frame
Toggle.BackgroundColor3 = COL3RGB(1, 1, 1)
Toggle.BackgroundTransparency = 1.000
Toggle.BorderColor3 = COL3RGB(30, 30, 30)
Toggle.Position = UDIM2(-3.03289485, 231,
0.115384616, -6)
Toggle.Size = UDIM2(1, 0, 0, 16)
Toggle.AutoButtonColor = false
Toggle.Font = Enum.Font.SourceSansSemibold
Toggle.Text = "Toggle"
Toggle.TextColor3 = COL3RGB(200, 200, 200)
Toggle.TextSize = 14.000
Toggle.ZIndex = 3
if button:IsA("TextButton") then
button.MouseButton1Down:Connect(function()
Element.value.Type =
button.Text
Frame.Visible = false
if Element.value.Active ~=
(Element.value.Type == "Always" and true or false) then
Element.value.Active =
Element.value.Type == "Always" and true or false
callback(Element.value)
end
if button.Text == "Always"
then
keybindremove(text)
end
for _,button in
pairs(Frame:GetChildren()) do
if
button:IsA("TextButton") and button.Text ~= Element.value.Type then
button.Font =
Enum.Font.SourceSansSemibold
button.MouseEnter:Connect(function()
if Element.value.Type ~=
button.Text then
library:Tween(button,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end
end)
button.MouseLeave:Connect(function()
if Element.value.Type ~=
button.Text then
library:Tween(button,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200,200,200)})
end
end)
end
end
Keybind.MouseButton1Down:Connect(function()
end
end)
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local InFrame = false
Frame.MouseEnter:Connect(function()
InFrame = true
end)
Frame.MouseLeave:Connect(function()
InFrame = false
end)
local InFrame2 = false
Keybind.MouseEnter:Connect(function()
InFrame2 = true
end)
Keybind.MouseLeave:Connect(function()
InFrame2 = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 and not binding then
if Frame.Visible == true and not
InFrame and not InFrame2 then
Frame.Visible = false
end
end
if binding then
binding = false
Keybind.Text = input.KeyCode.Name
~= "Unknown" and input.KeyCode.Name:upper() or input.UserInputType.Name:upper()
Keybind.Size =
UDIM2(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.SourceSansSemibold, Vec2(700,
12)).X + 5,0, 12)
Element.value.Key =
input.KeyCode.Name ~= "Unknown" and input.KeyCode.Name or input.UserInputType.Name
if input.KeyCode.Name ==
"Backspace" then
Keybind.Text = "NONE"
Keybind.Size =
UDIM2(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.SourceSansSemibold, Vec2(700,
12)).X + 4,0, 12)
Element.value.Key = nil
Element.value.Active = true
end
callback(Element.value)
else
if Element.value.Key ~= nil then
if FIND(Element.value.Key,
"Mouse") then
if input.UserInputType
== Enum.UserInputType[Element.value.Key] then
if
Element.value.Type == "Hold" then
Element.value.Active = true
callback(Element.value)
if
Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
elseif
Element.value.Type == "Toggle" then
callback(Element.value)
if
Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
else
if input.KeyCode ==
Enum.KeyCode[Element.value.Key] then
if
Element.value.Type == "Hold" then
Element.value.Active = true
callback(Element.value)
if
Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
elseif
Element.value.Type == "Toggle" then
callback(Element.value)
if
Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
end
else
Element.value.Active = true
end
end
values[tabname][sectorname][text] =
Element.value
end)
game:GetService("UserInputService").InputEnded:Connect(function(input)
if Element.value.Key ~= nil then
if FIND(Element.value.Key, "Mouse")
then
if input.UserInputType ==
Enum.UserInputType[Element.value.Key] then
if Element.value.Type ==
"Hold" then
Element.value.Active = false
callback(Element.value)
if
Element.value.Active then
keybindadd(text)
else
keybindremove(text)
end
end
end
else
if input.KeyCode ==
Enum.KeyCode[Element.value.Key] then
if Element.value.Type ==
"Hold" then
Element.value.Active = false
callback(Element.value)
if
Element.value.Active then
keybindadd(text)
else
keybindremove(text)
end
end
end
end
end
values[tabname][sectorname][text] =
Element.value
end)
end
function Element:SetValue(value)
Element.value = value
update()
end
elseif type == "Toggle" then
Section.Size = Section.Size + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and
data.default.Toggle or false}
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(1, 1, 1)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][text] = Element.value
function Element:SetValue(value)
Element.value = value
values[tabname][sectorname][text] =
Element.value
update()
callback(Element.value)
end
elseif type == "ToggleColor" then
Section.Size = Section.Size + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and
data.default.Toggle or false, Color = data.default and data.default.Color or
COL3RGB(255,255,255)}
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(1, 1, 1)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local ColorH,ColorS,ColorV
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vec2(1, 0)
ColorP.BackgroundColor3 = COL3RGB(255, 0, 0)
ColorP.BorderColor3 = COL3RGB(30, 30, 30)
ColorP.Position = UDIM2(0, 270, 0.5, -4)
ColorP.Size = UDIM2(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.SourceSansSemibold
ColorP.Text = ""
ColorP.TextColor3 = COL3RGB(200, 200, 200)
ColorP.TextSize = 14.000
Frame.Parent = ColorP
Frame.BackgroundColor3 = COL3RGB(1, 1, 1)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(-0.666666687, -170, 1.375, 0)
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = COL3RGB(255, 255, 255)
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vec2(0.5, 0.5)
ColorDrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = COL3RGB(255, 255, 255)
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = COL3RGB(255, 255, 255)
ColorP.MouseButton1Down:Connect(function()
Frame.Visible = not Frame.Visible
end)
local abc = false
local inCP = false
ColorP.MouseEnter:Connect(function()
abc = true
end)
ColorP.MouseLeave:Connect(function()
abc = false
end)
Frame.MouseEnter:Connect(function()
inCP = true
end)
Frame.MouseLeave:Connect(function()
inCP = false
end)
ColorH = (CLAMP(Huedrag.AbsolutePosition.Y-
Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(CLAMP(ColorDrag.AbsolutePosition.X-
Colorpick.AbsolutePosition.X, 0,
Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(CLAMP(ColorDrag.AbsolutePosition.Y-
Colorpick.AbsolutePosition.Y, 0,
Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-
ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
values[tabname][sectorname][text] =
data.default.Color
end
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if not dragging and not abc and not inCP
then
Frame.Visible = false
end
end
end)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
values[tabname][sectorname][text] =
Element.value
Element.value.Color = COL3HSV(ColorH, ColorS,
ColorV)
callback(Element.value)
end
local function updateHue()
local y = CLAMP(mouse.Y -
Huepick.AbsolutePosition.Y, 0, 148)
Huedrag.Position = UDIM2(0, 0, 0, y)
hue = y/148
ColorH = 1-hue
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
values[tabname][sectorname][text] =
Element.value
Element.value.Color = COL3HSV(ColorH, ColorS,
ColorV)
callback(Element.value)
end
Colorpick.MouseButton1Down:Connect(function()
updateColor()
moveconnection = mouse.Move:Connect(function()
updateColor()
end)
releaseconnection =
game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
updateColor()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Huepick.MouseButton1Down:Connect(function()
updateHue()
moveconnection = mouse.Move:Connect(function()
updateHue()
end)
releaseconnection =
game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
updateHue()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][text] = Element.value
function Element:SetValue(value)
Element.value = value
local duplicate = COL3(value.Color.R,
value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-
ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
update()
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
callback(value)
end
elseif type == "ToggleTrans" then
Section.Size = Section.Size + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and
data.default.Toggle or false, Color = data.default and data.default.Color or
COL3RGB(255,255,255), Transparency = data.default and data.default.Transparency or
0}
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(1, 1, 1)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local ColorH,ColorS,ColorV
local ColorP = INST("TextButton")
local Frame = INST("Frame")
local Colorpick = INST("ImageButton")
local ColorDrag = INST("Frame")
local Huepick = INST("ImageButton")
local Huedrag = INST("Frame")
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vec2(1, 0)
ColorP.BackgroundColor3 = COL3RGB(255, 0, 0)
ColorP.BorderColor3 = COL3RGB(30, 30, 30)
ColorP.Position = UDIM2(0, 270, 0.5, -4)
ColorP.Size = UDIM2(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.SourceSansSemibold
ColorP.Text = ""
ColorP.TextColor3 = COL3RGB(200, 200, 200)
ColorP.TextSize = 14.000
Frame.Parent = ColorP
Frame.BackgroundColor3 = COL3RGB(1, 1, 1)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(-0.666666687, -170, 1.375, 0)
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = COL3RGB(255, 255, 255)
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vec2(0.5, 0.5)
ColorDrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = COL3RGB(255, 255, 255)
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Transpick.Name = "Transpick"
Transpick.Parent = Frame
Transpick.BackgroundColor3 = COL3RGB(255, 255, 255)
Transcolor.Name = "Transcolor"
Transcolor.Parent = Transpick
Transcolor.BackgroundColor3 = COL3RGB(255, 255, 255)
Transcolor.BackgroundTransparency = 1.000
Transcolor.Size = UDIM2(1, 0, 1, 0)
Transcolor.Image = "rbxassetid://3887017050"
Transcolor.ImageColor3 = COL3RGB(255, 0, 4)
Transcolor.ZIndex = 3
Transdrag.Name = "Transdrag"
Transdrag.Parent = Transcolor
Transdrag.BackgroundColor3 = COL3RGB(255, 255, 255)
ColorP.MouseButton1Down:Connect(function()
Frame.Visible = not Frame.Visible
end)
local abc = false
local inCP = false
ColorP.MouseEnter:Connect(function()
abc = true
end)
ColorP.MouseLeave:Connect(function()
abc = false
end)
Frame.MouseEnter:Connect(function()
inCP = true
end)
Frame.MouseLeave:Connect(function()
inCP = false
end)
ColorH = (CLAMP(Huedrag.AbsolutePosition.Y-
Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(CLAMP(ColorDrag.AbsolutePosition.X-
Colorpick.AbsolutePosition.X, 0,
Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(CLAMP(ColorDrag.AbsolutePosition.Y-
Colorpick.AbsolutePosition.Y, 0,
Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-
ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
end
if data.default and data.default.Transparency ~= nil
then
Transdrag.Position =
UDIM2(data.default.Transparency, -1, 0, 0)
end
local mouse = LocalPlayer:GetMouse()
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if not dragging and not abc and not inCP
then
Frame.Visible = false
end
end
end)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
values[tabname][sectorname][text] =
Element.value
Element.value.Color = COL3HSV(ColorH, ColorS,
ColorV)
callback(Element.value)
end
local function updateHue()
local y = CLAMP(mouse.Y -
Huepick.AbsolutePosition.Y, 0, 148)
Huedrag.Position = UDIM2(0, 0, 0, y)
hue = y/148
ColorH = 1-hue
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
values[tabname][sectorname][text] =
Element.value
Element.value.Color = COL3HSV(ColorH, ColorS,
ColorV)
callback(Element.value)
end
local function updateTrans()
local x = CLAMP(mouse.X -
Transpick.AbsolutePosition.X, 0, 178)
Transdrag.Position = UDIM2(0, x, 0, 0)
Element.value.Transparency = (x/178)
values[tabname][sectorname][text] =
Element.value
callback(Element.value) -- this has been made
by Bad#9672, tested by WetIDreamz#0001 and zeox#9999 -- this has been made by
Bad#9672, tested by WetIDreamz#0001 and zeox#9999 -- this has been made by
Bad#9672, tested by WetIDreamz#0001 and zeox#9999 -- this has been made by
Bad#9672, tested by WetIDreamz#0001 and zeox#9999
end
Transpick.MouseButton1Down:Connect(function()
updateTrans()
moveconnection = mouse.Move:Connect(function()
updateTrans()
end)
releaseconnection =
game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
updateTrans()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Colorpick.MouseButton1Down:Connect(function()
updateColor()
moveconnection = mouse.Move:Connect(function()
updateColor()
end)
releaseconnection =
game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
updateColor()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Huepick.MouseButton1Down:Connect(function()
updateHue()
moveconnection = mouse.Move:Connect(function()
updateHue()
end)
releaseconnection =
game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
updateHue()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
end)
if data.default then
if Element.value.Toggle then
tween = library:Tween(Color,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = COL3RGB(0, 220, 0)})
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(255, 255, 255)})
else
tween = library:Tween(Color,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = COL3RGB(1, 1, 1)})
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][text] =
Element.value
end
values[tabname][sectorname][text] = Element.value
function Element:SetValue(value)
Element.value = value
local duplicate = COL3(value.Color.R,
value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-
ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH,
ColorS, ColorV)
update()
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
end
elseif type == "TextBox" then
Section.Size = Section.Size + UDIM2(0,0,0,30)
Element.value = {Text = data.default and
data.default.text or ""}
Box.Name = "Box"
Box.Parent = Inner
Box.BackgroundColor3 = COL3RGB(255, 255, 255)
Box.BackgroundTransparency = 1.000
Box.Position = UDIM2(0, 0, 0.542059898, 0)
Box.Size = UDIM2(1, 0, 0, 30)
TextBox.Parent = Box
TextBox.BackgroundColor3 = COL3RGB(1, 1, 1)
TextBox.BorderColor3 = COL3RGB(30, 30, 30)
TextBox.Position = UDIM2(0.108303241, 0, 0.224465579,
0)
TextBox.Size = UDIM2(0, 175, 0, 20)
TextBox.Font = Enum.Font.SourceSans
TextBox.PlaceholderText = data.placeholder
TextBox.Text = Element.value.Text
TextBox.TextColor3 = COL3RGB(255, 255, 255)
TextBox.TextSize = 14.000
values[tabname][sectorname][text] = Element.value
TextBox:GetPropertyChangedSignal("Text"):Connect(function()
if LEN(TextBox.Text) > 10 then
TextBox.Text = SUB(TextBox.Text, 1, 10)
end
Element.value.Text = TextBox.Text
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
end)
function Element:SetValue(value)
Element.value = value
values[tabname][sectorname][text] =
Element.value
TextBox.Text = Element.value.Text
end
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = COL3RGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0.255102038, 0)
Dropdown.Size = UDIM2(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(1, 1, 1)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = Element.value.Dropdown
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(1, 1, 1)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 4
Drop.TopImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.MidImage = "http://www.roblox.com/asset/?
id=6724808282"
Drop.AutomaticCanvasSize = "Y"
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(0, 220, 0)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment =
Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = COL3RGB(1, 1,
1)
Button.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255,
255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30,
30)
TextLabel.Position = UDIM2(0, 5, 0, -1)
TextLabel.Size = UDIM2(-0.21714285, 208,
1, 0)
TextLabel.Font =
Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200, 200,
200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment =
Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
Drop.Visible = false
Element.value.Dropdown = v
abcd.Text = v
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
Drop.CanvasPosition = Vec2(0,0)
end)
Button.MouseEnter:Connect(function()
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(0, 220, 0)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel,
TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 =
COL3RGB(200, 200, 200)})
end)
first = false
end
end
function Element:SetValue(val)
Element.value = val
abcd.Text = val.Dropdown
values[tabname][sectorname][text] =
Element.value
callback(val)
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?
id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208,
0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 14.000
TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 or input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not indrop
and not ind then
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
end
end
end)
values[tabname][sectorname][text] = Element.value
elseif type == "Slider" then
Slider.Name = "Slider"
Slider.Parent = Inner
Slider.BackgroundColor3 = COL3RGB(255, 255, 255)
Slider.BackgroundTransparency = 1.000
Slider.Position = UDIM2(0, 0, 0.653061211, 0)
Slider.Size = UDIM2(1, 0, 0, 25)
TextLabel.Parent = Slider
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -2)
TextLabel.Size = UDIM2(0, 100, 0, 15)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Button.Name = "Button"
Button.Parent = Slider
Button.BackgroundColor3 = COL3RGB(10, 10, 10)
Button.BorderColor3 = COL3RGB(25, 25, 25)
Button.Position = UDIM2(0, 30, 0, 15)
Button.Size = UDIM2(0, 175, 0, 5)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 14.000
Frame.Parent = Button
Frame.BackgroundColor3 = COL3RGB(255, 255, 255)
Frame.BorderSizePixel = 0
Frame.Size = UDIM2(0.5, 0, 1, 0)
UIGradient.Color =
ColorSequence.new{ColorSequenceKeypoint.new(0, COL3RGB(0, 220, 0)),
ColorSequenceKeypoint.new(1, COL3RGB(0, 220, 0))}
UIGradient.Rotation = 90
UIGradient.Parent = Frame
Value.Name = "Value"
Value.Parent = Slider
Value.BackgroundColor3 = COL3RGB(255, 255, 255)
Value.BackgroundTransparency = 1.000
Value.Position = UDIM2(0, 150, 0, -1)
Value.Size = UDIM2(0, 55, 0, 15)
Value.Font = Enum.Font.SourceSansSemibold
Value.Text = "50"
Value.TextColor3 = COL3RGB(200, 200, 200)
Value.TextSize = 14.000
Value.TextXAlignment = Enum.TextXAlignment.Right
local min, max, default = data.min or 0, data.max or
100, data.default or 0
Element.value = {Slider = default}
function Element:SetValue(value)
Element.value = value
local a
if min > 0 then
a = ((Element.value.Slider - min)) /
(max-min)
else
a = (Element.value.Slider-min)/(max-min)
end
Value.Text = Element.value.Slider
Frame.Size = UDIM2(a,0,1,0)
values[tabname][sectorname][text] =
Element.value
callback(value)
end
local a
if min > 0 then
a = ((Element.value.Slider - min)) / (max-min)
else
a = (Element.value.Slider-min)/(max-min)
end
Value.Text = Element.value.Slider
Frame.Size = UDIM2(a,0,1,0)
values[tabname][sectorname][text] = Element.value
local uis = game:GetService("UserInputService")
local mouse = game.Players.LocalPlayer:GetMouse()
local val
Button.MouseButton1Down:Connect(function()
Frame.Size = UDIM2(0, CLAMP(mouse.X -
Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) - tonumber(min)) /
175) * Frame.AbsoluteSize.X) + tonumber(min)) or 0
Value.Text = val
Element.value.Slider = val
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
moveconnection = mouse.Move:Connect(function()
Frame.Size = UDIM2(0, CLAMP(mouse.X -
Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) -
tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min))
Value.Text = val
Element.value.Slider = val
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
end)
releaseconnection =
uis.InputEnded:Connect(function(Mouse)
if Mouse.UserInputType ==
Enum.UserInputType.MouseButton1 then
Frame.Size = UDIM2(0, CLAMP(mouse.X
- Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) -
tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min))
values[tabname][sectorname][text] =
Element.value
callback(Element.value)
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
elseif type == "Button" then
Button.Name = "Button"
Button.Parent = Inner
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Position = UDIM2(0, 0, 0.236059487, 0)
Button.Size = UDIM2(1, 0, 0, 24)
Button_2.Name = "Button"
Button_2.Parent = Button
Button_2.BackgroundColor3 = COL3RGB(1, 1, 1)
Button_2.BorderColor3 = COL3RGB(30, 30, 30)
Button_2.Position = UDIM2(0, 30, 0.5, -9)
Button_2.Size = UDIM2(0, 175, 0, 18)
Button_2.AutoButtonColor = false
Button_2.Font = Enum.Font.SourceSans
Button_2.Text = ""
Button_2.TextColor3 = COL3RGB(0, 0, 0)
Button_2.TextSize = 14.000
TextLabel.Parent = Button_2
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Size = UDIM2(1, 0, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 14.000
function Element:SetValue()
end
Button_2.MouseButton1Down:Connect(function()
TextLabel.TextColor3 = COL3RGB(0, 220, 0)
library:Tween(TextLabel, TweenInfo.new(0.4,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200,
200)})
callback()
end)
Button_2.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(0, 220,
0)})
end)
Button_2.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200,
200)})
end)
end
ConfigLoad:Connect(function(cfg)
pcall(function()
local fix = library:ConfigFix(cfg)
if fix[tabname][sectorname][text] ~= nil then
Element:SetValue(fix[tabname][sectorname]
[text])
end
end)
end)
return Element
end
return Sector
end
return Tab
end
salad.Parent = game.CoreGui
return menu
end
ScreenGui.Enabled = false
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Global
ScreenGui.IgnoreGuiInset = true
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = COL3RGB(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.Position = UDIM2(0, 0, 0.5, 0)
Frame.Size = UDIM2(1, 0, 0, 1)
Frame_2.Parent = ScreenGui
Frame_2.BackgroundColor3 = COL3RGB(0, 0, 0)
Frame_2.BorderSizePixel = 0
Frame_2.Position = UDIM2(0.5, 0, 0, 0)
Frame_2.Size = UDIM2(0, 1, 1, 0)
ScreenGui.Parent = game.CoreGui
NewScope = ScreenGui
end
local oldSkybox
Accessory.Mesh.TextureId = ""
else
Accessory.Mesh.TextureId = Accessory.StringValue.Value
end
end
local function ReverseAccessory(Accessory)
Accessory.Material = "SmoothPlastic"
Accessory.Mesh.VertexColor = Vec3(1,1,1)
Accessory.Mesh.TextureId = Accessory.StringValue.Value
Accessory.Transparency = 0
end
local function UpdateWeapon(obj)
local selected = values.visuals.effects["weapon material"].Dropdown
if NewCharacter:FindFirstChildOfClass("Shirt") then
if LocalPlayer.Character:FindFirstChildOfClass("Shirt") then
LocalPlayer.Character:FindFirstChildOfClass("Shirt"):Destroy()
end
local Clone = NewCharacter:FindFirstChildOfClass("Shirt"):Clone()
Clone.Parent = LocalPlayer.Character
end
if NewCharacter:FindFirstChildOfClass("Pants") then
if LocalPlayer.Character:FindFirstChildOfClass("Pants") then
LocalPlayer.Character:FindFirstChildOfClass("Pants"):Destroy()
end
local Clone = NewCharacter:FindFirstChildOfClass("Pants"):Clone()
Clone.Parent = LocalPlayer.Character
end
if LocalPlayer.Character:FindFirstChildOfClass("Shirt") then
local String = INST("StringValue")
String.Name = "OriginalTexture"
String.Value =
LocalPlayer.Character:FindFirstChildOfClass("Shirt").ShirtTemplate
String.Parent = LocalPlayer.Character:FindFirstChildOfClass("Shirt")
LocalPlayer.Character:FindFirstChildOfClass("Shirt").ShirtTemplate = ""
end
end
if LocalPlayer.Character:FindFirstChildOfClass("Pants") then
local String = INST("StringValue")
String.Name = "OriginalTexture"
String.Value =
LocalPlayer.Character:FindFirstChildOfClass("Pants").PantsTemplate
String.Parent = LocalPlayer.Character:FindFirstChildOfClass("Pants")
LocalPlayer.Character:FindFirstChildOfClass("Pants").PantsTemplate = ""
end
end
for i,v in pairs(LocalPlayer.Character:GetChildren()) do
if v:IsA("BasePart") and v.Transparency ~= 1 then
INSERT(SelfObj, v)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Color
Color.Parent = v
local AllKnives = {
"CT Knife",
"T Knife",
"Banana",
"Bayonet",
"Bearded Axe",
"Butterfly Knife",
"Cleaver",
"Crowbar",
"Falchion Knife",
"Flip Knife",
"Gut Knife",
"Huntsman Knife",
"Karambit",
"Sickle",
}
local AllGloves = {}
local AllSkins = {}
local AllWeapons = {}
local AllCharacters = {}
local skins = {
{["Weapon"] = "AWP", ["SkinName"] = "Bot", ["Skin"] = {["Scope"] =
"6572594838", ["Handle"] = "6572594077"}}
}
TBLSORT(AllWeapons, function(a,b)
return a < b
end)
makefolder("saladlua")
local allluas = {}
getgenv().api = {}
api.newtab = function(name)
return gui:Tab(name)
end
api.newsection = function(tab, name, side)
return tab:Sector(name, side)
end
api.newelement = function(section, type, name, data, callback)
section:Element(type, name, data, callback)
end
-- Instances:
--Properties:
ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Frame.BorderColor3 = Color3.fromRGB(204, 204, 0)
Frame.Position = UDim2.new(0.800652504, 0, 0.0152927982, 0)
Frame.Size = UDim2.new(0, 227, 0, 22)
Frame.Draggable = true
Frame.Active = true
Frame.Selectable = true
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Size = UDim2.new(0, 57, 0, 22)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "Saladwere |"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 12.000
TextLabel_2.Parent = Frame
TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.BackgroundTransparency = 1.000
TextLabel_2.Position = UDim2.new(0.224669605, 0, 0, 0)
TextLabel_2.Size = UDim2.new(0, 57, 0, 22)
TextLabel_2.Font = Enum.Font.SourceSans
TextLabel_2.Text = "DEV|"
TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.TextSize = 12.000
TextLabel_3.Parent = Frame
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDim2.new(0.449339211, 0, 0, 0)
TextLabel_3.Size = UDim2.new(0, 57, 0, 22)
TextLabel_3.Font = Enum.Font.SourceSans
TextLabel_3.Text = "GG"
TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.TextSize = 12.000
end)
ChangeCharacter(ChrModels:FindFirstChild(values.skins.characters.skin.Scroll))
end
end
end)
characters:Element("Scroll", "skin", {options = AllCharacters, Amount = 9, alphabet
= true}, function(tbl)
if values.skins.characters["character changer"].Toggle then
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("Gun") then
ChangeCharacter(ChrModels:FindFirstChild(tbl.Scroll))
end
end
end)
local aimbot = legit:Sector("aimbot", "Left")
aimbot:Element("ToggleKeybind", "aim assist")
aimbot:Element("ToggleKeybind", "silent aim")
aimbot:Element("ToggleKeybind", "triggerbot")
Tab:Element("Toggle", "triggerbot")
Tab:Element("Slider", "delay (ms)", {min = 0, max = 300, default = 200})
Tab:Element("Slider", "minimum dmg", {min = 0, max = 100, default = 15})
end
AddLegit(default)
AddRage(default)
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(1)
end
end
else
FakelagFolder:ClearAllChildren()
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(9e9)
end
end
end)()
exploits:Element("ToggleKeybind","auto peek",{},function(tbl)
if tbl.Toggle and tbl.Active and LocalPlayer.Character then
AutoPeek.OldPeekPosition = LocalPlayer.Character.HumanoidRootPart.CFrame
end
end)
OldClientFireBullet = Client.firebullet
Client.firebullet = function(...)
if values.rage.exploits["auto peek"].Toggle and values.rage.exploits["auto
peek"].Active and LocalPlayer.Character then
LocalPlayer.Character.HumanoidRootPart.CFrame = AutoPeek.OldPeekPosition
end
return OldClientFireBullet(...)
end
if tbl.Toggle then
if values.visuals.players.teammates.Toggle or
Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = tbl.Color
end
end
end
end
end)
fire.Transparency = tbl.Transparency
fire.Color = tbl.Color
end
else
for i,fire in pairs(RayIgnore:FindFirstChild("Fires"):GetChildren()) do
fire.Transparency = 1
end
end
end)
world:Element("ToggleColor", "smoke radius", {default = {Color = COL3RGB(0, 255,
0)}}, function(tbl)
if RayIgnore:FindFirstChild("Smokes") == nil then return end
if tbl.Toggle then
for i,smoke in pairs(RayIgnore:FindFirstChild("Smokes"):GetChildren())
do
smoke.Transparency = 0
smoke.Color = tbl.Color
end
else
for i,smoke in pairs(RayIgnore:FindFirstChild("Smokes"):GetChildren())
do
smoke.Transparency = 1
end
end
end)
world:Element("ToggleColor", "bullet tracers", {default = {Color = COL3RGB(0, 0,
255)}})
world:Element("ToggleColor", "impacts", {default = {Color = COL3RGB(255, 0, 0)}})
world:Element("ToggleColor", "hit chams", {default = {Color = COL3RGB(0, 0, 255)}})
workspace:FindFirstChild("Map"):FindFirstChild("Killers"):Destroy()
end
else
if workspace:FindFirstChild("Map") and
workspace:FindFirstChild("Map"):FindFirstChild("KillersClone") then
workspace:FindFirstChild("Map"):FindFirstChild("KillersClone").Name =
"Killers"
end
end
end)
client:Element("ToggleColor", "hitmarker", {default = {Color =
COL3RGB(255,255,255)}})
client:Element("Toggle", "buy any grenade")
SpectatorsList.Parent = game.CoreGui
SpectatorsList.Name = "SpectatorsList"
SpectatorsList.Enabled = true
Spectators.Name = "Spectators"
Spectators.Parent = SpectatorsList
Spectators.BackgroundColor3 = Color3.fromRGB(23, 23, 23)
Spectators.BackgroundTransparency = 1.000
Spectators.BorderColor3 = Color3.fromRGB(20, 20, 20)
Spectators.Position = UDim2.new(0.00800000038, 0, 0.400000006, 49)
Spectators.Size = UDim2.new(0, 200, 0, 20)
Container.Name = "Container"
Container.Parent = Spectators
Container.BackgroundTransparency = 1.000
Container.BorderSizePixel = 0
Container.Position = UDim2.new(0, 0, 0, 4)
Container.Size = UDim2.new(1, 0, 0, 14)
Container.ZIndex = 3
UIPadding.Parent = Container
UIPadding.PaddingLeft = UDim.new(0, 4)
Text.Name = "Text"
Text.Parent = Container
Text.BackgroundTransparency = 1.000
Text.Size = UDim2.new(1, 0, 1, 0)
Text.ZIndex = 4
Text.Font = Enum.Font.Code
Text.Text = "spectators"
Text.TextColor3 = Color3.fromRGB(65025, 65025, 65025)
Text.TextSize = 13.000
Text.TextStrokeTransparency = 0.000
Players.Name = "Players"
Players.Parent = Container
Players.BackgroundTransparency = 1.000
Players.Position = UDim2.new(0.0196080022, 0, 1.44285719, 0)
Players.Size = UDim2.new(0.980391979, 0, 1.14285719, 0)
Players.ZIndex = 4
Players.Font = Enum.Font.Code
Players.Text = "loading"
Players.TextColor3 = Color3.fromRGB(65025, 65025, 65025)
Players.TextSize = 12.000
Players.TextStrokeTransparency = 0.000
Players.TextYAlignment = Enum.TextYAlignment.Top
Background.Name = "Background"
Background.Parent = Spectators
Background.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Background.BorderColor3 = Color3.fromRGB(20, 20, 20)
Background.Size = UDim2.new(1, 0, 1, 0)
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(22, 22, 22)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(22, 22,
22))}
UIGradient.Rotation = 90
UIGradient.Parent = Background
Color.Name = "Color"
Color.Parent = Spectators
Color.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Color.BorderSizePixel = 0
Color.Size = UDim2.new(1, 0, 0, 2)
Color.ZIndex = 2
UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0,
Color3.fromRGB(30, 146, 110)), ColorSequenceKeypoint.new(1, Color3.fromRGB(9, 84,
59))}
UIGradient_2.Rotation = 90
UIGradient_2.Parent = Color
function GetSpectators()
local CurrentSpectators = ""
for i,v in pairs(game.Players:GetChildren()) do
pcall(function()
if v ~= game.Players.LocalPlayer then
if not v.Character then
if (v.CameraCF.Value.p -
game.Workspace.CurrentCamera.CFrame.p).Magnitude < 10 then
if CurrentSpectators == "" then
CurrentSpectators = v.Name
else
CurrentSpectators =
CurrentSpectators.. "\n" ..v.Name
end
end
end
end
end)
end
return CurrentSpectators
end
spawn(function()
while wait(0.1) do
if SpectatorsList.Enabled then
Players.Text = GetSpectators()
end
end
end)
return oldgrenadeallowed(...)
end
game:GetService("ReplicatedStorage").Events.PlayerChatted:FireServer(values.misc.ch
at.type.Dropdown == "Winning" and "SaladWere winning$$$$$" or "Join saladwere
https://discord.gg/xstjreNx", false, "Innocent", false, true)
wait(values.misc.chat["speed (ms)"].Slider/1000)
end
end
end)
chat:Element("Dropdown", "type", {options = {"Winning", "saladwere$$$$$"}})
chat:Element("Slider", "speed (ms)", {min = 15, max = 300, default = 50})
chat:Element("Toggle", "kill say")
chat:Element("TextBox", "message", {placeholder = "message"})
chat:Element("Toggle", "no filter")
game:GetService("ReplicatedStorage").Events.ThrowGrenade:FireServer(oh1, nil,
oh3, oh4, Vec3(0,-100,0), oh6, oh7)
end
end
end)()
grenades:Element("Dropdown", "grenade", {options = {"Flashbang", "Smoke Grenade",
"Molotov", "HE Grenade", "Decoy Grenade"}})
grenades:Element("Button", "crash server", {}, function()
RunService.RenderStepped:Connect(function()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("UpperTorso") then
local oh1 =
game:GetService("ReplicatedStorage").Weapons[values.misc.grenades.grenade.Dropdown]
.Model
local oh3 = 25
local oh4 = 35
local oh6 = ""
local oh7 = ""
game:GetService("ReplicatedStorage").Events.ThrowGrenade:FireServer(oh1, nil,
oh3, oh4, Vec3(0,-100,0), oh6, oh7)
end
end)
end)
local LoadedAnim
pcall(function()
LoadedAnim:Stop()
end)
if values.misc.animations.enabled.Toggle and
values.misc.animations.enabled.Active then
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("Humanoid") then
LoadedAnim = LocalPlayer.Character.Humanoid:LoadAnimation(Dance)
LoadedAnim.Priority = Enum.AnimationPriority.Action
LoadedAnim:Play()
end
end
end)
Main.Size = UDim2.new(0,200,0,40)
Main.Transparency = 1
Main.Parent = RifthookTK
Frame.Parent = Main
Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame.BackgroundTransparency = 1.000
Frame.BorderSizePixel = 0
Frame.Size = UDim2.new(1,-20,1,-35)
Frame.Position = UDim2.new(0,10,0,25)
MX_ONHIT.Name = "MX_ONHIT"
MX_ONHIT.Parent = game.CoreGui
MX_ONHIT.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
OnHitFrame.Parent = MX_ONHIT
OnHitFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
OnHitFrame.BackgroundTransparency = 1.000
OnHitFrame.Position = UDim2.new(1, -300, 0, 0)
OnHitFrame.Size = UDim2.new(0, 300, 0, 500)
UIListLayout.Parent = OnHitFrame
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
SampleLabel.Name = "SampleLabel"
SampleLabel.Parent = OnHitFrame
SampleLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SampleLabel.BackgroundTransparency = 1.000
SampleLabel.BorderSizePixel = 0
SampleLabel.Size = UDim2.new(1, 0, 0, 20)
SampleLabel.Font = Enum.Font.Code
SampleLabel.Text = "Hit SamplePlayer in HeadHB "
SampleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
SampleLabel.TextSize = 14.000
SampleLabel.TextStrokeTransparency = 0.000
SampleLabel.TextTransparency = 1.000
SampleLabel.TextXAlignment = Enum.TextXAlignment.Right
game.ReplicatedStorage.Events.FallDamage:FireServer(LocalPlayer.Character.Humanoid.
Health-1)
end)
TeamDamage = false
griefsector:Element("ToggleKeybind","show team damage",{},function(tbl)
TeamDamage = tbl.Toggle
RifthookTK.Enabled = TeamDamage
spawn(function()
while TeamDamage do
pcall(function()
local UIListLayout = Instance.new("UIListLayout")
UIListLayout.Parent = Frame
UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
if UIListLayout.AbsoluteContentSize.Y == 0 then
Main.Size = UDim2.new(0,200,0,40)
else
Main.Size =
UDim2.new(0,200,0,UIListLayout.AbsoluteContentSize.Y+34)
end
end)
wait()
for i,v in pairs(Frame:GetChildren()) do
v:Destroy()
end
for i,v in pairs(game.Players:GetChildren()) do
if v.Team == LocalPlayer.Team then
local Label = Instance.new("TextLabel")
Label.Name = v.Name
Label.BackgroundTransparency = 1
Label.Size = UDim2.new(1, 0, 0, 18)
if v == LocalPlayer then
Label.Text = "You | Kills:
"..tostring(math.floor(v.TeamKills.value)).." | Damage:
"..tostring(math.floor(v.TeamDamage.value))
Label.TextColor3 = Color3.new(0.3, 1,
0.3)
else
Label.Text = v.Name.." | Kills:
"..tostring(math.floor(v.TeamKills.value)).." | Damage:
"..tostring(math.floor(v.TeamDamage.value))
Label.TextColor3 = Color3.new(1, 1, 1)
end
Label.Parent = Frame
Label.TextXAlignment = "Left"
Label.TextStrokeTransparency = 0
end
end
end)
end
end)
end)
local objects = {}
local utility = {}
do
utility.default = {
Line = {
Thickness = 1.5,
Color = COL3RGB(255, 255, 255),
Visible = false
},
Text = {
Size = 13,
Center = true,
Outline = true,
Font = Drawing.Fonts.Plex,
Color = COL3RGB(255, 255, 255),
Visible = false
},
Square = {
Thickness = 1.5,
Filled = false,
Color = COL3RGB(255, 255, 255),
Visible = false
},
}
function utility.create(type, isOutline)
local drawing = Drawing.new(type)
for i, v in pairs(utility.default[type]) do
drawing[i] = v
end
if isOutline then
drawing.Color = COL3(0,0,0)
drawing.Thickness = 3
end
return drawing
end
function utility.add(plr)
if not objects[plr] then
objects[plr] = {
Name = utility.create("Text"),
Weapon = utility.create("Text"),
Armor = utility.create("Text"),
BoxOutline = utility.create("Square", true),
Box = utility.create("Square"),
HealthOutline = utility.create("Line", true),
Health = utility.create("Line"),
}
end
end
for _,plr in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer then
utility.add(plr)
end
end
Players.PlayerAdded:Connect(utility.add)
Players.PlayerRemoving:Connect(function(plr)
wait()
if objects[plr] then
for i,v in pairs(objects[plr]) do
for i2,v2 in pairs(v) do
if v then
v:Remove()
end
end
end
objects[plr] = nil
end
end)
end
local Items = INST("ScreenGui")
Items.Name = "Items"
Items.Parent = game.CoreGui
Items.ResetOnSpawn = false
Items.ZIndexBehavior = "Global"
do
function add(plr)
local ImageLabel = INST("ImageLabel")
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Size = UDIM2(0, 62, 0, 25)
ImageLabel.Visible = false
ImageLabel.Image = "rbxassetid://1784884358"
ImageLabel.ScaleType = Enum.ScaleType.Fit
ImageLabel.Name = plr.Name
ImageLabel.AnchorPoint = Vec2(0.5,0.5)
ImageLabel.Parent = Items
end
for _,plr in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer then
add(plr)
end
end
Players.PlayerAdded:Connect(add)
Players.PlayerRemoving:Connect(function(plr)
wait()
Items[plr.Name]:Destroy()
end)
end
local debrisitems = {}
workspace.Debris.ChildAdded:Connect(function(obj)
if obj:IsA("BasePart") and Weapons:FindFirstChild(obj.Name) then
RunService.RenderStepped:Wait()
BillboardGui.Parent = obj
end
end)
for _, obj in pairs(workspace.Debris:GetChildren()) do
if obj:IsA("BasePart") and Weapons:FindFirstChild(obj.Name) then
RunService.RenderStepped:Wait()
BillboardGui.Parent = obj
end
end
local function YROTATION(cframe)
local x, y, z = cframe:ToOrientation()
return CF(cframe.Position) * CFAngles(0,y,0)
end
local function XYROTATION(cframe)
local x, y, z = cframe:ToOrientation()
return CF(cframe.Position) * CFAngles(x,y,0)
end
local weps = {
Pistol = {"USP", "P2000", "Glock", "DualBerettas", "P250", "FiveSeven",
"Tec9", "CZ", "DesertEagle", "R8"},
SMG = {"MP9", "MAC10", "MP7", "UMP", "P90", "Bizon"},
Rifle = {"M4A4", "M4A1", "AK47", "Famas", "Galil", "AUG", "SG"},
Sniper = {"AWP", "Scout", "G3SG1"}
}
local weps2 = {
Pistol = {"USP", "P2000", "Glock", "DualBerettas", "P250", "FiveSeven",
"Tec9", "CZ", "DesertEagle", "R8"},
SMG = {"MP9", "MAC10", "MP7", "UMP", "P90", "Bizon"},
Rifle = {"M4A4", "M4A1", "AK47", "Famas", "Galil", "AUG", "SG"},
Sniper = {"AWP", "Scout", "G3SG1"}
}
local function GetWeaponRage(weapon)
return TBLFIND(weps.Pistol, weapon) and "pistol" or TBLFIND(weps.Rifle,
weapon) and "rifle" or weapon == "AWP" and "awp" or weapon == "G3SG1" and "auto"
or weapon == "Scout" and "scout" or "default"
end
local function GetStatsRage(weapon)
if weapon == "default" then
return values.rage.weapons.default
else
if values.rage.weapons[weapon]["override default"].Toggle then
return values.rage.weapons[weapon]
else
return values.rage.weapons.default
end
end
end
local function GetWeaponLegit(weapon)
return TBLFIND(weps2.Pistol, weapon) and "pistol" or TBLFIND(weps2.Rifle,
weapon) and "rifle" or TBLFIND(weps2.SMG, weapon) and "smg" or
TBLFIND(weps2.Sniper, weapon) and "sniper" or "default"
end
local function GetStatsLegit(weapon)
if weapon == "default" then
return values.legit.main.default
else
if values.legit.main[weapon]["override default"].Toggle then
return values.legit.main[weapon]
else
return values.legit.main.default
end
end
end
local Jitter = false
local Spin = 0
local RageTarget
local Filter = false
local LastStep
local TriggerDebounce = false
local DisableAA = false
game:GetService("ReplicatedStorage").Events.RemoteEvent:FireServer({[1] =
"createparticle", [2] = "bullethole", [3] = LocalPlayer.Character.Head, [4] =
Vec3(0,0,0)})
end
end
local Root = LocalPlayer.Character.HumanoidRootPart
if values.misc.client["infinite crouch"].Toggle then
Client.crouchcooldown = 0
end
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "firerate")
then
Client.DISABLED = false
end
if values.rage.exploits["kill all"].Toggle and
values.rage.exploits["kill all"].Active and
LocalPlayer.Character:FindFirstChild("UpperTorso") and
LocalPlayer.Character:FindFirstChild("Gun") then
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character and Player.Team ~= LocalPlayer.Team and
Player.Character:FindFirstChild("UpperTorso") then
local oh1 = Player.Character.Head
local oh2 = Player.Character.Head.CFrame.p
local oh3 = Client.gun.Name
local oh4 = 4096
local oh5 = LocalPlayer.Character.Gun
local oh8 = 15
local oh9 = false
local oh10 = false
local oh11 = Vec3(0,0,0)
local oh12 = 16868
local oh13 = Vec3(0, 0, 0)
INSERT(Ignore,
workspace.Map.SpawnPoints)
INSERT(Ignore,
LocalPlayer.Character)
INSERT(Ignore,
Player.Character.HumanoidRootPart)
if
Player.Character:FindFirstChild("BackC4") then
INSERT(Ignore,
Player.Character.BackC4)
end
if
Player.Character:FindFirstChild("Gun") then
INSERT(Ignore,
Player.Character.Gun)
end
local Ray = RAY(Origin,
(Player.Character.Head.Position - Origin).unit * 20)
local Hit, Pos =
workspace:FindPartOnRayWithIgnoreList(Ray, Ignore, false, true)
local Arguments = {
[1] = Hit,
[2] = Hit.Position,
[3] = Client.gun.Name,
[4] = 4096,
[5] =
LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vec3(),
[12] = 16868,
[13] = Vec3()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
end
else
local Ignore = {unpack(Collision)}
INSERT(Ignore, workspace.Map.Clips)
INSERT(Ignore,
workspace.Map.SpawnPoints)
INSERT(Ignore,
LocalPlayer.Character)
INSERT(Ignore,
Player.Character.HumanoidRootPart)
if
Player.Character:FindFirstChild("BackC4") then
INSERT(Ignore,
Player.Character.BackC4)
end
if
Player.Character:FindFirstChild("Gun") then
INSERT(Ignore,
Player.Character.Gun)
end
local Hitboxes = {}
for _,Hitbox in
ipairs(Stats.hitboxes.Jumbobox) do
if Stats["prefer
baim"].Toggle then
if Hitbox == "head" and
(not values.rage.aimbot["auto baim"].Toggle or
Player.Character:FindFirstChild("FakeHead")) then
INSERT(Hitboxes,
Player.Character.Head)
elseif Hitbox == "torso"
then
INSERT(Hitboxes,
Player.Character.UpperTorso)
else
INSERT(Hitboxes,
Player.Character.LowerTorso)
end
else
if Hitbox == "torso"
then
INSERT(Hitboxes,
Player.Character.UpperTorso)
elseif Hitbox ==
"pelvis" then
INSERT(Hitboxes,
Player.Character.LowerTorso)
elseif not
values.rage.aimbot["auto baim"].Toggle or
Player.Character:FindFirstChild("FakeHead") then
INSERT(Hitboxes,
Player.Character.Head)
end
end
end
local Ignore2 =
{unpack(Ignore)}
for _,Part in
pairs(Player.Character:GetChildren()) do
if Part ~= Hitbox then
INSERT(Ignore2, Part) end
end
if
values.rage.aimbot["autowall"].Toggle then
local Hits = {}
local EndHit, Hit, Pos
local Penetration =
Client.gun.Penetration.Value * 0.01
local Ray1 =
Ray.new(Origin, (Hitbox.Position - Origin).unit * (Hitbox.Position -
Origin).magnitude)
repeat
Hit, Pos =
workspace:FindPartOnRayWithIgnoreList(Ray1, Ignore2, false, true)
if Hit ~= nil and
Hit.Parent ~= nil then
if Hit and
Multipliers[Hit.Name] ~= nil then
EndHit
= Hit
else
table.insert(Ignore2, Hit)
if Player:FindFirstChild("Helmet") then
end
else
RageGuy = EndHit
RageTarget = EndHit
if not
values.rage.aimbot["silent aim"].Toggle then
Client.firebullet()
Client.firebullet()
Client.firebullet()
Client.firebullet()
end
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
end
modifier = 3
end
if
part.Material == Enum.Material.CorrodedMetal or part.Material ==
Enum.Material.Metal or part.Material == Enum.Material.Concrete or part.Material ==
Enum.Material.Brick then
modifier = 2
end
if
part.Name == "Grate" or part.Material == Enum.Material.Wood or part.Material ==
Enum.Material.WoodPlanks then
modifier = 0.1
end
if
part.Name == "nowallbang" then
modifier = 100
end
if
part:FindFirstChild("PartModifier") then
modifier = part.PartModifier.Value
end
if
part.Transparency == 1 or part.CanCollide == false or part.Name == "Glass" or
part.Name == "Cardboard" then
modifier = 0
end
local
direction = (Hitbox.Position - pos).unit * math.clamp(Client.gun.Range.Value, 1,
100)
local
ray = Ray.new(pos + direction * 1, direction * -2)
local
_,endpos = workspace:FindPartOnRayWithWhitelist(ray, {part}, true)
local
thickness = (endpos - pos).Magnitude
if Player:FindFirstChild("Helmet") then
end
else
RageGuy = EndHit
RageTarget = EndHit
if not
values.rage.aimbot["silent aim"].Toggle then
Camera.CFrame = CFrame.new(CamCFrame.Position, EndHit.Position)
end
Filter
= true
if
values.rage.aimbot["automatic fire"].Dropdown == "standard" then
Client.firebullet()
Client.firebullet()
end
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
end
end
Filter
= false
break
end
end
end
else
local Ray =
Ray.new(Origin, (Hitbox.Position - Origin).unit * (Hitbox.Position -
Origin).magnitude)
local Hit, Pos =
workspace:FindPartOnRayWithIgnoreList(Ray, Ignore2, false, true)
if Hit and
Multipliers[Hit.Name] ~= nil then
local Damage =
Client.gun.DMG.Value * Multipliers[Hit.Name]
if
Player:FindFirstChild("Kevlar") then
if
string.find(Hit.Name, "Head") then
if
Player:FindFirstChild("Helmet") then
Client.firebullet()
if
values.rage.exploits["triple tap"].Toggle and values.rage.exploits["triple
tap"].Active then
Client.firebullet()
Client.firebullet()
Client.firebullet()
end
Client.firebullet()
local
Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
if
values.rage.exploits["triple tap"].Toggle and values.rage.exploits["triple
tap"].Active then
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
end
end
Filter =
false
break
end
end
end
end
end
end
end
end
elseif values.legit.aimbot["aim assist"].Toggle and
values.legit.aimbot["aim assist"].Active and not library.uiopen then
local Stats =
GetStatsLegit(GetWeaponLegit(Client.gun.Name))
local Ignore = {LocalPlayer.Character, Camera,
workspace.Map.Clips, workspace.Map.SpawnPoints, workspace.Debris}
local Closest = 9999
local Target
Hitbox = Player.Character.Head
else
Hitbox = Player.Character.UpperTorso
end
end
if Hitbox ~=
nil then
if not
TBLFIND(Stats.conditions.Jumbobox, "visible") then
Target = Hitbox
else
Target = Hitbox
end
end
end
end
end
end
end
end
end
end
end
Client.firebullet()
end
until Mouse.Target ==
nil or Player ~= Players:GetPlayerFromCharacter(Mouse.Target.Parent)
TriggerDebounce = false
end)()
end
end
end
end
end
end
end
BodyVelocity:Destroy()
BodyVelocity = INST("BodyVelocity")
BodyVelocity.MaxForce = Vec3(HUGE,0,HUGE)
if UserInputService:IsKeyDown("Space") and values.misc.movement["bunny
hop"].Toggle then
local add = 0
if values.misc.movement.direction.Dropdown == "directional" or
values.misc.movement.direction.Dropdown == "directional 2" then
if UserInputService:IsKeyDown("A") then add = 90 end
if UserInputService:IsKeyDown("S") then add = 180 end
if UserInputService:IsKeyDown("D") then add = 270 end
if UserInputService:IsKeyDown("A") and
UserInputService:IsKeyDown("W") then add = 45 end
if UserInputService:IsKeyDown("D") and
UserInputService:IsKeyDown("W") then add = 315 end
if UserInputService:IsKeyDown("D") and
UserInputService:IsKeyDown("S") then add = 225 end
if UserInputService:IsKeyDown("A") and
UserInputService:IsKeyDown("S") then add = 145 end
end
local rot = YROTATION(CamCFrame) * CFAngles(0,RAD(add),0)
BodyVelocity.Parent = LocalPlayer.Character.UpperTorso
LocalPlayer.Character.Humanoid.Jump = true
BodyVelocity.Velocity = Vec3(rot.LookVector.X,0,rot.LookVector.Z)
* (values.misc.movement["speed"].Slider * 2)
if add == 0 and values.misc.movement.direction.Dropdown ==
"directional" and not UserInputService:IsKeyDown("W") then
BodyVelocity:Destroy()
else
if values.misc.movement.type.Dropdown == "cframe" then
BodyVelocity:Destroy()
Root.CFrame = Root.CFrame +
Vec3(rot.LookVector.X,0,rot.LookVector.Z) * values.misc.movement["speed"].Slider/50
end
end
end
if values.misc.movement["edge jump"].Toggle and
values.misc.movement["edge jump"].Active then
if LocalPlayer.Character.Humanoid:GetState() ~=
Enum.HumanoidStateType.Freefall and LocalPlayer.Character.Humanoid:GetState() ~=
Enum.HumanoidStateType.Jumping then
coroutine.wrap(function()
RunService.RenderStepped:Wait()
if LocalPlayer.Character ~= nil and
LocalPlayer.Character:FindFirstChild("Humanoid") and
LocalPlayer.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall and
LocalPlayer.Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Jumping then
LocalPlayer.Character.Humanoid:ChangeState("Jumping")
end
end)()
end
end
Jitter = not Jitter
LocalPlayer.Character.Humanoid.AutoRotate = false
if values.rage.angles.enabled.Toggle and not DisableAA then
local Angle = -ATAN2(CamLook.Z, CamLook.X) + RAD(-90)
if values.rage.angles["yaw base"].Dropdown == "spin" then
Angle = Angle + RAD(Spin)
end
if values.rage.angles["yaw base"].Dropdown == "random" then
Angle = Angle + RAD(RANDOM(0, 360))
end
local Offset = RAD(-values.rage.angles["yaw offset"].Slider -
(values.rage.angles.jitter.Toggle and Jitter and values.rage.angles["jitter
offset"].Slider or 0))
local CFramePos = CF(Root.Position) * CFAngles(0, Angle + Offset,
0)
if values.rage.angles["yaw base"].Dropdown == "targets" then
local part
local closest = 9999
for _,plr in pairs(Players:GetPlayers()) do
if plr.Character and
plr.Character:FindFirstChild("Humanoid") and
plr.Character:FindFirstChild("Humanoid").Health > 0 and plr.Team ~=
LocalPlayer.Team then
local pos, onScreen =
Camera:WorldToViewportPoint(plr.Character.HumanoidRootPart.Position)
local magnitude = (Vec2(pos.X, pos.Y) -
Vec2(Mouse.X, Mouse.Y)).Magnitude
if closest > magnitude then
part = plr.Character.HumanoidRootPart
closest = magnitude
end
end
end
if part ~= nil then
CFramePos = CF(Root.Position, part.Position) *
CFAngles(0, Offset, 0)
end
end
Root.CFrame = YROTATION(CFramePos)
if values.rage.angles["body roll"].Dropdown == "180" then
Root.CFrame = Root.CFrame *
CFAngles(values.rage.angles["body roll"].Dropdown == "180" and RAD(-
values.rage.angles["body roll offset"].Slider or 0) or 0, 1, 0)
LocalPlayer.Character.Humanoid.HipHeight =
values.rage.angles["high pos"].Slider or 1
else
LocalPlayer.Character.Humanoid.HipHeight =
values.rage.angles["high pos"].Slider or 1
end
Root.CFrame = YROTATION(CFramePos)
if values.rage.angles["body roll"].Dropdown == "360" then
Root.CFrame = Root.CFrame *
CFAngles(values.rage.angles["body roll"].Dropdown == "360" and RAD(-
values.rage.angles["body roll offset"].Slider or 0) or 0, 1, 0)
LocalPlayer.Character.Humanoid.HipHeight =
values.rage.angles["high pos"].Slider or 1
else
LocalPlayer.Character.Humanoid.HipHeight =
values.rage.angles["high pos"].Slider or 1
end
Client.resetaccuracy()
Client.RecoilX = 0
Client.RecoilY = 0
end
end
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character and Player ~= LocalPlayer and
Player.Character:FindFirstChild("HumanoidRootPart") and
Player.Character.HumanoidRootPart:FindFirstChild("OldPosition") then
coroutine.wrap(function()
local Position = Player.Character.HumanoidRootPart.Position
RunService.RenderStepped:Wait()
if Player.Character and Player ~= LocalPlayer and
Player.Character:FindFirstChild("HumanoidRootPart") then
if
Player.Character.HumanoidRootPart:FindFirstChild("OldPosition") then
Player.Character.HumanoidRootPart.OldPosition.Value = Position
else
local Value = INST("Vector3Value")
Value.Name = "OldPosition"
Value.Value = Position
Value.Parent =
Player.Character.HumanoidRootPart
end
end
end)()
end
end
for _,Player in pairs(Players:GetPlayers()) do
local tbl = objects[Player]
if tbl == nil then return end
if Player.Character and
Player.Character:FindFirstChild("HumanoidRootPart") and Player.Team ~= "TTT" and
(Player.Team ~= LocalPlayer.Team or values.visuals.players.teammates.Toggle) and
Player.Character:FindFirstChild("Gun") and
Player.Character:FindFirstChild("Humanoid") and Player ~= LocalPlayer then
local HumanoidRootPart = Player.Character.HumanoidRootPart
local RootPosition = HumanoidRootPart.Position
local Pos, OnScreen = Camera:WorldToViewportPoint(RootPosition)
local Size = (Camera:WorldToViewportPoint(RootPosition - Vec3(0,
3, 0)).Y - Camera:WorldToViewportPoint(RootPosition + Vec3(0, 2.6, 0)).Y) / 2
tbl.Box.Color = values.visuals.players.box.Color
tbl.Box.Size = Vec2(Size * 1.5, Size * 1.9)
tbl.Box.Position = Vec2(Pos.X - Size*1.5 / 2, (Pos.Y - Size*1.6 /
2))
if values.visuals.players.box.Toggle then
tbl.Box.Visible = OnScreen
if Drawings then
tbl.BoxOutline.Size = tbl.Box.Size
tbl.BoxOutline.Position = tbl.Box.Position
tbl.BoxOutline.Visible = OnScreen
else
tbl.BoxOutline.Visible = false
end
else
tbl.Box.Visible = false
tbl.BoxOutline.Visible = false
end
if values.visuals.players.health.Toggle then
tbl.Health.Color = COL3(0,1,0)
tbl.Health.From = Vec2((tbl.Box.Position.X - 5),
tbl.Box.Position.Y + tbl.Box.Size.Y)
tbl.Health.To = Vec2(tbl.Health.From.X, tbl.Health.From.Y -
CLAMP(Player.Character.Humanoid.Health / Player.Character.Humanoid.MaxHealth, 0, 1)
* tbl.Box.Size.Y)
tbl.Health.Visible = OnScreen
if Drawings then
tbl.HealthOutline.From = Vec2(tbl.Health.From.X,
tbl.Box.Position.Y + tbl.Box.Size.Y + 1)
tbl.HealthOutline.To = Vec2(tbl.Health.From.X,
(tbl.Health.From.Y - 1 * tbl.Box.Size.Y) -1)
tbl.HealthOutline.Visible = OnScreen
else
tbl.HealthOutline.Visible = false
end
else
tbl.Health.Visible = false
tbl.HealthOutline.Visible = false
end
if values.visuals.players.weapon.Toggle then
tbl.Weapon.Color = values.visuals.players.weapon.Color
tbl.Weapon.Text = Player.Character.EquippedTool.Value
tbl.Weapon.Position = Vec2(tbl.Box.Size.X/2 +
tbl.Box.Position.X, tbl.Box.Size.Y + tbl.Box.Position.Y + 1)
tbl.Weapon.Font =
Drawing.Fonts[values.visuals.players.font.Dropdown]
tbl.Weapon.Outline = Text
tbl.Weapon.Size = values.visuals.players.size.Slider
tbl.Weapon.Visible = OnScreen
else
tbl.Weapon.Visible = false
end
if values.visuals.players.name.Toggle then
tbl.Name.Color = values.visuals.players.name.Color
tbl.Name.Text = Player.Name
tbl.Name.Position = Vec2(tbl.Box.Size.X/2 +
tbl.Box.Position.X, tbl.Box.Position.Y - 16)
tbl.Name.Font =
Drawing.Fonts[values.visuals.players.font.Dropdown]
tbl.Name.Outline = Text
tbl.Name.Size = values.visuals.players.size.Slider
tbl.Name.Visible = OnScreen
else
tbl.Name.Visible = false
end
local LastInfoPos = tbl.Box.Position.Y - 1
if TBLFIND(values.visuals.players.indicators.Jumbobox, "armor")
and Player:FindFirstChild("Kevlar") then
tbl.Armor.Color = COL3RGB(0, 150, 255)
tbl.Armor.Text = Player:FindFirstChild("Helmet") and "HK"
or "K"
tbl.Armor.Position = Vec2(tbl.Box.Size.X +
tbl.Box.Position.X + 12, LastInfoPos)
tbl.Armor.Font =
Drawing.Fonts[values.visuals.players.font.Dropdown]
tbl.Armor.Outline = Text
tbl.Armor.Size = values.visuals.players.size.Slider
tbl.Armor.Visible = OnScreen
LastInfoPos = LastInfoPos +
values.visuals.players.size.Slider
else
tbl.Armor.Visible = false
end
else
if Player.Name ~= LocalPlayer.Name then
Items[Player.Name].Visible = false
for i,v in pairs(tbl) do
v.Visible = false
end
end
end
end
end)
local mt = getrawmetatable(game)
local oldNamecall = mt.__namecall
local oldIndex = mt.__index
local oldNewIndex = mt.__newindex
setreadonly(mt,false)
mt.__namecall = function(self, ...)
local method = tostring(getnamecallmethod())
local args = {...}
coroutine.wrap(function()
if not TBLFIND(Stats.conditions.Jumbobox, "blind") or
LocalPlayer.PlayerGui.Blnd.Blind.BackgroundTransparency > 0.9 then
if not TBLFIND(Stats.conditions.Jumbobox,
"blind") or SelfVelocity.Magnitude < 3 then
for _,Player in
pairs(Players:GetPlayers()) do
if Player.Character and
Player.Character:FindFirstChild("Humanoid") and
Player.Character:FindFirstChild("Humanoid").Health > 0 then
if not
values.legit.settings["forcefield check"].Toggle or not
Player.Character:FindFirstChildOfClass("ForceField") then
if Player.Team ~=
LocalPlayer.Team or values.legit.settings["free for all"].Toggle then
local Pos,
onScreen = Camera:WorldToViewportPoint(Player.Character.HumanoidRootPart.Position)
if onScreen then
local
Magnitude = (Vec2(Pos.X, Pos.Y) - Vec2(Mouse.X, Mouse.Y)).Magnitude
if Magnitude
< Stats["field of view"].Slider then
local
Hitbox = Stats.priority.Dropdown == "head" and Player.Character.Head or
Stats.priority.Dropdown == "chest" and Player.Character.UpperTorso
if
Stats.priority.Dropdown == "closest" then
local TorsoPos =
Camera:WorldToViewportPoint(Player.Character.UpperTorso.Position)
Hitbox = Player.Character.Head
else
Hitbox = Player.Character.UpperTorso
end
end
if
Hitbox ~= nil then
Target = Hitbox
else
local Ray1 = RAY(Camera.CFrame.Position, (Hitbox.Position -
Camera.CFrame.Position).unit * (Hitbox.Position -
Camera.CFrame.Position).magnitude)
Target = Hitbox
end
end
end
end
end
end
end
end
end
end
end
return oldNewIndex(self, i, v)
end
Crosshairs.Scope:GetPropertyChangedSignal("Visible"):Connect(function(current)
if not TBLFIND(values.visuals.effects.removals.Jumbobox, "scope lines") then
return end
if current ~= false then
Crosshairs.Scope.Visible = false
end
end)
Crosshair:GetPropertyChangedSignal("Visible"):Connect(function(current)
if not LocalPlayer.Character then return end
if not values.visuals.effects["force crosshair"].Toggle then return end
if LocalPlayer.Character:FindFirstChild("AIMING") then return end
Crosshair.Visible = true
end)
LocalPlayer.Additionals.TotalDamage:GetPropertyChangedSignal("Value"):Connect(funct
ion(current)
if current == 0 then return end
coroutine.wrap(function()
if values.misc.client.hitmarker.Toggle then
local Line = Drawing.new("Line")
local Line2 = Drawing.new("Line")
local Line3 = Drawing.new("Line")
local Line4 = Drawing.new("Line")
Line.From = Vec2(x + 4, y + 4)
Line.To = Vec2(x + 10, y + 10)
Line.Color = values.misc.client.hitmarker.Color
Line.Visible = true
Line2.From = Vec2(x + 4, y - 4)
Line2.To = Vec2(x + 10, y - 10)
Line2.Color = values.misc.client.hitmarker.Color
Line2.Visible = true
Line3.From = Vec2(x - 4, y - 4)
Line3.To = Vec2(x - 10, y - 10)
Line3.Color = values.misc.client.hitmarker.Color
Line3.Visible = true
Line4.From = Vec2(x - 4, y + 4)
Line4.To = Vec2(x - 10, y + 10)
Line4.Color = values.misc.client.hitmarker.Color
Line4.Visible = true
Line.Transparency = 1
Line2.Transparency = 1
Line3.Transparency = 1
Line4.Transparency = 1
Line.Thickness = 1
Line2.Thickness = 1
Line3.Thickness = 1
Line4.Thickness = 1
wait(0.3)
for i = 1,0,-0.1 do
wait()
Line.Transparency = i
Line2.Transparency = i
Line3.Transparency = i
Line4.Transparency = i
end
Line:Remove()
Line2:Remove()
Line3:Remove()
Line4:Remove()
end
end)()
if values.visuals.world.hitsound.Dropdown == "none" then return end
game:GetService("ReplicatedStorage").Events.PlayerChatted:FireServer(values.misc.ch
at["message"].Text ~= "Eating Salad" and values.misc.chat["message"].Text or
"SaladWare on top", false, "Innocent", false, true)
end
end)
RayIgnore.ChildAdded:Connect(function(obj)
if obj.Name == "Fires" then
obj.ChildAdded:Connect(function(fire)
if values.visuals.world["molly radius"].Toggle then
fire.Transparency = values.visuals.world["molly
radius"].Transparency
fire.Color = values.visuals.world["molly radius"].Color
end
end)
end
if obj.Name == "Smokes" then
obj.ChildAdded:Connect(function(smoke)
RunService.RenderStepped:Wait()
local OriginalRate = INST("NumberValue")
OriginalRate.Value = smoke.ParticleEmitter.Rate
OriginalRate.Name = "OriginalRate"
OriginalRate.Parent = smoke
if TBLFIND(values.visuals.effects.removals.Jumbobox, "smokes")
then
smoke.ParticleEmitter.Rate = 0
end
smoke.Material = Enum.Material.ForceField
if values.visuals.world["smoke radius"].Toggle then
smoke.Transparency = 0
smoke.Color = values.visuals.world["smoke radius"].Color
end
end)
end
end)
if RayIgnore:FindFirstChild("Fires") then
RayIgnore:FindFirstChild("Fires").ChildAdded:Connect(function(fire)
if values.visuals.world["molly radius"].Toggle then
fire.Transparency = values.visuals.world["molly
radius"].Transparency
fire.Color = values.visuals.world["molly radius"].Color
end
end)
end
if RayIgnore:FindFirstChild("Smokes") then
for _,smoke in pairs(RayIgnore:FindFirstChild("Smokes"):GetChildren()) do
local OriginalRate = INST("NumberValue")
OriginalRate.Value = smoke.ParticleEmitter.Rate
OriginalRate.Name = "OriginalRate"
OriginalRate.Parent = smoke
smoke.Material = Enum.Material.ForceField
end
RayIgnore:FindFirstChild("Smokes").ChildAdded:Connect(function(smoke)
RunService.RenderStepped:Wait()
local OriginalRate = INST("NumberValue")
OriginalRate.Value = smoke.ParticleEmitter.Rate
OriginalRate.Name = "OriginalRate"
OriginalRate.Parent = smoke
if TBLFIND(values.visuals.effects.removals.Jumbobox, "smokes") then
smoke.ParticleEmitter.Rate = 0
end
smoke.Material = Enum.Material.ForceField
if values.visuals.world["smoke radius"].Toggle then
smoke.Transparency = 0
smoke.Color = values.visuals.world["smoke radius"].Color
end
end)
end
Camera.ChildAdded:Connect(function(obj)
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "ammo") then
Client.ammocount = 999999
Client.primarystored = 999999
Client.ammocount2 = 999999
Client.secondarystored = 999999
end
RunService.RenderStepped:Wait()
if obj.Name ~= "Arms" then return end
local Model
for i,v in pairs(obj:GetChildren()) do
if v:IsA("Model") and (v:FindFirstChild("Right Arm") or
v:FindFirstChild("Left Arm")) then
Model = v
end
end
if Model == nil then return end
for i,v in pairs(obj:GetChildren()) do
if (v:IsA("BasePart") or v:IsA("Part")) and v.Transparency ~= 1 and
v.Name ~= "Flash" then
local valid = true
if v:IsA("Part") and v:FindFirstChild("Mesh") and not
v:IsA("BlockMesh") then
valid = false
local success, err = pcall(function()
local OriginalTexture = INST("StringValue")
OriginalTexture.Value = v.Mesh.TextureId
OriginalTexture.Name = "OriginalTexture"
OriginalTexture.Parent = v.Mesh
end)
local success2, err2 = pcall(function()
local OriginalTexture = INST("StringValue")
OriginalTexture.Value = v.Mesh.TextureID
OriginalTexture.Name = "OriginalTexture"
OriginalTexture.Parent = v.Mesh
end)
if success or success2 then valid = true end
end
if valid then
INSERT(WeaponObj, v)
end
end
end
workspace:FindFirstChild("Map"):FindFirstChild("Killers"):Destroy()
end
end
if oldSkybox ~= nil then
oldSkybox:Destroy()
oldSkybox = nil
end
local Origin = workspace.Map:WaitForChild("Origin")
if workspace.Map.Origin.Value == "de_cache" or
workspace.Map.Origin.Value == "de_vertigo" or workspace.Map.Origin.Value ==
"de_nuke" or workspace.Map.Origin.Value == "de_aztec" then
oldSkybox = Lighting:FindFirstChildOfClass("Sky"):Clone()
ChangeCharacter(ChrModels:FindFirstChild(values.skins.characters.skin.Scroll))
end
if char:FindFirstChildOfClass("Shirt") then
local String = INST("StringValue")
String.Name = "OriginalTexture"
String.Value = char:FindFirstChildOfClass("Shirt").ShirtTemplate
String.Parent = char:FindFirstChildOfClass("Shirt")
if values.misc.animations.enabled.Toggle and
values.misc.animations.enabled.Active then
LoadedAnim = LocalPlayer.Character.Humanoid:LoadAnimation(Dance)
LoadedAnim.Priority = Enum.AnimationPriority.Action
LoadedAnim:Play()
end
end)
if LocalPlayer.Character ~= nil then
for i,v in pairs(LocalPlayer.Character:GetChildren()) do
if v:IsA("BasePart") and v.Transparency ~= 1 then
INSERT(SelfObj, v)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Color
Color.Parent = v
if values.visuals.players.chams.Toggle then
if values.visuals.players.teammates.Toggle or
Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = values.visuals.players.chams.Color
end
end
end
end)
Player.CharacterAdded:Connect(function(Character)
Character.ChildAdded:Connect(function(obj)
wait(1)
CollisionTBL(obj)
end)
wait(1)
if Character ~= nil then
local Value = INST("Vector3Value")
Value.Name = "OldPosition"
Value.Value = Character.HumanoidRootPart.Position
Value.Parent = Character.HumanoidRootPart
for _,obj in pairs(Character:GetChildren()) do
if obj:IsA("BasePart") and Player ~= LocalPlayer and
obj.Name ~= "HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and
obj.Name ~= "HeadHB" then
local VisibleCham = INST("BoxHandleAdornment")
VisibleCham.Name = "VisibleCham"
VisibleCham.AlwaysOnTop = false
VisibleCham.ZIndex = 8
VisibleCham.Size = obj.Size + Vec3(0.1,0.1,0.1)
VisibleCham.AlwaysOnTop = false
VisibleCham.Transparency = 0
if values.visuals.players.chams.Toggle then
if values.visuals.players.teammates.Toggle or
Player.Team ~= LocalPlayer.Team then
VisibleCham.Visible = true
WallCham.Visible = true
else
VisibleCham.Visible = false
WallCham.Visible = false
end
else
VisibleCham.Visible = false
WallCham.Visible = false
end
INSERT(ChamItems, VisibleCham)
INSERT(ChamItems, WallCham)
VisibleCham.Color3 =
values.visuals.players.chams.Color
WallCham.Color3 = values.visuals.players.chams.Color
VisibleCham.AdornCullingMode = "Never"
WallCham.AdornCullingMode = "Never"
VisibleCham.Adornee = obj
VisibleCham.Parent = obj
WallCham.Adornee = obj
WallCham.Parent = obj
end
end
end
end)
end)
for _,Player in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer then
Player:GetPropertyChangedSignal("Team"):Connect(function(new)
wait()
if Player.Character and
Player.Character:FindFirstChild("HumanoidRootPart") then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "VisibleCham" or Obj.Name ==
"WallCham" then
if values.visuals.players.chams.Toggle then
if
values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = values.visuals.players.chams.Color
end
end
end
end)
else
LocalPlayer:GetPropertyChangedSignal("Team"):Connect(function(new)
wait()
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character then
for _2,Obj in
pairs(Player.Character:GetDescendants()) do
if Obj.Name == "VisibleCham" or Obj.Name ==
"WallCham" then
if values.visuals.players.chams.Toggle
then
if
values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 =
values.visuals.players.chams.Color
end
end
end
end
end)
end
Player.CharacterAdded:Connect(function(Character)
Character.ChildAdded:Connect(function(obj)
wait(1)
CollisionTBL(obj)
end)
wait(1)
if Player.Character ~= nil and
Player.Character:FindFirstChild("HumanoidRootPart") then
local Value = INST("Vector3Value")
Value.Value = Player.Character.HumanoidRootPart.Position
Value.Name = "OldPosition"
Value.Parent = Player.Character.HumanoidRootPart
for _,obj in pairs(Player.Character:GetChildren()) do
if obj:IsA("BasePart") and Player ~= LocalPlayer and
obj.Name ~= "HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and
obj.Name ~= "HeadHB" then
local VisibleCham = INST("BoxHandleAdornment")
VisibleCham.Name = "VisibleCham"
VisibleCham.AlwaysOnTop = false
VisibleCham.ZIndex = 5
VisibleCham.Size = obj.Size + Vec3(0.1,0.1,0.1)
VisibleCham.AlwaysOnTop = false
VisibleCham.Transparency = 0
if values.visuals.players.chams.Toggle then
if values.visuals.players.teammates.Toggle or
Player.Team ~= LocalPlayer.Team then
VisibleCham.Visible = true
WallCham.Visible = true
else
VisibleCham.Visible = false
WallCham.Visible = false
end
else
VisibleCham.Visible = false
WallCham.Visible = false
end
INSERT(ChamItems, VisibleCham)
INSERT(ChamItems, WallCham)
VisibleCham.Color3 =
values.visuals.players.chams.Color
WallCham.Color3 = values.visuals.players.chams.Color
VisibleCham.AdornCullingMode = "Never"
WallCham.AdornCullingMode = "Never"
VisibleCham.Adornee = obj
VisibleCham.Parent = obj
WallCham.Adornee = obj
WallCham.Parent = obj
end
end
end
end)
if Player.Character ~= nil and Player.Character:FindFirstChild("UpperTorso")
then
local Value = INST("Vector3Value")
Value.Name = "OldPosition"
Value.Value = Player.Character.HumanoidRootPart.Position
Value.Parent = Player.Character.HumanoidRootPart
for _,obj in pairs(Player.Character:GetChildren()) do
CollisionTBL(obj)
if obj:IsA("BasePart") and Player ~= LocalPlayer and obj.Name ~=
"HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and obj.Name ~=
"HeadHB" then
local VisibleCham = INST("BoxHandleAdornment")
VisibleCham.Name = "VisibleCham"
VisibleCham.AlwaysOnTop = false
VisibleCham.ZIndex = 5
VisibleCham.Size = obj.Size + Vec3(0.1,0.1,0.1)
VisibleCham.AlwaysOnTop = false
VisibleCham.Transparency = 0
if values.visuals.players.chams.Toggle then
if values.visuals.players.teammates.Toggle or
Player.Team ~= LocalPlayer.Team then
VisibleCham.Visible = true
WallCham.Visible = true
else
VisibleCham.Visible = false
WallCham.Visible = false
end
else
VisibleCham.Visible = false
WallCham.Visible = false
end
INSERT(ChamItems, VisibleCham)
INSERT(ChamItems, WallCham)
VisibleCham.Color3 = values.visuals.players.chams.Color
WallCham.Color3 = values.visuals.players.chams.Color
VisibleCham.AdornCullingMode = "Never"
WallCham.AdornCullingMode = "Never"
VisibleCham.Adornee = obj
VisibleCham.Parent = obj
WallCham.Adornee = obj
WallCham.Parent = obj
end
end
end
end