Run it
Copy the script and paste it into your executor.
().values = {}
library = {}
Signal = (:())()
ConfigSave = Signal.()
ConfigLoad = Signal.()
txt = :()
TweenService = :()
library:(...) TweenService:(...):()
cfglocation =
()
(rgb)
{R = rgb.R, G = rgb.G, B = rgb.B}
(tbl)
.(tbl.R, tbl.G, tbl.B)
(original)
copy = {}
k, v (original)
(v) ==
v = (v)
copy[k] = v
copy
library:(cfg)
copy = :():((cfglocation..cfg..))
i,Tabs (copy)
i,Sectors (Tabs)
i,Elements (Sectors)
Elements.Color ~=
a = Elements.Color
Elements.Color = (a)
copy
library:(cfg)
copy = (values)
i,Tabs (copy)
i,Sectors (Tabs)
i,Elements (Sectors)
Elements.Color ~=
Elements.Color = {R=Elements.Color.R, G=Elements.Color.G, B=Elements.Color.B}
(cfglocation..cfg.., :():(copy))
library:(name)
menu = {}
Aristois = .()
Menu = .()
TextLabel = .()
TabButtons = .()
UIListLayout = .()
Tabs = .()
Aristois.Name =
Aristois.ResetOnSpawn =
Aristois.ZIndexBehavior =
Aristois.DisplayOrder =
UIScale = .()
UIScale.Parent = Aristois
menu:(scale)
UIScale.Scale = scale
but = .()
but.Modal =
but.Text =
but.BackgroundTransparency =
but.Parent = Aristois
cursor = .()
cursor.Name =
cursor.Parent = Aristois
cursor.BackgroundTransparency =
cursor.Size = .(,,,)
cursor.Image =
cursor.ZIndex =
cursor.ImageColor3 = .(,,)
Players = :()
LocalPlayer = Players.LocalPlayer
Mouse = LocalPlayer:()
:().RenderStepped:(()
cursor.Visible = Aristois.Enabled
cursor.Position = .(,Mouse.X-,,Mouse.Y+)
)
Menu.Name =
Menu.Parent = Aristois
Menu.BackgroundColor3 = .(, , )
Menu.Position = .(, -, , -)
Menu.Size = .(, , , )
Menu.Image =
library.uiopen =
:().InputBegan:((key)
key.KeyCode == .KeyCode.Insert
Aristois.Enabled = Aristois.Enabled
library.uiopen = Aristois.Enabled
)
KeybindList = .()
TextLabel = .()
Frame = .()
UIListLayout = .()
KeybindList.Name =
KeybindList.ZIndexBehavior = .ZIndexBehavior.Global
KeybindList.Enabled =
TextLabel.Parent = KeybindList
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BorderColor3 = .(, , )
TextLabel.Position = .(, , , )
TextLabel.Size = .(, , , )
TextLabel.ZIndex =
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text =
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
Frame.Parent = TextLabel
Frame.BackgroundColor3 = .(, , )
Frame.BackgroundTransparency =
Frame.Position = .(, , , )
Frame.Size = .(, , , )
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout.SortOrder = .SortOrder.LayoutOrder
KeybindList.Parent = .CoreGui
(text)
KeybindList.TextLabel.Frame:(text)
TextLabel = .()
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BorderColor3 = .(, , )
TextLabel.BorderSizePixel =
TextLabel.Size = .(, , , )
TextLabel.ZIndex =
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
TextLabel.Name = text
TextLabel.Parent = KeybindList.TextLabel.Frame
(text)
KeybindList.TextLabel.Frame:(text)
KeybindList.TextLabel.Frame:(text):()
library:(Joe)
KeybindList.Enabled = Joe
library.dragging =
UserInputService = :()
a = Menu
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
a.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
a.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
library.dragging =
dragStart = input.Position
startPos = a.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
library.dragging =
)
)
a.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput library.dragging
(input)
)
TextLabel.Parent = Menu
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BackgroundTransparency =
TextLabel.Position = .(, , , )
TextLabel.Size = .(, , , )
TextLabel.Size = .(, txt:(name, , .Font.SourceSansSemibold, .(, TextLabel.AbsoluteSize.Y)).X, , )
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text = name
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
TextLabel.TextXAlignment = .TextXAlignment.Left
TabButtons.Name =
TabButtons.Parent = Menu
TabButtons.BackgroundColor3 = .(, , )
TabButtons.BackgroundTransparency =
TabButtons.Position = .(TextLabel.Size.X.Scale, TextLabel.Size.X.Offset+, , )
TabButtons.Size = .(TextLabel.Size.X.Scale, -TextLabel.Size.X.Offset, , )
UIListLayout.Parent = TabButtons
UIListLayout.FillDirection = .FillDirection.Horizontal
UIListLayout.SortOrder = .SortOrder.LayoutOrder
UIListLayout.VerticalAlignment = .VerticalAlignment.Center
Tabs.Name =
Tabs.Parent = Menu
Tabs.BackgroundColor3 = .(, , )
Tabs.BackgroundTransparency =
Tabs.Position = .(, , , )
Tabs.Size = .(, , , )
first =
currenttab
menu:(text)
tabname
tabname = text
Tab = {}
values[tabname] = {}
TextButton = .()
TextButton.BackgroundColor3 = .(, , )
TextButton.BackgroundTransparency =
TextButton.Size = .(, txt:(text, , .Font.SourceSansSemibold, .(,)).X+, , )
TextButton.Font = .Font.SourceSansSemibold
TextButton.Text = text
TextButton.TextColor3 = .(, , )
TextButton.TextSize =
TextButton.Parent = TabButtons
TabGui = .()
Left = .()
UIListLayout = .()
Right = .()
UIListLayout_2 = .()
TabGui.Name =
TabGui.Parent = Tabs
TabGui.BackgroundColor3 = .(, , )
TabGui.BackgroundTransparency =
TabGui.Size = .(, , , )
TabGui.Visible =
Left.Name =
Left.Parent = TabGui
Left.BackgroundColor3 = .(, , )
Left.BackgroundTransparency =
Left.Position = .(, , , )
Left.Size = .(, , , )
UIListLayout.Parent = Left
UIListLayout.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout.SortOrder = .SortOrder.LayoutOrder
UIListLayout.Padding = .(, )
Right.Name =
Right.Parent = TabGui
Right.BackgroundColor3 = .(, , )
Right.BackgroundTransparency =
Right.Position = .(, , , )
Right.Size = .(, , , )
UIListLayout_2.Parent = Right
UIListLayout_2.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout_2.SortOrder = .SortOrder.LayoutOrder
UIListLayout_2.Padding = .(, )
first
TextButton.TextColor3 = .(, , )
currenttab = text
TabGui.Visible =
first =
TextButton.MouseButton1Down:(()
currenttab ~= text
i,v (TabButtons:())
v:()
library:(v, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
i,v (Tabs:())
v.Visible =
library:(TextButton, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
currenttab = text
TabGui.Visible =
)
Tab:(text, side)
sectorname = text
MSector = {}
values[tabname][text] = {}
Section = .()
SectionText = .()
Inner = .()
sectiontabs = .()
UIListLayout_2 = .()
Section.Name =
Section.Parent = TabGui[side]
Section.BackgroundColor3 = .(, , )
Section.BorderColor3 = .(, , )
Section.BorderSizePixel =
Section.Size = .(, , , )
SectionText.Name =
SectionText.Parent = Section
SectionText.BackgroundColor3 = .(, , )
SectionText.BackgroundTransparency =
SectionText.Position = .(, , , -)
SectionText.Size = .(, , , )
SectionText.ZIndex =
SectionText.Font = .Font.SourceSansSemibold
SectionText.Text = text
SectionText.TextColor3 = .(, , )
SectionText.TextSize =
SectionText.TextXAlignment = .TextXAlignment.Left
Inner.Name =
Inner.Parent = Section
Inner.BackgroundColor3 = .(, , )
Inner.BorderColor3 = .(, , )
Inner.BorderSizePixel =
Inner.Position = .(, , , )
Inner.Size = .(, -, , -)
sectiontabs.Name =
sectiontabs.Parent = Section
sectiontabs.BackgroundColor3 = .(, , )
sectiontabs.BackgroundTransparency =
sectiontabs.Position = .(, , , )
sectiontabs.Size = .(, , , )
UIListLayout_2.Parent = sectiontabs
UIListLayout_2.FillDirection = .FillDirection.Horizontal
UIListLayout_2.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout_2.SortOrder = .SortOrder.LayoutOrder
UIListLayout_2.Padding = .(,)
firs =
selected
MSector:(text)
tab = {}
values[tabname][sectorname][text] = {}
tabtext = text
tabsize = .(, , , )
tab1 = .()
UIPadding = .()
UIListLayout = .()
TextButton = .()
tab1.Name = text
tab1.Parent = Inner
tab1.BackgroundColor3 = .(, , )
tab1.BorderColor3 = .(, , )
tab1.BorderSizePixel =
tab1.Position = .(, , , )
tab1.Size = .(, , , -)
tab1.Name = text
tab1.Visible =
UIPadding.Parent = tab1
UIPadding.PaddingTop = .(, )
UIListLayout.Parent = tab1
UIListLayout.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout.SortOrder = .SortOrder.LayoutOrder
UIListLayout.Padding = .(, )
TextButton.Parent = sectiontabs
TextButton.BackgroundColor3 = .(, , )
TextButton.BackgroundTransparency =
TextButton.Size = .(, txt:(text, , .Font.SourceSansSemibold, .(,)).X + , , )
TextButton.Font = .Font.SourceSansSemibold
TextButton.Text = text
TextButton.TextColor3 = .(, , )
TextButton.TextSize =
TextButton.Name = text
TextButton.MouseButton1Down:(()
i,v (Inner:())
v.Visible =
i,v (sectiontabs:())
v:()
library:(v, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(,,)})
Section.Size = tabsize
tab1.Visible =
library:(TextButton, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
)
tab:(, text, data, callback)
Element = {}
data = data {}
callback = callback ()
values[tabname][sectorname][tabtext][text] = {}
==
tabsize = tabsize + .(,,, )
Element.value = {Jumbobox = {}}
data.options = data.options {}
Dropdown = .()
Button = .()
TextLabel = .()
Drop = .()
Button_2 = .()
TextLabel_2 = .()
UIListLayout = .()
ImageLabel = .()
TextLabel_3 = .()
Dropdown.Name =
Dropdown.Parent = tab1
Dropdown.BackgroundColor3 = .(, , )
Dropdown.BackgroundTransparency =
Dropdown.Position = .(, , , )
Dropdown.Size = .(, , , )
Button.Name =
Button.Parent = Dropdown
Button.BackgroundColor3 = .(, , )
Button.BorderColor3 = .(, , )
Button.Position = .(, , , )
Button.Size = .(, , , )
Button.AutoButtonColor =
Button.Font = .Font.SourceSans
Button.Text =
Button.TextColor3 = .(, , )
Button.TextSize =
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BackgroundTransparency =
TextLabel.BorderColor3 = .(, , )
TextLabel.Position = .(, , , )
TextLabel.Size = .(-, , , )
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text =
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
TextLabel.TextXAlignment = .TextXAlignment.Left
abcd = TextLabel
Drop.Name =
Drop.Parent = Button
Drop.Active =
Drop.BackgroundColor3 = .(, , )
Drop.BorderColor3 = .(, , )
Drop.Position = .(, , , )
Drop.Size = .(, , , )
Drop.Visible =
Drop.BottomImage =
Drop.CanvasSize = .(, , , )
Drop.ScrollBarThickness =
Drop.TopImage =
Drop.MidImage =
Drop.AutomaticCanvasSize =
Drop.ZIndex =
Drop.ScrollBarImageColor3 = .(, , )
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout.SortOrder = .SortOrder.LayoutOrder
values[tabname][sectorname][tabtext][text] = Element.value
num = #data.options
num >
Drop.Size = .(, , , )
Drop.Size = .(, , , *num)
first =
()
old = {}
i,v (data.options)
.(Element.value.Jumbobox, v)
.(old, v)
str =
#old ==
str =
#old ==
str = old[]
i,v (old)
i ==
str = v
i >
i <
str = str..
str = str....v
abcd.Text = str
i,v (data.options)
Button = .()
TextLabel = .()
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = .(, , )
Button.BorderColor3 = .(, , )
Button.Position = .(, , , )
Button.Size = .(, , , )
Button.AutoButtonColor =
Button.Font = .Font.SourceSans
Button.Text =
Button.TextColor3 = .(, , )
Button.TextSize =
Button.BorderSizePixel =
Button.ZIndex =
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BackgroundTransparency =
TextLabel.BorderColor3 = .(, , )
TextLabel.Position = .(, , , -)
TextLabel.Size = .(-, , , )
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
TextLabel.TextXAlignment = .TextXAlignment.Left
TextLabel.ZIndex =
Button.MouseButton1Down:(()
.(Element.value.Jumbobox, v)
i,a (Element.value.Jumbobox)
a == v
.(Element.value.Jumbobox, i)
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
.(Element.value.Jumbobox, v)
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
()
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
)
Button.MouseEnter:(()
.(Element.value.Jumbobox, v)
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
)
Button.MouseLeave:(()
.(Element.value.Jumbobox, v)
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
)
first =
Element:(val)
Element.value = val
i,v (Drop:())
v.Name ~=
.(val.Jumbobox, v.Name)
v.TextLabel.TextColor3 = .(, , )
v.TextLabel.TextColor3 = .(, , )
()
values[tabname][sectorname][tabtext][text] = Element.value
(val)
data.default
Element:(data.default)
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = .(, , )
ImageLabel.BackgroundTransparency =
ImageLabel.Position = .(, , , )
ImageLabel.Size = .(, , , )
ImageLabel.Image =
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = .(, , )
TextLabel_3.BackgroundTransparency =
TextLabel_3.Position = .(, , , -)
TextLabel_3.Size = .(, , , )
TextLabel_3.Font = .Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = .(, , )
TextLabel_3.TextSize =
TextLabel_3.TextXAlignment = .TextXAlignment.Left
Button.MouseButton1Down:(()
Drop.Visible = Drop.Visible
Drop.Visible
Drop.CanvasPosition = .(,)
)
indrop =
ind =
Drop.MouseEnter:(()
indrop =
)
Drop.MouseLeave:(()
indrop =
)
Button.MouseEnter:(()
ind =
)
Button.MouseLeave:(()
ind =
)
:().InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.MouseButton2
Drop.Visible == indrop ind
Drop.Visible =
Drop.CanvasPosition = .(,)
)
==
==
tabsize = tabsize + .(,,,)
Element.value = {Toggle = data.default data.default.Toggle , Key, Type = , Active = }
Toggle = .()
Button = .()
Color = .()
TextLabel = .()
Toggle.Name =
Toggle.Parent = tab1
Toggle.BackgroundColor3 = .(, , )
Toggle.BackgroundTransparency =
Toggle.Size = .(, , , )
Button.Name =
Button.Parent = Toggle
Button.BackgroundColor3 = .(, , )
Button.BackgroundTransparency =
Button.Size = .(, , , )
Button.Font = .Font.SourceSans
Button.Text =
Button.TextColor3 = .(, , )
Button.TextSize =
Color.Name =
Color.Parent = Button
Color.BackgroundColor3 = .(, , )
Color.BorderColor3 = .(, , )
Color.Position = .(, , , -)
Color.Size = .(, , , )
binding =
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BackgroundTransparency =
TextLabel.Position = .(, , , -)
TextLabel.Size = .(, , , )
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
TextLabel.TextXAlignment = .TextXAlignment.Left
()
Element.value.Toggle
tween = library:(Color, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {BackgroundColor3 = .(, , )})
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
(text)
tween = library:(Color, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {BackgroundColor3 = .(, , )})
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
Button.MouseButton1Down:(()
binding
Element.value.Toggle = Element.value.Toggle
()
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
)
data.default
()
values[tabname][sectorname][tabtext][text] = Element.value
Keybind = .()
Frame = .()
Always = .()
UIListLayout = .()
Hold = .()
Toggle = .()
Keybind.Name =
Keybind.Parent = Button
Keybind.BackgroundColor3 = .(, , )
Keybind.BorderColor3 = .(, , )
Keybind.Position = .(, , , -)
Keybind.Text =
Keybind.Size = .(, , , )
Keybind.Size = .(,txt:(, , .Font.SourceSansSemibold, .(, )).X + ,, )
Keybind.AutoButtonColor =
Keybind.Font = .Font.SourceSansSemibold
Keybind.TextColor3 = .(, , )
Keybind.TextSize =
Keybind.AnchorPoint = .(,)
Keybind.ZIndex =
Frame.Parent = Keybind
Frame.BackgroundColor3 = .(, , )
Frame.BorderColor3 = .(, , )
Frame.Position = .(, -, , )
Frame.Size = .(, , , )
Frame.Visible =
Frame.ZIndex =
Always.Name =
Always.Parent = Frame
Always.BackgroundColor3 = .(, , )
Always.BackgroundTransparency =
Always.BorderColor3 = .(, , )
Always.Position = .(-, , , -)
Always.Size = .(, , , )
Always.AutoButtonColor =
Always.Font = .Font.SourceSansBold
Always.Text =
Always.TextColor3 = .(, , )
Always.TextSize =
Always.ZIndex =
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout.SortOrder = .SortOrder.LayoutOrder
Hold.Name =
Hold.Parent = Frame
Hold.BackgroundColor3 = .(, , )
Hold.BackgroundTransparency =
Hold.BorderColor3 = .(, , )
Hold.Position = .(-, , , -)
Hold.Size = .(, , , )
Hold.AutoButtonColor =
Hold.Font = .Font.SourceSansSemibold
Hold.Text =
Hold.TextColor3 = .(, , )
Hold.TextSize =
Hold.ZIndex =
Toggle.Name =
Toggle.Parent = Frame
Toggle.BackgroundColor3 = .(, , )
Toggle.BackgroundTransparency =
Toggle.BorderColor3 = .(, , )
Toggle.Position = .(-, , , -)
Toggle.Size = .(, , , )
Toggle.AutoButtonColor =
Toggle.Font = .Font.SourceSansSemibold
Toggle.Text =
Toggle.TextColor3 = .(, , )
Toggle.TextSize =
Toggle.ZIndex =
_,button (Frame:())
button:()
button.MouseButton1Down:(()
Element.value.Type = button.Text
Frame.Visible =
Element.value.Active = Element.value.Type ==
Element.value.Type ==
(text)
_,button (Frame:())
button:() button.Text ~= Element.value.Type
button.Font = .Font.SourceSansSemibold
library:(button, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(,,)})
button.Font = .Font.SourceSansBold
button.TextColor3 = .(, , )
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
)
button.MouseEnter:(()
Element.value.Type ~= button.Text
library:(button, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(,,)})
)
button.MouseLeave:(()
Element.value.Type ~= button.Text
library:(button, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(,,)})
)
Keybind.MouseButton1Down:(()
binding
()
binding =
Keybind.Text =
Keybind.Size = .(,txt:(, , .Font.SourceSansSemibold, .(, )).X + ,, )
)
Keybind.MouseButton2Down:(()
binding
Frame.Visible = Frame.Visible
)
Player = .Players.LocalPlayer
Mouse = Player:()
InFrame =
Frame.MouseEnter:(()
InFrame =
)
Frame.MouseLeave:(()
InFrame =
)
InFrame2 =
Keybind.MouseEnter:(()
InFrame2 =
)
Keybind.MouseLeave:(()
InFrame2 =
)
:().InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.MouseButton2 binding
Frame.Visible == InFrame InFrame2
Frame.Visible =
binding
binding =
Keybind.Text = input.KeyCode.Name ~= input.KeyCode.Name:() input.UserInputType.Name:()
Keybind.Size = .(,txt:(Keybind.Text, , .Font.SourceSansSemibold, .(, )).X + ,, )
Element.value.Key = input.KeyCode.Name ~= input.KeyCode.Name input.UserInputType.Name
input.KeyCode.Name ==
Keybind.Text =
Keybind.Size = .(,txt:(Keybind.Text, , .Font.SourceSansSemibold, .(, )).X + ,, )
Element.value.Key =
Element.value.Key ~=
.(Element.value.Key, )
input.UserInputType == .UserInputType[Element.value.Key]
Element.value.Type ==
Element.value.Active =
Element.value.Active Element.value.Toggle
(text)
(text)
Element.value.Type ==
Element.value.Active = Element.value.Active
Element.value.Active Element.value.Toggle
(text)
(text)
input.KeyCode == .KeyCode[Element.value.Key]
Element.value.Type ==
Element.value.Active =
Element.value.Active Element.value.Toggle
(text)
(text)
Element.value.Type ==
Element.value.Active = Element.value.Active
Element.value.Active Element.value.Toggle
(text)
(text)
Element.value.Active =
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
)
:().InputEnded:((input)
Element.value.Key ~=
.(Element.value.Key, )
input.UserInputType == .UserInputType[Element.value.Key]
Element.value.Type ==
Element.value.Active =
Element.value.Active Element.value.Toggle
(text)
(text)
input.KeyCode == .KeyCode[Element.value.Key]
Element.value.Type ==
Element.value.Active =
Element.value.Active Element.value.Toggle
(text)
(text)
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
)
Element:(value)
Element.value = value
()
==
tabsize = tabsize + .(,,,)
Element.value = {Toggle = data.default data.default.Toggle }
Toggle = .()
Button = .()
Color = .()
TextLabel = .()
Toggle.Name =
Toggle.Parent = tab1
Toggle.BackgroundColor3 = .(, , )
Toggle.BackgroundTransparency =
Toggle.Size = .(, , , )
Button.Name =
Button.Parent = Toggle
Button.BackgroundColor3 = .(, , )
Button.BackgroundTransparency =
Button.Size = .(, , , )
Button.Font = .Font.SourceSans
Button.Text =
Button.TextColor3 = .(, , )
Button.TextSize =
Color.Name =
Color.Parent = Button
Color.BackgroundColor3 = .(, , )
Color.BorderColor3 = .(, , )
Color.Position = .(, , , -)
Color.Size = .(, , , )
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BackgroundTransparency =
TextLabel.Position = .(, , , -)
TextLabel.Size = .(, , , )
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
TextLabel.TextXAlignment = .TextXAlignment.Left
()
Element.value.Toggle
tween = library:(Color, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {BackgroundColor3 = .(, , )})
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
tween = library:(Color, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {BackgroundColor3 = .(, , )})
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
values[tabname][sectorname][tabtext][text] = Element.value
Button.MouseButton1Down:(()
Element.value.Toggle = Element.value.Toggle
()
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
)
data.default
()
values[tabname][sectorname][tabtext][text] = Element.value
Element:(value)
Element.value = value
values[tabname][sectorname][tabtext][text] = Element.value
()
(Element.value)
==
tabsize = tabsize + .(,,,)
Element.value = {Toggle = data.default data.default.Toggle , Color = data.default data.default.Color .(,,)}
Toggle = .()
Button = .()
Color = .()
TextLabel = .()
Toggle.Name =
Toggle.Parent = tab1
Toggle.BackgroundColor3 = .(, , )
Toggle.BackgroundTransparency =
Toggle.Size = .(, , , )
Button.Name =
Button.Parent = Toggle
Button.BackgroundColor3 = .(, , )
Button.BackgroundTransparency =
Button.Size = .(, , , )
Button.Font = .Font.SourceSans
Button.Text =
Button.TextColor3 = .(, , )
Button.TextSize =
Color.Name =
Color.Parent = Button
Color.BackgroundColor3 = .(, , )
Color.BorderColor3 = .(, , )
Color.Position = .(, , , -)
Color.Size = .(, , , )
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BackgroundTransparency =
TextLabel.Position = .(, , , -)
TextLabel.Size = .(, , , )
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
TextLabel.TextXAlignment = .TextXAlignment.Left
()
Element.value.Toggle
tween = library:(Color, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {BackgroundColor3 = .(, , )})
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
tween = library:(Color, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {BackgroundColor3 = .(, , )})
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
ColorH,ColorS,ColorV
ColorP = .()
Frame = .()
Colorpick = .()
ColorDrag = .()
Huepick = .()
Huedrag = .()
ColorP.Name =
ColorP.Parent = Button
ColorP.AnchorPoint = .(, )
ColorP.BackgroundColor3 = .(, , )
ColorP.BorderColor3 = .(, , )
ColorP.Position = .(, , , -)
ColorP.Size = .(, , , )
ColorP.AutoButtonColor =
ColorP.Font = .Font.SourceSansSemibold
ColorP.Text =
ColorP.TextColor3 = .(, , )
ColorP.TextSize =
Frame.Parent = ColorP
Frame.BackgroundColor3 = .(, , )
Frame.BorderColor3 = .(, , )
Frame.Position = .(-, -, , )
Frame.Size = .(, , , )
Frame.Visible =
Frame.ZIndex =
Colorpick.Name =
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = .(, , )
Colorpick.BorderColor3 = .(, , )
Colorpick.ClipsDescendants =
Colorpick.Position = .(, , , )
Colorpick.Size = .(, , , )
Colorpick.AutoButtonColor =
Colorpick.Image =
Colorpick.ImageColor3 = .(, , )
Colorpick.ZIndex =
ColorDrag.Name =
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = .(, )
ColorDrag.BackgroundColor3 = .(, , )
ColorDrag.BorderColor3 = .(, , )
ColorDrag.Size = .(, , , )
ColorDrag.ZIndex =
Huepick.Name =
Huepick.Parent = Frame
Huepick.BackgroundColor3 = .(, , )
Huepick.BorderColor3 = .(, , )
Huepick.ClipsDescendants =
Huepick.Position = .(, , , )
Huepick.Size = .(, , , )
Huepick.AutoButtonColor =
Huepick.Image =
Huepick.ImageColor3 = .(, , )
Huepick.ImageTransparency =
Huepick.BackgroundTransparency =
Huepick.ZIndex =
HueFrameGradient = .()
HueFrameGradient.Rotation =
HueFrameGradient.Name =
HueFrameGradient.Parent = Huepick
HueFrameGradient.Color = ColorSequence. {
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
Huedrag.Name =
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = .(, , )
Huedrag.BorderColor3 = .(, , )
Huedrag.Size = .(, , , )
Huedrag.ZIndex =
ColorP.MouseButton1Down:(()
Frame.Visible = Frame.Visible
)
abc =
inCP =
ColorP.MouseEnter:(()
abc =
)
ColorP.MouseLeave:(()
abc =
)
Frame.MouseEnter:(()
inCP =
)
Frame.MouseLeave:(()
inCP =
)
ColorH = (.(Huedrag.AbsolutePosition.Y-Huepick.AbsolutePosition.Y, , Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = -(.(ColorDrag.AbsolutePosition.X-Colorpick.AbsolutePosition.X, , Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = -(.(ColorDrag.AbsolutePosition.Y-Colorpick.AbsolutePosition.Y, , Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
data.default.Color ~=
ColorH, ColorS, ColorV = data.default.Color:()
ColorH = .(ColorH,,)
ColorS = .(ColorS,,)
ColorV = .(ColorV,,)
ColorDrag.Position = .(-ColorS,,-ColorV,)
Colorpick.ImageColor3 = .(ColorH, , )
ColorP.BackgroundColor3 = .(ColorH, ColorS, ColorV)
Huedrag.Position = .(, , -ColorH, -)
mouse = :().LocalPlayer:()
:().InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.MouseButton2
dragging abc inCP
Frame.Visible =
)
()
ColorX = (.(mouse.X - Colorpick.AbsolutePosition.X, , Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorY = (.(mouse.Y - Colorpick.AbsolutePosition.Y, , Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorDrag.Position = .(ColorX, , ColorY, )
ColorS = -ColorX
ColorV = -ColorY
Colorpick.ImageColor3 = .(ColorH, , )
ColorP.BackgroundColor3 = .(ColorH, ColorS, ColorV)
values[tabname][sectorname][tabtext][text] = Element.value
Element.value.Color = .(ColorH, ColorS, ColorV)
(Element.value)
()
y = .(mouse.Y - Huepick.AbsolutePosition.Y, , )
Huedrag.Position = .(, , , y)
hue = y/
ColorH = -hue
Colorpick.ImageColor3 = .(ColorH, , )
ColorP.BackgroundColor3 = .(ColorH, ColorS, ColorV)
values[tabname][sectorname][tabtext][text] = Element.value
Element.value.Color = .(ColorH, ColorS, ColorV)
(Element.value)
Colorpick.MouseButton1Down:(()
()
moveconnection = mouse.Move:(()
()
)
releaseconnection = :().InputEnded:((Mouse)
Mouse.UserInputType == .UserInputType.MouseButton1
()
moveconnection:()
releaseconnection:()
)
)
Huepick.MouseButton1Down:(()
()
moveconnection = mouse.Move:(()
()
)
releaseconnection = :().InputEnded:((Mouse)
Mouse.UserInputType == .UserInputType.MouseButton1
()
moveconnection:()
releaseconnection:()
)
)
Button.MouseButton1Down:(()
Element.value.Toggle = Element.value.Toggle
()
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
)
data.default
()
values[tabname][sectorname][tabtext][text] = Element.value
Element:(value)
Element.value = value
duplicate = .(value.Color.R, value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:()
ColorH = .(ColorH,,)
ColorS = .(ColorS,,)
ColorV = .(ColorV,,)
ColorDrag.Position = .(-ColorS,,-ColorV,)
Colorpick.ImageColor3 = .(ColorH, , )
ColorP.BackgroundColor3 = .(ColorH, ColorS, ColorV)
()
Huedrag.Position = .(, , -ColorH, -)
==
tabsize = tabsize + .(,,,)
Element.value = {Toggle = data.default data.default.Toggle , Color = data.default data.default.Color .(,,), Transparency = data.default data.default.Transparency }
Toggle = .()
Button = .()
Color = .()
TextLabel = .()
Toggle.Name =
Toggle.Parent = tab1
Toggle.BackgroundColor3 = .(, , )
Toggle.BackgroundTransparency =
Toggle.Size = .(, , , )
Button.Name =
Button.Parent = Toggle
Button.BackgroundColor3 = .(, , )
Button.BackgroundTransparency =
Button.Size = .(, , , )
Button.Font = .Font.SourceSans
Button.Text =
Button.TextColor3 = .(, , )
Button.TextSize =
Color.Name =
Color.Parent = Button
Color.BackgroundColor3 = .(, , )
Color.BorderColor3 = .(, , )
Color.Position = .(, , , -)
Color.Size = .(, , , )
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BackgroundTransparency =
TextLabel.Position = .(, , , -)
TextLabel.Size = .(, , , )
TextLabel.Font = .Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
TextLabel.TextXAlignment = .TextXAlignment.Left
()
Element.value.Toggle
tween = library:(Color, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {BackgroundColor3 = .(, , )})
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
tween = library:(Color, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {BackgroundColor3 = .(, , )})
library:(TextLabel, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {TextColor3 = .(, , )})
values[tabname][sectorname][tabtext][text] = Element.value
(Element.value)
ColorH,ColorS,ColorV
ColorP = .()
Frame = .()
Colorpick = .()
ColorDrag = .()
Huepick = .()
Huedrag = .()
ColorP.Name =
ColorP.Parent = Button
ColorP.AnchorPoint = .(, )
ColorP.BackgroundColor3 = .(, , )
ColorP.BorderColor3 = .(, , )
ColorP.Position = .(, , , -)
ColorP.Size = .(, , , )
ColorP.AutoButtonColor =
ColorP.Font = .Font.SourceSansSemibold
ColorP.Text =
ColorP.TextColor3 = .(, , )
ColorP.TextSize =
Frame.Parent = ColorP
Frame.BackgroundColor3 = .(, , )
Frame.BorderColor3 = .(, , )
Frame.Position = .(-, -, , )
Frame.Size = .(, , , )
Frame.Visible =
Frame.ZIndex =
Colorpick.Name =
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = .(, , )
Colorpick.BorderColor3 = .(, , )
Colorpick.ClipsDescendants =
Colorpick.Position = .(, , , )
Colorpick.Size = .(, , , )
Colorpick.AutoButtonColor =
Colorpick.Image =
Colorpick.ImageColor3 = .(, , )
Colorpick.ZIndex =
ColorDrag.Name =
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = .(, )
ColorDrag.BackgroundColor3 = .(, , )
ColorDrag.BorderColor3 = .(, , )
ColorDrag.Size = .(, , , )
ColorDrag.ZIndex =
Huepick.Name =
Huepick.Parent = Frame
Huepick.BackgroundColor3 = .(, , )
Huepick.BorderColor3 = .(, , )
Huepick.ClipsDescendants =
Huepick.Position = .(, , , )
Huepick.Size = .(, , , )
Huepick.AutoButtonColor =
Huepick.Image =
Huepick.ImageColor3 = .(, , )
Huepick.ImageTransparency =
Huepick.BackgroundTransparency =
Huepick.ZIndex =
HueFrameGradient = .()
HueFrameGradient.Rotation =
HueFrameGradient.Name =
HueFrameGradient.Parent = Huepick
HueFrameGradient.Color = ColorSequence. {
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
}
Huedrag.Name =
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = .(, , )
Huedrag.BorderColor3 = .(, , )
Huedrag.Size = .(, , , )
Huedrag.ZIndex =
Transpick = .()
Transcolor = .()
Transdrag = .()
Transpick.Name =
Transpick.Parent = Frame
Transpick.BackgroundColor3 = .(, , )
Transpick.BorderColor3 = .(, , )
Transpick.Position = .(, , , )
Transpick.Size = .(, , , )
Transpick.AutoButtonColor =
Transpick.Image =
Transpick.ScaleType = .ScaleType.Tile
Transpick.TileSize = .(, , , )
Transpick.ZIndex =
Transcolor.Name =
Transcolor.Parent = Transpick
Transcolor.BackgroundColor3 = .(, , )
Transcolor.BackgroundTransparency =
Transcolor.Size = .(, , , )
Transcolor.Image =
Transcolor.ImageColor3 = .(, , )
Transcolor.ZIndex =
Transdrag.Name =
Transdrag.Parent = Transcolor
Transdrag.BackgroundColor3 = .(, , )
Transdrag.BorderColor3 = .(, , )
Transdrag.Position = .(, -, , )
Transdrag.Size = .(, , , )
Transdrag.ZIndex =
ColorP.MouseButton1Down:(()
Frame.Visible = Frame.Visible
)
abc =
inCP =
ColorP.MouseEnter:(()
abc =
)
ColorP.MouseLeave:(()
abc =
)
Frame.MouseEnter:(()
inCP =
)
Frame.MouseLeave:(()
inCP =
)
ColorH = (.(Huedrag.AbsolutePosition.Y-Huepick.AbsolutePosition.Y, , Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = -(.(ColorDrag.AbsolutePosition.X-Colorpick.AbsolutePosition.X, , Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = -(.(ColorDrag.AbsolutePosition.Y-Colorpick.AbsolutePosition.Y, , Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
data.default.Color ~=
ColorH, ColorS, ColorV = data.default.Color:()
ColorH = .(ColorH,,)
ColorS = .(ColorS,,)
ColorV = .(ColorV,,)
ColorDrag.Position = .(-ColorS,,-ColorV,)
Colorpick.ImageColor3 = .(ColorH, , )
Transcolor.ImageColor3 = .(ColorH, , )
ColorP.BackgroundColor3 = .(ColorH, ColorS, ColorV)
Huedrag.Position = .(, , -ColorH, -)
data.default.Transparency ~=
Transdrag.Position = .(data.default.Transparency, -, , )
mouse = :().LocalPlayer:()
:().InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.MouseButton2
dragging abc inCP
Frame.Visible =
)
()
ColorX = (.(mouse.X - Colorpick.AbsolutePosition.X, , Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorY = (.(mouse.Y - Colorpick.AbsolutePosition.Y, , Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorDrag.Position = .(ColorX, , ColorY, )
ColorS = -ColorX
ColorV = -ColorY
Colorpick.ImageColor3 = .(ColorH, , )
ColorP.BackgroundColor3 = .(ColorH, ColorS, ColorV)
Transcolor.ImageColor3 = .(ColorH, , )
values[tabname][sectorname][tabtext][text] = Element.value
Element.value.Color = .(ColorH, ColorS, ColorV)
(Element.value)
()
y = .(mouse.Y - Huepick.AbsolutePosition.Y, , )
Huedrag.Position = .(, , , y)
hue = y/
ColorH = -hue
Colorpick.ImageColor3 = .(ColorH, , )
Transcolor.ImageColor3 = .(ColorH, , )
ColorP.BackgroundColor3 = .(ColorH, ColorS, ColorV)
values[tabname][sectorname][tabtext][text] = Element.value
Element.value.Color = .(ColorH, ColorS, ColorV)
(Element.value)
local function updateTrans()
local x = math.clamp(mouse.X - Transpick.AbsolutePosition.X, 0, 178)
Transdrag.Position = UDim2.new(0, x, 0, 0)
Element.value.Transparency = (x/178)
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
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][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 = Color3.new(value.Color.R, value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = math.clamp(ColorH,0,1)
ColorS = math.clamp(ColorS,0,1)
ColorV = math.clamp(ColorV,0,1)
ColorDrag.Position = UDim2.new(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
update()
Huedrag.Position = UDim2.new(0, 0, 1-ColorH, -1)
end
elseif type == "Dropdown" then
tabsize = tabsize + UDim2.new(0,0,0,39)
Element.value = {Dropdown = data.options[1]}
local Dropdown = Instance.new("Frame")
local Button = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
local Drop = Instance.new("ScrollingFrame")
local Button_2 = Instance.new("TextButton")
local TextLabel_2 = Instance.new("TextLabel")
local UIListLayout = Instance.new("UIListLayout")
local ImageLabel = Instance.new("ImageLabel")
local TextLabel_3 = Instance.new("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = tab1
Dropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDim2.new(0, 0, 0.255102038, 0)
Dropdown.Size = UDim2.new(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 5, 0, 0)
TextLabel.Size = UDim2.new(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = Element.value.Dropdown
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Drop.BorderColor3 = Color3.fromRGB(35, 35, 35)
Drop.Position = UDim2.new(0, 0, 1, 1)
Drop.Size = UDim2.new(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDim2.new(0, 0, 0, 0)
Drop.ScrollBarThickness = 4
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 = Color3.fromRGB(255, 255, 255)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local num = #data.options
if num > 5 then
Drop.Size = UDim2.new(1, 0, 0, 85)
else
Drop.Size = UDim2.new(1, 0, 0, 17*num)
end
Drop.CanvasSize = UDim2.new(1, 0, 0, 17*num)
local first = true
for i,v in ipairs(data.options) do
do
local Button = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = Color3.fromRGB(33, 35, 47)
Button.BorderColor3 = Color3.fromRGB(27, 27, 35)
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Button.BorderSizePixel = 0
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 5, 0, -1)
TextLabel.Size = UDim2.new(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = Color3.fromRGB(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 = Vector2.new(0,0)
end)
Button.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(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 = Color3.fromRGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDim2.new(0, 165, 0, 6)
ImageLabel.Size = UDim2.new(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDim2.new(0, 32, 0, -1)
TextLabel_3.Size = UDim2.new(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = Color3.fromRGB(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 = Vector2.new(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 = Vector2.new(0,0)
end
end
end)
values[tabname][sectorname][tabtext][text] = Element.value
elseif type == "Slider" then
tabsize = tabsize + UDim2.new(0,0,0,25)
local Slider = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local Button = Instance.new("TextButton")
local Frame = Instance.new("Frame")
local UIGradient = Instance.new("UIGradient")
local Value = Instance.new("TextLabel")
Slider.Name = "Slider"
Slider.Parent = tab1
Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Slider.BackgroundTransparency = 1.000
Slider.Position = UDim2.new(0, 0, 0.653061211, 0)
Slider.Size = UDim2.new(1, 0, 0, 25)
TextLabel.Parent = Slider
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(0, 32, 0, -2)
TextLabel.Size = UDim2.new(0, 100, 0, 15)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Button.Name = "Button"
Button.Parent = Slider
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 15)
Button.Size = UDim2.new(0, 175, 0, 5)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Frame.Parent = Button
Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame.BorderSizePixel = 0
Frame.Size = UDim2.new(0.5, 0, 1, 0)
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(153, 153, 153)), ColorSequenceKeypoint.new(1, Color3.fromRGB(109, 109, 109))}
UIGradient.Rotation = 90
UIGradient.Parent = Frame
Value.Name = "Value"
Value.Parent = Slider
Value.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Value.BackgroundTransparency = 1.000
Value.Position = UDim2.new(0, 150, 0, -1)
Value.Size = UDim2.new(0, 55, 0, 15)
Value.Font = Enum.Font.SourceSansSemibold
Value.Text = "50"
Value.TextColor3 = Color3.fromRGB(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.new(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.new(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.new(0, math.clamp(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = math.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.new(0, math.clamp(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = math.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.new(0, math.clamp(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = math.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
tabsize = tabsize + UDim2.new(0,0,0,24)
local Button = Instance.new("Frame")
local Button_2 = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
Button.Name = "Button"
Button.Parent = tab1
Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Position = UDim2.new(0, 0, 0.236059487, 0)
Button.Size = UDim2.new(1, 0, 0, 24)
Button_2.Name = "Button"
Button_2.Parent = Button
Button_2.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button_2.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button_2.Position = UDim2.new(0, 30, 0.5, -9)
Button_2.Size = UDim2.new(0, 175, 0, 18)
Button_2.AutoButtonColor = false
Button_2.Font = Enum.Font.SourceSans
Button_2.Text = ""
Button_2.TextColor3 = Color3.fromRGB(0, 0, 0)
Button_2.TextSize = 14.000
TextLabel.Parent = Button_2
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Size = UDim2.new(1, 0, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
function Element:SetValue()
end
Button_2.MouseButton1Down:Connect(function()
TextLabel.TextColor3 = Color3.fromRGB(175, 175, 175)
library:Tween(TextLabel, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
callback()
end)
Button_2.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
end)
Button_2.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(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 = Color3.fromRGB(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 = Instance.new("Frame")
local SectionText = Instance.new("TextLabel")
local Inner = Instance.new("Frame")
local UIListLayout = Instance.new("UIListLayout")
Section.Name = "Section"
Section.Parent = TabGui[side]
Section.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Section.BorderColor3 = Color3.fromRGB(35, 35, 35)
Section.BorderSizePixel = 0
Section.Position = UDim2.new(0.00358422939, 0, 0, 0)
Section.Size = UDim2.new(1, 0, 0, 22)
SectionText.Name = "SectionText"
SectionText.Parent = Section
SectionText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SectionText.BackgroundTransparency = 1.000
SectionText.Position = UDim2.new(0, 7, 0, -12)
SectionText.Size = UDim2.new(0, 270, 0, 19)
SectionText.ZIndex = 2
SectionText.Font = Enum.Font.SourceSansSemibold
SectionText.Text = text
SectionText.TextColor3 = Color3.fromRGB(255, 255, 255)
SectionText.TextSize = 15.000
SectionText.TextXAlignment = Enum.TextXAlignment.Left
Inner.Name = "Inner"
Inner.Parent = Section
Inner.BackgroundColor3 = Color3.fromRGB(39, 39, 39)
Inner.BorderColor3 = Color3.fromRGB(35, 35, 35)
Inner.BorderSizePixel = 0
Inner.Position = UDim2.new(0, 1, 0, 1)
Inner.Size = UDim2.new(1, -2, 1, -2)
local UIPadding = Instance.new("UIPadding")
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)
function Sector:Element(type, text, data, callback)
local Element = {}
data = data or {}
callback = callback or function() end
values[tabname][sectorname][text] = {}
if type == "ScrollDrop" then
Section.Size = Section.Size + UDim2.new(0,0,0,39)
Element.value = {Scroll = {}, Dropdown = ""}
for i,v in pairs(data.options) do
Element.value.Scroll[i] = v[1]
end
local joe = {}
if data.alphabet then
local copy = {}
for i,v in pairs(data.options) do
table.insert(copy, i)
end
table.sort(copy, function(a,b)
return a < b
end)
joe = copy
else
for i,v in pairs(data.options) do
table.insert(joe, i)
end
end
local Dropdown = Instance.new("Frame")
local Button = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
local Drop = Instance.new("ScrollingFrame")
local Button_2 = Instance.new("TextButton")
local TextLabel_2 = Instance.new("TextLabel")
local UIListLayout = Instance.new("UIListLayout")
local ImageLabel = Instance.new("ImageLabel")
local TextLabel_3 = Instance.new("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDim2.new(0, 0, 0, 0)
Dropdown.Size = UDim2.new(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
local TextLabel = Instance.new("TextLabel")
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 5, 0, 0)
TextLabel.Size = UDim2.new(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = "lol"
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Drop.BorderColor3 = Color3.fromRGB(35, 35, 35)
Drop.Position = UDim2.new(0, 0, 1, 1)
Drop.Size = UDim2.new(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDim2.new(0, 0, 0, 0)
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 = Color3.fromRGB(255, 255, 255)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local amount = data.Amount or 6
Section.Size = Section.Size + UDim2.new(0,0,0,amount * 16 + 8)
local num = #joe
if num > 5 then
Drop.Size = UDim2.new(1, 0, 0, 85)
else
Drop.Size = UDim2.new(1, 0, 0, 17*num)
end
local first = true
for i,v in ipairs(joe) do
do
local joell = v
local Scroll = Instance.new("Frame")
local joe2 = data.options[v]
local Button = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Button.BorderSizePixel = 0
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 5, 0, -1)
TextLabel.Size = UDim2.new(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
Drop.Visible = false
Drop.CanvasPosition = Vector2.new(0,0)
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 = Color3.fromRGB(255, 255, 255)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
end)
if first then
abcd.Text = v
Element.value.Dropdown = v
end
local Frame = Instance.new("ScrollingFrame")
local UIListLayout = Instance.new("UIListLayout")
Scroll.Name = "Scroll"
Scroll.Parent = Dropdown
Scroll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Scroll.BackgroundTransparency = 1.000
Scroll.Position = UDim2.new(0, 0, 0, 0)
Scroll.Size = UDim2.new(1, 0, 0, amount * 16 + 8)
Scroll.Visible = first
Scroll.Name = v
Frame.Name = "Frame"
Frame.Parent = Scroll
Frame.Active = true
Frame.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Frame.BorderColor3 = Color3.fromRGB(35, 35, 35)
Frame.Position = UDim2.new(0, 30, 0, 40)
Frame.Size = UDim2.new(0, 175, 0, 16 * amount)
Frame.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Frame.CanvasSize = UDim2.new(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 = Color3.fromRGB(255, 255, 255)
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 = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
Button.Name = v
Button.Parent = Frame
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.BorderSizePixel = 0
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(1, 0, 0, 16)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 4, 0, -1)
TextLabel.Size = UDim2.new(1, 1, 1, 1)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
if joll then
joll = false
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
end
Button.MouseButton1Down:Connect(function()
for i,v in pairs(Frame:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v.TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
end
end
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
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 = Color3.fromRGB(255, 255, 255)})
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 = Color3.fromRGB(200, 200, 200)})
end
end)
end
first = false
end
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDim2.new(0, 165, 0, 6)
ImageLabel.Size = UDim2.new(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDim2.new(0, 32, 0, -1)
TextLabel_3.Size = UDim2.new(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = Color3.fromRGB(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 = Vector2.new(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 = Vector2.new(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 = Color3.fromRGB(200, 200, 200)
if bad.Name == Element.value.Scroll[v.Name] then
bad.TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
end
end
end
end
end
end
if data.default then
Element:SetValue(data.default)
end
values[tabname][sectorname][text] = Element.value
elseif type == "Scroll" then
local amount = data.Amount or 6
Section.Size = Section.Size + UDim2.new(0,0,0,amount * 16 + 8)
if data.alphabet then
table.sort(data.options, function(a,b)
return a < b
end)
end
Element.value = {Scroll = data.default and data.default.Scroll or data.options[1]}
local Scroll = Instance.new("Frame")
local Frame = Instance.new("ScrollingFrame")
local UIListLayout = Instance.new("UIListLayout")
Scroll.Name = "Scroll"
Scroll.Parent = Inner
Scroll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Scroll.BackgroundTransparency = 1.000
Scroll.Position = UDim2.new(0, 0, 00, 0)
Scroll.Size = UDim2.new(1, 0, 0, amount * 16 + 8)
Frame.Name = "Frame"
Frame.Parent = Scroll
Frame.Active = true
Frame.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Frame.BorderColor3 = Color3.fromRGB(35, 35, 35)
Frame.Position = UDim2.new(0, 30, 0, 0)
Frame.Size = UDim2.new(0, 175, 0, 16 * amount)
Frame.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Frame.CanvasSize = UDim2.new(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 = Color3.fromRGB(255, 255, 255)
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local first = true
for i,v in ipairs(data.options) do
local Button = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
Button.Name = v
Button.Parent = Frame
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.BorderSizePixel = 0
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(1, 0, 0, 16)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 4, 0, -1)
TextLabel.Size = UDim2.new(1, 1, 1, 1)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
if first then first = false
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
end
Button.MouseButton1Down:Connect(function()
for i,v in pairs(Frame:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v.TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
end
end
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
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 = Color3.fromRGB(255, 255, 255)})
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 = Color3.fromRGB(200, 200, 200)})
end
end)
end
function Element:SetValue(val)
Element.value = val
for i,v in pairs(Frame:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v.TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
end
end
library:Tween(Frame[Element.value.Scroll].TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end
values[tabname][sectorname][text] = Element.value
elseif type == "Jumbobox" then
Section.Size = Section.Size + UDim2.new(0,0,0,39)
Element.value = {Jumbobox = {}}
data.options = data.options or {}
local Dropdown = Instance.new("Frame")
local Button = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
local Drop = Instance.new("ScrollingFrame")
local Button_2 = Instance.new("TextButton")
local TextLabel_2 = Instance.new("TextLabel")
local UIListLayout = Instance.new("UIListLayout")
local ImageLabel = Instance.new("ImageLabel")
local TextLabel_3 = Instance.new("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDim2.new(0, 0, 0.255102038, 0)
Dropdown.Size = UDim2.new(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 5, 0, 0)
TextLabel.Size = UDim2.new(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = "..."
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Drop.BorderColor3 = Color3.fromRGB(35, 35, 35)
Drop.Position = UDim2.new(0, 0, 1, 1)
Drop.Size = UDim2.new(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDim2.new(0, 0, 0, 0)
Drop.ScrollBarThickness = 4
Drop.TopImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.MidImage = "http://www.roblox.com/asset/?id=6724808282"
--Drop.AutomaticCanvasSize = "Y"
for i,v in pairs(data.options) do
Drop.CanvasSize = Drop.CanvasSize + UDim2.new(0, 0, 0, 17)
end
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 255)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
values[tabname][sectorname][text] = Element.value
local num = #data.options
if num > 5 then
Drop.Size = UDim2.new(1, 0, 0, 85)
else
Drop.Size = UDim2.new(1, 0, 0, 17*num)
end
local first = true
local function updatetext()
local old = {}
for i,v in ipairs(data.options) do
if table.find(Element.value.Jumbobox, v) then
table.insert(old, v)
else
end
end
local str = ""
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 = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Button.BorderSizePixel = 0
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 5, 0, -1)
TextLabel.Size = UDim2.new(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
if table.find(Element.value.Jumbobox, v) then
for i,a in pairs(Element.value.Jumbobox) do
if a == v then
table.remove(Element.value.Jumbobox, i)
end
end
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
else
table.insert(Element.value.Jumbobox, v)
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(175, 175, 175)})
end
updatetext()
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if not table.find(Element.value.Jumbobox, v) then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
end
end)
Button.MouseLeave:Connect(function()
if not table.find(Element.value.Jumbobox, v) then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(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 table.find(val.Jumbobox, v.Name) then
v.TextLabel.TextColor3 = Color3.fromRGB(175, 175, 175)
else
v.TextLabel.TextColor3 = Color3.fromRGB(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 = Color3.fromRGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDim2.new(0, 165, 0, 6)
ImageLabel.Size = UDim2.new(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDim2.new(0, 32, 0, -1)
TextLabel_3.Size = UDim2.new(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = Color3.fromRGB(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 = Vector2.new(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 = Vector2.new(0,0)
end
end
end)
elseif type == "ToggleKeybind" then
Section.Size = Section.Size + UDim2.new(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Key, Type = "Always", Active = true}
local Toggle = Instance.new("Frame")
local Button = Instance.new("TextButton")
local Color = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDim2.new(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDim2.new(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Color.BorderColor3 = Color3.fromRGB(35, 35, 35)
Color.Position = UDim2.new(0, 15, 0.5, -5)
Color.Size = UDim2.new(0, 8, 0, 8)
local binding = false
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(0, 32, 0, -1)
TextLabel.Size = UDim2.new(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(155, 155, 155)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
else
keybindremove(text)
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(47, 47, 47)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end
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 = Instance.new("TextButton")
local Frame = Instance.new("Frame")
local Always = Instance.new("TextButton")
local UIListLayout = Instance.new("UIListLayout")
local Hold = Instance.new("TextButton")
local Toggle = Instance.new("TextButton")
Keybind.Name = "Keybind"
Keybind.Parent = Button
Keybind.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Keybind.BorderColor3 = Color3.fromRGB(35, 35, 35)
Keybind.Position = UDim2.new(0, 270, 0.5, -6)
Keybind.Text = "NONE"
Keybind.Size = UDim2.new(0, 43, 0, 12)
Keybind.Size = UDim2.new(0,txt:GetTextSize("NONE", 14, Enum.Font.SourceSansSemibold, Vector2.new(700, 12)).X + 5,0, 12)
Keybind.AutoButtonColor = false
Keybind.Font = Enum.Font.SourceSansSemibold
Keybind.TextColor3 = Color3.fromRGB(200, 200, 200)
Keybind.TextSize = 14.000
Keybind.AnchorPoint = Vector2.new(1,0)
Keybind.ZIndex = 3
Frame.Parent = Keybind
Frame.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Frame.BorderColor3 = Color3.fromRGB(35, 35, 35)
Frame.Position = UDim2.new(1, -49, 0, 1)
Frame.Size = UDim2.new(0, 49, 0, 49)
Frame.Visible = false
Frame.ZIndex = 3
Always.Name = "Always"
Always.Parent = Frame
Always.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Always.BackgroundTransparency = 1.000
Always.BorderColor3 = Color3.fromRGB(35, 35, 35)
Always.Position = UDim2.new(-3.03289485, 231, 0.115384616, -6)
Always.Size = UDim2.new(1, 0, 0, 16)
Always.AutoButtonColor = false
Always.Font = Enum.Font.SourceSansBold
Always.Text = "Always"
Always.TextColor3 = Color3.fromRGB(173, 173, 173)
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 = Color3.fromRGB(47, 47, 47)
Hold.BackgroundTransparency = 1.000
Hold.BorderColor3 = Color3.fromRGB(35, 35, 35)
Hold.Position = UDim2.new(-3.03289485, 231, 0.115384616, -6)
Hold.Size = UDim2.new(1, 0, 0, 16)
Hold.AutoButtonColor = false
Hold.Font = Enum.Font.SourceSansSemibold
Hold.Text = "Hold"
Hold.TextColor3 = Color3.fromRGB(200, 200, 200)
Hold.TextSize = 14.000
Hold.ZIndex = 3
Toggle.Name = "Toggle"
Toggle.Parent = Frame
Toggle.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Toggle.BackgroundTransparency = 1.000
Toggle.BorderColor3 = Color3.fromRGB(35, 35, 35)
Toggle.Position = UDim2.new(-3.03289485, 231, 0.115384616, -6)
Toggle.Size = UDim2.new(1, 0, 0, 16)
Toggle.AutoButtonColor = false
Toggle.Font = Enum.Font.SourceSansSemibold
Toggle.Text = "Toggle"
Toggle.TextColor3 = Color3.fromRGB(200, 200, 200)
Toggle.TextSize = 14.000
Toggle.ZIndex = 3
for _,button in pairs(Frame:GetChildren()) do
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
library:Tween(button, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200,200,200)})
end
end
button.Font = Enum.Font.SourceSansBold
button.TextColor3 = Color3.fromRGB(173, 24, 74)
values[tabname][sectorname][text] = Element.value
end)
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 = Color3.fromRGB(255,255,255)})
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 = Color3.fromRGB(200,200,200)})
end
end)
end
end
Keybind.MouseButton1Down:Connect(function()
if not binding then
wait()
binding = true
Keybind.Text = "..."
Keybind.Size = UDim2.new(0,txt:GetTextSize("...", 14, Enum.Font.SourceSansSemibold, Vector2.new(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.new(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.SourceSansSemibold, Vector2.new(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.new(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.SourceSansSemibold, Vector2.new(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 string.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
Element.value.Active = not Element.value.Active
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
Element.value.Active = not Element.value.Active
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 string.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.new(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false}
local Toggle = Instance.new("Frame")
local Button = Instance.new("TextButton")
local Color = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDim2.new(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDim2.new(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Color.BorderColor3 = Color3.fromRGB(35, 35, 35)
Color.Position = UDim2.new(0, 15, 0.5, -5)
Color.Size = UDim2.new(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(0, 32, 0, -1)
TextLabel.Size = UDim2.new(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(155, 155, 155)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(47, 47, 47)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
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
values[tabname][sectorname][text] = Element.value
update()
callback(Element.value)
end
elseif type == "ToggleColor" then
Section.Size = Section.Size + UDim2.new(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Color = data.default and data.default.Color or Color3.fromRGB(255,255,255)}
local Toggle = Instance.new("Frame")
local Button = Instance.new("TextButton")
local Color = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDim2.new(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDim2.new(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Color.BorderColor3 = Color3.fromRGB(35, 35, 35)
Color.Position = UDim2.new(0, 15, 0.5, -5)
Color.Size = UDim2.new(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(0, 32, 0, -1)
TextLabel.Size = UDim2.new(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(155, 155, 155)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(47, 47, 47)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
end
local ColorH,ColorS,ColorV
local ColorP = Instance.new("TextButton")
local Frame = Instance.new("Frame")
local Colorpick = Instance.new("ImageButton")
local ColorDrag = Instance.new("Frame")
local Huepick = Instance.new("ImageButton")
local Huedrag = Instance.new("Frame")
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vector2.new(1, 0)
ColorP.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
ColorP.BorderColor3 = Color3.fromRGB(35, 35, 35)
ColorP.Position = UDim2.new(0, 270, 0.5, -4)
ColorP.Size = UDim2.new(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.SourceSansSemibold
ColorP.Text = ""
ColorP.TextColor3 = Color3.fromRGB(200, 200, 200)
ColorP.TextSize = 14.000
Frame.Parent = ColorP
Frame.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Frame.BorderColor3 = Color3.fromRGB(35, 35, 35)
Frame.Position = UDim2.new(-0.666666687, -170, 1.375, 0)
Frame.Size = UDim2.new(0, 200, 0, 170)
Frame.Visible = false
Frame.ZIndex = 3
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Colorpick.BorderColor3 = Color3.fromRGB(35, 35, 35)
Colorpick.ClipsDescendants = false
Colorpick.Position = UDim2.new(0, 40, 0, 10)
Colorpick.Size = UDim2.new(0, 150, 0, 150)
Colorpick.AutoButtonColor = false
Colorpick.Image = "rbxassetid://4155801252"
Colorpick.ImageColor3 = Color3.fromRGB(255, 0, 0)
Colorpick.ZIndex = 3
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vector2.new(0.5, 0.5)
ColorDrag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ColorDrag.BorderColor3 = Color3.fromRGB(35, 35, 35)
ColorDrag.Size = UDim2.new(0, 4, 0, 4)
ColorDrag.ZIndex = 3
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Huepick.BorderColor3 = Color3.fromRGB(35, 35, 35)
Huepick.ClipsDescendants = false
Huepick.Position = UDim2.new(0, 10, 0, 10)
Huepick.Size = UDim2.new(0, 20, 0, 150)
Huepick.AutoButtonColor = false
Huepick.Image = "rbxassetid://3641079629"
Huepick.ImageColor3 = Color3.fromRGB(255, 0, 0)
Huepick.ImageTransparency = 1
Huepick.BackgroundTransparency = 0
Huepick.ZIndex = 3
local HueFrameGradient = Instance.new("UIGradient")
HueFrameGradient.Rotation = 90
HueFrameGradient.Name = "HueFrameGradient"
HueFrameGradient.Parent = Huepick
HueFrameGradient.Color = ColorSequence.new {
ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 0)),
ColorSequenceKeypoint.new(0.17, Color3.fromRGB(255, 0, 255)),
ColorSequenceKeypoint.new(0.33, Color3.fromRGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.50, Color3.fromRGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.67, Color3.fromRGB(0, 255, 0)),
ColorSequenceKeypoint.new(0.83, Color3.fromRGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))
}
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Huedrag.BorderColor3 = Color3.fromRGB(35, 35, 35)
Huedrag.Size = UDim2.new(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 = (math.clamp(Huedrag.AbsolutePosition.Y-Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(math.clamp(ColorDrag.AbsolutePosition.X-Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(math.clamp(ColorDrag.AbsolutePosition.Y-Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
if data.default and data.default.Color ~= nil then
ColorH, ColorS, ColorV = data.default.Color:ToHSV()
ColorH = math.clamp(ColorH,0,1)
ColorS = math.clamp(ColorS,0,1)
ColorV = math.clamp(ColorV,0,1)
ColorDrag.Position = UDim2.new(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
Huedrag.Position = UDim2.new(0, 0, 1-ColorH, -1)
values[tabname][sectorname][text] = data.default.Color
end
local mouse = game:GetService("Players").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)
local function updateColor()
local ColorX = (math.clamp(mouse.X - Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
local ColorY = (math.clamp(mouse.Y - Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorDrag.Position = UDim2.new(ColorX, 0, ColorY, 0)
ColorS = 1-ColorX
ColorV = 1-ColorY
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][text] = Element.value
Element.value.Color = Color3.fromHSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateHue()
local y = math.clamp(mouse.Y - Huepick.AbsolutePosition.Y, 0, 148)
Huedrag.Position = UDim2.new(0, 0, 0, y)
hue = y/148
ColorH = 1-hue
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][text] = Element.value
Element.value.Color = Color3.fromHSV(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 = Color3.new(value.Color.R, value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = math.clamp(ColorH,0,1)
ColorS = math.clamp(ColorS,0,1)
ColorV = math.clamp(ColorV,0,1)
ColorDrag.Position = UDim2.new(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
update()
Huedrag.Position = UDim2.new(0, 0, 1-ColorH, -1)
callback(value)
end
elseif type == "ToggleTrans" then
Section.Size = Section.Size + UDim2.new(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Color = data.default and data.default.Color or Color3.fromRGB(255,255,255), Transparency = data.default and data.default.Transparency or 0}
local Toggle = Instance.new("Frame")
local Button = Instance.new("TextButton")
local Color = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDim2.new(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDim2.new(1, 0, 1, 0)
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Color.BorderColor3 = Color3.fromRGB(35, 35, 35)
Color.Position = UDim2.new(0, 15, 0.5, -5)
Color.Size = UDim2.new(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(0, 32, 0, -1)
TextLabel.Size = UDim2.new(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(155, 155, 155)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(47, 47, 47)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end
local ColorH,ColorS,ColorV
local ColorP = Instance.new("TextButton")
local Frame = Instance.new("Frame")
local Colorpick = Instance.new("ImageButton")
local ColorDrag = Instance.new("Frame")
local Huepick = Instance.new("ImageButton")
local Huedrag = Instance.new("Frame")
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vector2.new(1, 0)
ColorP.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
ColorP.BorderColor3 = Color3.fromRGB(35, 35, 35)
ColorP.Position = UDim2.new(0, 270, 0.5, -4)
ColorP.Size = UDim2.new(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.SourceSansSemibold
ColorP.Text = ""
ColorP.TextColor3 = Color3.fromRGB(200, 200, 200)
ColorP.TextSize = 14.000
Frame.Parent = ColorP
Frame.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Frame.BorderColor3 = Color3.fromRGB(27, 27, 35)
Frame.Position = UDim2.new(-0.666666687, -170, 1.375, 0)
Frame.Size = UDim2.new(0, 200, 0, 190)
Frame.Visible = false
Frame.ZIndex = 3
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Colorpick.BorderColor3 = Color3.fromRGB(35, 35, 35)
Colorpick.ClipsDescendants = false
Colorpick.Position = UDim2.new(0, 40, 0, 10)
Colorpick.Size = UDim2.new(0, 150, 0, 150)
Colorpick.AutoButtonColor = false
Colorpick.Image = "rbxassetid://4155801252"
Colorpick.ImageColor3 = Color3.fromRGB(255, 0, 0)
Colorpick.ZIndex = 3
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vector2.new(0.5, 0.5)
ColorDrag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ColorDrag.BorderColor3 = Color3.fromRGB(35, 35, 35)
ColorDrag.Size = UDim2.new(0, 4, 0, 4)
ColorDrag.ZIndex = 3
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Huepick.BorderColor3 = Color3.fromRGB(35, 35, 35)
Huepick.ClipsDescendants = true
Huepick.Position = UDim2.new(0, 10, 0, 10)
Huepick.Size = UDim2.new(0, 20, 0, 150)
Huepick.AutoButtonColor = false
Huepick.Image = "rbxassetid://3641079629"
Huepick.ImageColor3 = Color3.fromRGB(255, 0, 0)
Huepick.ImageTransparency = 1
Huepick.BackgroundTransparency = 0
Huepick.ZIndex = 3
local HueFrameGradient = Instance.new("UIGradient")
HueFrameGradient.Rotation = 90
HueFrameGradient.Name = "HueFrameGradient"
HueFrameGradient.Parent = Huepick
HueFrameGradient.Color = ColorSequence.new {
ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 0)),
ColorSequenceKeypoint.new(0.17, Color3.fromRGB(255, 0, 255)),
ColorSequenceKeypoint.new(0.33, Color3.fromRGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.50, Color3.fromRGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.67, Color3.fromRGB(0, 255, 0)),
ColorSequenceKeypoint.new(0.83, Color3.fromRGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))
}
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Huedrag.BorderColor3 = Color3.fromRGB(35, 35, 35)
Huedrag.Size = UDim2.new(1, 0, 0, 2)
Huedrag.ZIndex = 3
local Transpick = Instance.new("ImageButton")
local Transcolor = Instance.new("ImageLabel")
local Transdrag = Instance.new("Frame")
Transpick.Name = "Transpick"
Transpick.Parent = Frame
Transpick.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Transpick.BorderColor3 = Color3.fromRGB(35, 35, 35)
Transpick.Position = UDim2.new(0, 10, 0, 167)
Transpick.Size = UDim2.new(0, 180, 0, 15)
Transpick.AutoButtonColor = false
Transpick.Image = "rbxassetid://3887014957"
Transpick.ScaleType = Enum.ScaleType.Tile
Transpick.TileSize = UDim2.new(0, 10, 0, 10)
Transpick.ZIndex = 3
Transcolor.Name = "Transcolor"
Transcolor.Parent = Transpick
Transcolor.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Transcolor.BackgroundTransparency = 1.000
Transcolor.Size = UDim2.new(1, 0, 1, 0)
Transcolor.Image = "rbxassetid://3887017050"
Transcolor.ImageColor3 = Color3.fromRGB(255, 0, 4)
Transcolor.ZIndex = 3
Transdrag.Name = "Transdrag"
Transdrag.Parent = Transcolor
Transdrag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Transdrag.BorderColor3 = Color3.fromRGB(35, 35, 35)
Transdrag.Position = UDim2.new(0, -1, 0, 0)
Transdrag.Size = UDim2.new(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 = (math.clamp(Huedrag.AbsolutePosition.Y-Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(math.clamp(ColorDrag.AbsolutePosition.X-Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(math.clamp(ColorDrag.AbsolutePosition.Y-Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
if data.default and data.default.Color ~= nil then
ColorH, ColorS, ColorV = data.default.Color:ToHSV()
ColorH = math.clamp(ColorH,0,1)
ColorS = math.clamp(ColorS,0,1)
ColorV = math.clamp(ColorV,0,1)
ColorDrag.Position = UDim2.new(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
Transcolor.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
Huedrag.Position = UDim2.new(0, 0, 1-ColorH, -1)
end
if data.default and data.default.Transparency ~= nil then
Transdrag.Position = UDim2.new(data.default.Transparency, -1, 0, 0)
end
local mouse = game:GetService("Players").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)
local function updateColor()
local ColorX = (math.clamp(mouse.X - Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
local ColorY = (math.clamp(mouse.Y - Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorDrag.Position = UDim2.new(ColorX, 0, ColorY, 0)
ColorS = 1-ColorX
ColorV = 1-ColorY
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
Transcolor.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
values[tabname][sectorname][text] = Element.value
Element.value.Color = Color3.fromHSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateHue()
local y = math.clamp(mouse.Y - Huepick.AbsolutePosition.Y, 0, 148)
Huedrag.Position = UDim2.new(0, 0, 0, y)
hue = y/148
ColorH = 1-hue
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
Transcolor.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][text] = Element.value
Element.value.Color = Color3.fromHSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateTrans()
local x = math.clamp(mouse.X - Transpick.AbsolutePosition.X, 0, 178)
Transdrag.Position = UDim2.new(0, x, 0, 0)
Element.value.Transparency = (x/178)
values[tabname][sectorname][text] = Element.value
callback(Element.value)
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 = Color3.fromRGB(155, 155, 155)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(47, 47, 47)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(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 = Color3.new(value.Color.R, value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = math.clamp(ColorH,0,1)
ColorS = math.clamp(ColorS,0,1)
ColorV = math.clamp(ColorV,0,1)
ColorDrag.Position = UDim2.new(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = Color3.fromHSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
update()
Huedrag.Position = UDim2.new(0, 0, 1-ColorH, -1)
end
elseif type == "TextBox" then
Section.Size = Section.Size + UDim2.new(0,0,0,30)
Element.value = {Text = data.default and data.default.text or ""}
local Box = Instance.new("Frame")
local TextBox = Instance.new("TextBox")
Box.Name = "Box"
Box.Parent = Inner
Box.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Box.BackgroundTransparency = 1.000
Box.Position = UDim2.new(0, 0, 0.542059898, 0)
Box.Size = UDim2.new(1, 0, 0, 30)
TextBox.Parent = Box
TextBox.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
TextBox.BorderColor3 = Color3.fromRGB(35, 35, 35)
TextBox.Position = UDim2.new(0.108303241, 0, 0.224465579, 0)
TextBox.Size = UDim2.new(0, 175, 0, 20)
TextBox.Font = Enum.Font.SourceSans
TextBox.PlaceholderText = data.placeholder
TextBox.Text = Element.value.Text
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.TextSize = 14.000
values[tabname][sectorname][text] = Element.value
TextBox:GetPropertyChangedSignal("Text"):Connect(function()
if string.len(TextBox.Text) > 10 then
TextBox.Text = string.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
elseif type == "Dropdown" then
Section.Size = Section.Size + UDim2.new(0,0,0,39)
Element.value = {Dropdown = data.options[1]}
local Dropdown = Instance.new("Frame")
local Button = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
local Drop = Instance.new("ScrollingFrame")
local Button_2 = Instance.new("TextButton")
local TextLabel_2 = Instance.new("TextLabel")
local UIListLayout = Instance.new("UIListLayout")
local ImageLabel = Instance.new("ImageLabel")
local TextLabel_3 = Instance.new("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDim2.new(0, 0, 0.255102038, 0)
Dropdown.Size = UDim2.new(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 5, 0, 0)
TextLabel.Size = UDim2.new(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = Element.value.Dropdown
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Drop.BorderColor3 = Color3.fromRGB(35, 35, 35)
Drop.Position = UDim2.new(0, 0, 1, 1)
Drop.Size = UDim2.new(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDim2.new(0, 0, 0, 0)
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 = Color3.fromRGB(255, 255, 255)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local num = #data.options
if num > 5 then
Drop.Size = UDim2.new(1, 0, 0, 85)
else
Drop.Size = UDim2.new(1, 0, 0, 17*num)
end
local first = true
for i,v in ipairs(data.options) do
do
local Button = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 16)
Button.Size = UDim2.new(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Button.BorderSizePixel = 0
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Position = UDim2.new(0, 5, 0, -1)
TextLabel.Size = UDim2.new(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = v
TextLabel.TextColor3 = Color3.fromRGB(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 = Vector2.new(0,0)
end)
Button.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(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 = Color3.fromRGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDim2.new(0, 165, 0, 6)
ImageLabel.Size = UDim2.new(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDim2.new(0, 32, 0, -1)
TextLabel_3.Size = UDim2.new(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.SourceSansSemibold
TextLabel_3.Text = text
TextLabel_3.TextColor3 = Color3.fromRGB(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 = Vector2.new(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 = Vector2.new(0,0)
end
end
end)
values[tabname][sectorname][text] = Element.value
elseif type == "Slider" then
Section.Size = Section.Size + UDim2.new(0,0,0,25)
local Slider = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local Button = Instance.new("TextButton")
local Frame = Instance.new("Frame")
local UIGradient = Instance.new("UIGradient")
local Value = Instance.new("TextLabel")
Slider.Name = "Slider"
Slider.Parent = Inner
Slider.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Slider.BackgroundTransparency = 1.000
Slider.Position = UDim2.new(0, 0, 0.653061211, 0)
Slider.Size = UDim2.new(1, 0, 0, 25)
TextLabel.Parent = Slider
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(0, 32, 0, -2)
TextLabel.Size = UDim2.new(0, 100, 0, 15)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Button.Name = "Button"
Button.Parent = Slider
Button.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button.Position = UDim2.new(0, 30, 0, 15)
Button.Size = UDim2.new(0, 175, 0, 5)
Button.AutoButtonColor = false
Button.Font = Enum.Font.SourceSans
Button.Text = ""
Button.TextColor3 = Color3.fromRGB(0, 0, 0)
Button.TextSize = 14.000
Frame.Parent = Button
Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame.BorderSizePixel = 0
Frame.Size = UDim2.new(0.5, 0, 1, 0)
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(153, 153, 153)), ColorSequenceKeypoint.new(1, Color3.fromRGB(109, 109, 109))}
UIGradient.Rotation = 90
UIGradient.Parent = Frame
Value.Name = "Value"
Value.Parent = Slider
Value.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Value.BackgroundTransparency = 1.000
Value.Position = UDim2.new(0, 150, 0, -1)
Value.Size = UDim2.new(0, 55, 0, 15)
Value.Font = Enum.Font.SourceSansSemibold
Value.Text = "50"
Value.TextColor3 = Color3.fromRGB(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.new(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.new(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.new(0, math.clamp(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = math.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.new(0, math.clamp(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = math.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.new(0, math.clamp(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = math.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
Section.Size = Section.Size + UDim2.new(0,0,0,24)
local Button = Instance.new("Frame")
local Button_2 = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")
Button.Name = "Button"
Button.Parent = Inner
Button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Position = UDim2.new(0, 0, 0.236059487, 0)
Button.Size = UDim2.new(1, 0, 0, 24)
Button_2.Name = "Button"
Button_2.Parent = Button
Button_2.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
Button_2.BorderColor3 = Color3.fromRGB(35, 35, 35)
Button_2.Position = UDim2.new(0, 30, 0.5, -9)
Button_2.Size = UDim2.new(0, 175, 0, 18)
Button_2.AutoButtonColor = false
Button_2.Font = Enum.Font.SourceSans
Button_2.Text = ""
Button_2.TextColor3 = Color3.fromRGB(0, 0, 0)
Button_2.TextSize = 14.000
TextLabel.Parent = Button_2
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(53, 53, 53)
TextLabel.Size = UDim2.new(1, 0, 1, 0)
TextLabel.Font = Enum.Font.SourceSansSemibold
TextLabel.Text = text
TextLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TextLabel.TextSize = 14.000
function Element:SetValue()
end
Button_2.MouseButton1Down:Connect(function()
TextLabel.TextColor3 = Color3.fromRGB(175, 42, 86)
library:Tween(TextLabel, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(200, 200, 200)})
callback()
end)
Button_2.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(255, 255, 255)})
end)
Button_2.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = Color3.fromRGB(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
Aristois.Parent = game.CoreGui
return menu
end
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer.PlayerGui
local Mouse = LocalPlayer:GetMouse()
local Camera = workspace.CurrentCamera
local ClientScript = LocalPlayer.PlayerGui.Client
local Client = getsenv(ClientScript)
repeat RunService.RenderStepped:Wait() until game:IsLoaded()
local Crosshairs = PlayerGui.GUI.Crosshairs
local Crosshair = PlayerGui.GUI.Crosshairs.Crosshair
local oldcreatebullethole = Client.createbullethole
local LGlove, RGlove, LSleeve, RSleeve, RArm, LArm
local WeaponObj = {}
local SelfObj = {}
local Viewmodels = ReplicatedStorage.Viewmodels
local Weapons = ReplicatedStorage.Weapons
local ViewmodelOffset = CFrame.new(0,0,0)
local Smokes = {}
local Mollies = {}
local RayIgnore = workspace.Ray_Ignore
local RageTarget
local GetIcon = require(game.ReplicatedStorage.GetIcon)
local BodyVelocity = Instance.new("BodyVelocity")
BodyVelocity.MaxForce = Vector3.new(math.huge, 0, math.huge)
local Collision = {Camera, workspace.Ray_Ignore, workspace.Debris}
local FakelagFolder = Instance.new("Folder", workspace)
FakelagFolder.Name = "Fakelag"
local FakeAnim = Instance.new("Animation", workspace)
FakeAnim.AnimationId = "rbxassetid://0"
local Gloves = ReplicatedStorage.Gloves
if Gloves:FindFirstChild("ImageLabel") then
Gloves.ImageLabel:Destroy()
end
local GloveModels = Gloves.Models
local Multipliers = {
["Head"] = 4,
["FakeHead"] = 4,
["HeadHB"] = 4,
["UpperTorso"] = 1,
["LowerTorso"] = 1.25,
["LeftUpperArm"] = 1,
["LeftLowerArm"] = 1,
["LeftHand"] = 1,
["RightUpperArm"] = 1,
["RightLowerArm"] = 1,
["RightHand"] = 1,
["LeftUpperLeg"] = 0.75,
["LeftLowerLeg"] = 0.75,
["LeftFoot"] = 0.75,
["RightUpperLeg"] = 0.75,
["RightLowerLeg"] = 0.75,
["RightFoot"] = 0.75,
}
local ChamItems = {}
local Skyboxes = {
["nebula"] = {
SkyboxLf = "rbxassetid://159454286",
SkyboxBk = "rbxassetid://159454299",
SkyboxDn = "rbxassetid://159454296",
SkyboxFt = "rbxassetid://159454293",
SkyboxLf = "rbxassetid://159454286",
SkyboxRt = "rbxassetid://159454300",
SkyboxUp = "rbxassetid://159454288",
},
["vaporwave"] = {
SkyboxLf = "rbxassetid://1417494402",
SkyboxBk = "rbxassetid://1417494030",
SkyboxDn = "rbxassetid://1417494146",
SkyboxFt = "rbxassetid://1417494253",
SkyboxLf = "rbxassetid://1417494402",
SkyboxRt = "rbxassetid://1417494499",
SkyboxUp = "rbxassetid://1417494643",
},
["clouds"] = {
SkyboxLf = "rbxassetid://570557620",
SkyboxBk = "rbxassetid://570557514",
SkyboxDn = "rbxassetid://570557775",
SkyboxFt = "rbxassetid://570557559",
SkyboxLf = "rbxassetid://570557620",
SkyboxRt = "rbxassetid://570557672",
SkyboxUp = "rbxassetid://570557727",
},
["twilight"] = {
SkyboxLf = "rbxassetid://264909758",
SkyboxBk = "rbxassetid://264908339",
SkyboxDn = "rbxassetid://264907909",
SkyboxFt = "rbxassetid://264909420",
SkyboxLf = "rbxassetid://264909758",
SkyboxRt = "rbxassetid://264908886",
SkyboxUp = "rbxassetid://264907379",
},
}
local NewScope
do
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Frame_2 = Instance.new("Frame")
ScreenGui.Enabled = false
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Global
ScreenGui.IgnoreGuiInset = true
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0, 0, 0.5, 0)
Frame.Size = UDim2.new(1, 0, 0, 1)
Frame_2.Parent = ScreenGui
Frame_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame_2.BorderSizePixel = 0
Frame_2.Position = UDim2.new(0.5, 0, 0, 0)
Frame_2.Size = UDim2.new(0, 1, 1, 0)
ScreenGui.Parent = game.CoreGui
NewScope = ScreenGui
end
local oldSkybox
local function VectorRGB(RGB)
return Vector3.new(RGB.R, RGB.G, RGB.B)
end
local function new(name, prop)
local obj = Instance.new(name)
for i,v in pairs(prop) do
if i ~= "Parent" then
obj[i] = v
end
end
if prop["Parent"] ~= nil then
obj.Parent = prop["Parent"]
end
end
local function UpdateAccessory(Accessory)
Accessory.Material = values.visuals.effects["accessory material"].Dropdown == "Smooth" and "SmoothPlastic" or "ForceField"
Accessory.Mesh.VertexColor = VectorRGB(values.visuals.effects["accessory chams"].Color)
Accessory.Color = values.visuals.effects["accessory chams"].Color
Accessory.Transparency = values.visuals.effects["accessory chams"].Transparency
if values.visuals.effects["accessory material"].Dropdown ~= "ForceField" then
Accessory.Mesh.TextureId = ""
else
Accessory.Mesh.TextureId = Accessory.StringValue.Value
end
end
local function ReverseAccessory(Accessory)
Accessory.Material = "SmoothPlastic"
Accessory.Mesh.VertexColor = Vector3.new(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 obj:IsA("MeshPart") then obj.TextureID = "" end
if obj:IsA("Part") and obj:FindFirstChild("Mesh") and not obj:IsA("BlockMesh") then
obj.Mesh.VertexColor = VectorRGB(values.visuals.effects["weapon chams"].Color)
if selected == "Smooth" or selected == "Glass" then
obj.Mesh.TextureId = ""
else
pcall(function()
obj.Mesh.TextureId = obj.Mesh.OriginalTexture.Value
obj.Mesh.TextureID = obj.Mesh.OriginalTexture.Value
end)
end
end
obj.Color = values.visuals.effects["weapon chams"].Color
obj.Material = selected == "Smooth" and "SmoothPlastic" or selected == "Flat" and "Neon" or selected == "ForceField" and "ForceField" or "Glass"
obj.Reflectance = values.visuals.effects["reflectance"].Slider/10
obj.Transparency = values.visuals.effects["weapon chams"].Transparency
end
local Skins = ReplicatedStorage.Skins
local function MapSkin(Gun, Skin, CustomSkin)
if CustomSkin ~= nil then
for _,Data in pairs(CustomSkin) do
local Obj = Camera.Arms:FindFirstChild(Data.Name)
if Obj ~= nil and Obj.Transparency ~= 1 then
Obj.TextureId = Data.Value
end
end
else
local SkinData = Skins:FindFirstChild(Gun):FindFirstChild(Skin)
if not SkinData:FindFirstChild("Animated") then
for _,Data in pairs(SkinData:GetChildren()) do
local Obj = Camera.Arms:FindFirstChild(Data.Name)
if Obj ~= nil and Obj.Transparency ~= 1 then
if Obj:FindFirstChild("Mesh") then
Obj.Mesh.TextureId = v.Value
elseif not Obj:FindFirstChild("Mesh") then
Obj.TextureID = Data.Value
end
end
end
end
end
end
local function ChangeCharacter(NewCharacter)
for _,Part in pairs (LocalPlayer.Character:GetChildren()) do
if Part:IsA("Accessory") then
Part:Destroy()
end
if Part:IsA("BasePart") then
if NewCharacter:FindFirstChild(Part.Name) then
Part.Color = NewCharacter:FindFirstChild(Part.Name).Color
Part.Transparency = NewCharacter:FindFirstChild(Part.Name).Transparency
end
if Part.Name == "FakeHead" then
Part.Color = NewCharacter:FindFirstChild("Head").Color
Part.Transparency = NewCharacter:FindFirstChild("Head").Transparency
end
end
if (Part.Name == "Head" or Part.Name == "FakeHead") and Part:FindFirstChildOfClass("Decal") and NewCharacter.Head:FindFirstChildOfClass("Decal") then
Part:FindFirstChildOfClass("Decal").Texture = NewCharacter.Head:FindFirstChildOfClass("Decal").Texture
end
end
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
for _,Part in pairs (NewCharacter:GetChildren()) do
if Part:IsA("Accessory") then
local Clone = Part:Clone()
for _,Weld in pairs (Clone.Handle:GetChildren()) do
if Weld:IsA("Weld") and Weld.Part1 ~= nil then
Weld.Part1 = LocalPlayer.Character[Weld.Part1.Name]
end
end
Clone.Parent = LocalPlayer.Character
end
end
if LocalPlayer.Character:FindFirstChildOfClass("Shirt") then
local String = Instance.new("StringValue")
String.Name = "OriginalTexture"
String.Value = LocalPlayer.Character:FindFirstChildOfClass("Shirt").ShirtTemplate
String.Parent = LocalPlayer.Character:FindFirstChildOfClass("Shirt")
if table.find(values.visuals.effects.removals.Jumbobox, "clothes") then
LocalPlayer.Character:FindFirstChildOfClass("Shirt").ShirtTemplate = ""
end
end
if LocalPlayer.Character:FindFirstChildOfClass("Pants") then
local String = Instance.new("StringValue")
String.Name = "OriginalTexture"
String.Value = LocalPlayer.Character:FindFirstChildOfClass("Pants").PantsTemplate
String.Parent = LocalPlayer.Character:FindFirstChildOfClass("Pants")
if table.find(values.visuals.effects.removals.Jumbobox, "clothes") then
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
table.insert(SelfObj, v)
local Color = Instance.new("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Color
Color.Parent = v
local String = Instance.new("StringValue")
String.Name = "OriginalMaterial"
String.Value = v.Material.Name
String.Parent = v
elseif v:IsA("Accessory") and v.Handle.Transparency ~= 1 then
table.insert(SelfObj, v.Handle)
local Color = Instance.new("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Handle.Color
Color.Parent = v.Handle
local String = Instance.new("StringValue")
String.Name = "OriginalMaterial"
String.Value = v.Handle.Material.Name
String.Parent = v.Handle
end
end
if values.visuals.self["self chams"].Toggle then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = Enum.Material.ForceField
obj.Color = values.visuals.self["self chams"].Color
end
end
end
end
local function GetDeg(pos1, pos2)
local start = pos1.LookVector
local vector = CFrame.new(pos1.Position, pos2).LookVector
local angle = math.acos(start:Dot(vector))
local deg = math.deg(angle)
return deg
end
local Ping = game.Stats.PerformanceStats.Ping:GetValue()
for i,v in pairs(Viewmodels:GetChildren()) do
if v:FindFirstChild("HumanoidRootPart") and v.HumanoidRootPart.Transparency ~= 1 then
v.HumanoidRootPart.Transparency = 1
end
end
local Models = game:GetObjects("rbxassetid://6708336356")[1]
repeat wait() until Models ~= nil
local ChrModels = game:GetObjects("rbxassetid://7322280310")[1]
repeat wait() until ChrModels ~= nil
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 = {}
for _,fldr in pairs(Gloves:GetChildren()) do
if fldr ~= GloveModels and fldr.Name ~= "Racer" then
AllGloves[fldr.Name] = {}
for _2,modl in pairs(fldr:GetChildren()) do
table.insert(AllGloves[fldr.Name], modl.Name)
end
end
end
for i,v in pairs(Models.Knives:GetChildren()) do
table.insert(AllKnives, v.Name)
end
local AllSkins = {}
local AllWeapons = {}
local AllCharacters = {}
for i,v in pairs(ChrModels:GetChildren()) do
table.insert(AllCharacters, v.Name)
end
local skins = {
{["Weapon"] = "AWP", ["SkinName"] = "Bot", ["Skin"] = {["Scope"] = "6572594838", ["Handle"] = "6572594077"}}
}
for _,skin in pairs (skins) do
local Folder = Instance.new("Folder")
Folder.Name = skin["SkinName"]
Folder.Parent = Skins[skin["Weapon"]]
for _,model in pairs (skin["Skin"]) do
local val = Instance.new("StringValue")
val.Name = _
val.Value = "rbxassetid://"..model
val.Parent = Folder
end
end
for i,v in pairs(Skins:GetChildren()) do
table.insert(AllWeapons, v.Name)
end
table.sort(AllWeapons, function(a,b)
return a < b
end)
for i,v in ipairs(AllWeapons) do
AllSkins[v] = {}
table.insert(AllSkins[v], "Inventory")
for _,v2 in pairs(Skins[v]:GetChildren()) do
if not v2:FindFirstChild("Animated") then
table.insert(AllSkins[v], v2.Name)
end
end
end
makefolder("aristoislua")
local allluas = {}
for _,lua in pairs(listfiles("aristoislua")) do
local luaname = string.gsub(lua, "aristoislua\\", "")
table.insert(allluas, luaname)
end
RunService.RenderStepped:Wait()
local gui = library:New("Stormy")
local legit = gui:Tab("legit")
local rage = gui:Tab("rage")
local visuals = gui:Tab("visuals")
local misc = gui:Tab("misc")
local skins = gui:Tab("skins")
local luas = gui:Tab("luas")
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
local luascripts = luas:Sector("lua scripts", "Left")
luascripts:Element("Scroll", "lua", {options = allluas, Amount = 5})
luascripts:Element("Button", "load", {}, function()
loadstring(readfile("aristoislua\\"..values.luas["lua scripts"].lua.Scroll))()
end)
local knife = skins:Sector("knife", "Left")
knife:Element("Toggle", "knife changer")
knife:Element("Scroll", "model", {options = AllKnives, Amount = 15})
local glove = skins:Sector("glove", "Left")
glove:Element("Toggle", "glove changer")
glove:Element("ScrollDrop", "model", {options = AllGloves, Amount = 9})
local skin = skins:Sector("skins", "Right")
skin:Element("Toggle", "skin changer")
skin:Element("ScrollDrop", "skin", {options = AllSkins, Amount = 15, alphabet = true})
local characters = skins:Sector("characters", "Right")
characters:Element("Toggle", "character changer", nil, function(tbl)
if tbl.Toggle then
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Gun") then
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")
local main = legit:MSector("main", "Left")
local default = main:Tab("default")
local pistol = main:Tab("pistol")
local smg = main:Tab("smg")
local rifle = main:Tab("rifle")
local sniper = main:Tab("sniper")
local function AddLegit(Tab)
Tab:Element("Jumbobox", "conditions", {options = {"visible", "standing", "blind", "smoke"}})
Tab:Element("Dropdown", "target", {options = {"crosshair", "health", "distance"}})
Tab:Element("Dropdown", "hitbox", {options = {"closest", "head", "chest"}})
Tab:Element("Slider", "field of view", {min = 30, max = 420, default = 120})
Tab:Element("Slider", "smoothing", {min = 1, max = 50, default = 1})
Tab:Element("Toggle", "silent aim")
Tab:Element("Slider", "hitchance", {min = 1, max = 100, default = 100})
Tab:Element("Dropdown", "priority", {options = {"closest", "head", "chest"}})
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)
pistol:Element("Toggle", "override default")
AddLegit(pistol)
smg:Element("Toggle", "override default")
AddLegit(smg)
rifle:Element("Toggle", "override default")
AddLegit(rifle)
sniper:Element("Toggle", "override default")
AddLegit(sniper)
local settings = legit:Sector("settings", "Right")
settings:Element("Toggle", "free for all")
settings:Element("Toggle", "forcefield check")
settings:Element("ToggleColor", "draw fov")
local aimbot = rage:Sector("aimbot", "Left")
aimbot:Element("Toggle", "enabled")
aimbot:Element("Dropdown", "origin", {options = {"character", "camera"}})
aimbot:Element("Toggle", "silent aim")
aimbot:Element("Dropdown", "automatic fire", {options = {"off", "standard", "hitpart"}})
aimbot:Element("Toggle", "automatic penetration")
aimbot:Element("Jumbobox", "resolver", {options = {"pitch", "roll"}})
aimbot:Element("Toggle", "delay shot")
aimbot:Element("Toggle", "force hit")
aimbot:Element("Dropdown", "prediction", {options = {"off", "cframe", "velocity"}})
aimbot:Element("Toggle", "teammates")
aimbot:Element("Toggle", "auto baim")
aimbot:Element("Toggle", "knifebot")
local weapons = rage:MSector("weapons", "Left")
local default = weapons:Tab("default")
local pistol = weapons:Tab("pistol")
local rifle = weapons:Tab("rifle")
local scout = weapons:Tab("scout")
local awp = weapons:Tab("awp")
local auto = weapons:Tab("auto")
local function AddRage(Tab)
Tab:Element("Jumbobox", "hitboxes", {options = {"head", "torso", "pelvis"}})
Tab:Element("Toggle", "prefer body")
Tab:Element("Slider", "minimum damage", {min = 1, max = 100, default = 20})
Tab:Element("Slider", "max fov", {min = 1, max = 180, default = 180})
end
AddRage(default)
pistol:Element("Toggle", "override default")
AddRage(pistol)
rifle:Element("Toggle", "override default")
AddRage(rifle)
scout:Element("Toggle", "override default")
AddRage(scout)
awp:Element("Toggle", "override default")
AddRage(awp)
auto:Element("Toggle", "override default")
AddRage(auto)
local antiaim = rage:Sector("angles", "Right")
antiaim:Element("Toggle", "enabled")
antiaim:Element("Dropdown", "yaw base", {options = {"camera", "targets", "spin", "random"}})
antiaim:Element("Slider", "yaw offset", {min = -180, max = 180, default = 0})
antiaim:Element("Toggle", "jitter")
antiaim:Element("Slider", "jitter offset", {min = -180, max = 180, default = 0})
antiaim:Element("Dropdown", "pitch", {options = {"none", "up", "down", "zero", "180", "random"}})
antiaim:Element("Toggle", "extend pitch")
antiaim:Element("Dropdown", "body roll", {options = {"off", "180"}})
antiaim:Element("Slider", "spin speed", {min = 1, max = 48, default = 4})
local others = rage:Sector("others", "Right")
others:Element("Toggle", "remove head")
others:Element("Toggle", "no animations")
others:Element("Dropdown", "leg movement", {options = {"off", "slide"}})
local LagTick = 0
local fakelag = rage:Sector("fakelag", "Right")
fakelag:Element("Toggle", "enabled", {default = {Toggle = false}}, function(tbl)
if tbl.Toggle then
else
FakelagFolder:ClearAllChildren()
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(9e9)
end
end)
fakelag:Element("Dropdown", "amount", {options = {"static", "dynamic"}})
fakelag:Element("Slider", "limit", {min = 1, max = 16, default = 8})
fakelag:Element("ToggleColor", "visualize lag", {default = {Toggle = false, Color = Color3.fromRGB(255,255,255)}}, function(tbl)
if tbl.Toggle then
for _,obj in pairs(FakelagFolder:GetChildren()) do
obj.Color = tbl.Color
end
else
FakelagFolder:ClearAllChildren()
end
end)
fakelag:Element("ToggleKeybind", "ping spike")
coroutine.wrap(function()
while wait(1/16) do
LagTick = math.clamp(LagTick + 1, 0, values.rage.fakelag.limit.Slider)
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("UpperTorso") and values.rage.fakelag.enabled.Toggle then
if LagTick == (values.rage.fakelag.amount.Dropdown == "static" and values.rage.fakelag.limit.Slider or math.random(1, values.rage.fakelag.limit.Slider)) then
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(9e9)
FakelagFolder:ClearAllChildren()
LagTick = 0
if values.rage.fakelag["visualize lag"].Toggle then
for _,hitbox in pairs(LocalPlayer.Character:GetChildren()) do
if hitbox:IsA("BasePart") and hitbox.Name ~= "HumanoidRootPart" then
local part = Instance.new("Part")
part.CFrame = hitbox.CFrame
part.Anchored = true
part.CanCollide = false
part.Material = Enum.Material.ForceField
part.Color = values.rage.fakelag["visualize lag"].Color
part.Name = hitbox.Name
part.Transparency = 0
part.Size = hitbox.Size
part.Parent = FakelagFolder
end
end
end
else
if values.rage.fakelag.enabled.Toggle then
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(1)
end
end
else
FakelagFolder:ClearAllChildren()
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(9e9)
end
end
end)()
local exploits = rage:Sector("exploits", "Left")
exploits:Element("ToggleKeybind", "double tap")
exploits:Element("ToggleKeybind", "kill all")
local players = visuals:Sector("players", "Left")
players:Element("Toggle", "teammates")
players:Element("ToggleColor", "box", {default = {Color = Color3.fromRGB(255,255,255)}})
players:Element("ToggleColor", "name", {default = {Color = Color3.fromRGB(255,255,255)}})
players:Element("Toggle", "health")
players:Element("ToggleColor", "weapon", {default = {Color = Color3.fromRGB(255,255,255)}})
players:Element("ToggleColor", "weapon icon", {default = {Color = Color3.fromRGB(255,255,255)}})
players:Element("Jumbobox", "indicators", {options = {"armor"}})
players:Element("Jumbobox", "outlines", {options = {"drawings", "text"}, default = {Jumbobox = {"drawings", "text"}}})
players:Element("Dropdown", "font", {options = {"Plex", "Monospace", "System", "UI"}})
players:Element("Slider", "size", {min = 12, max = 16, default = 13})
players:Element("ToggleColor", "chams", nil, function(tbl)
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 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)
local effects = visuals:Sector("effects", "Right")
effects:Element("ToggleTrans", "weapon chams", {default = {Color = Color3.fromRGB(255,255,255), Transparency = 0}}, function(tbl)
if WeaponObj == nil then return end
if tbl.Toggle then
for i,v in pairs(WeaponObj) do
UpdateWeapon(v)
end
else
for i,v in pairs(WeaponObj) do
if v:IsA("MeshPart") then v.TextureID = v.OriginalTexture.Value end
if v:IsA("Part") and v:FindFirstChild("Mesh") and not v:IsA("BlockMesh") then
v.Mesh.TextureId = v.Mesh.OriginalTexture.Value
v.Mesh.VertexColor = Vector3.new(1,1,1)
end
v.Color = v.OriginalColor.Value
v.Material = v.OriginalMaterial.Value
v.Transparency = 0
end
end
end)
effects:Element("Dropdown", "weapon material", {options = {"Smooth", "Flat", "ForceField", "Glass"}}, function(tbl)
if WeaponObj == nil then return end
if values.visuals.effects["weapon chams"].Toggle then
for i,v in pairs(WeaponObj) do
UpdateWeapon(v)
end
end
end)
effects:Element("Slider", "reflectance", {min = 0, max = 100, default = 0}, function(tbl)
if values.visuals.effects["weapon chams"].Toggle then
for i,v in pairs(WeaponObj) do
UpdateWeapon(v)
end
end
end)
effects:Element("ToggleTrans", "accessory chams", {default = {Color = Color3.fromRGB(255,255,255)}}, function(val)
if RArm == nil or LArm == nil then return end
if val.Toggle then
if RGlove ~= nil then
UpdateAccessory(RGlove)
end
if RSleeve ~= nil then
UpdateAccessory(RSleeve)
end
if LGlove ~= nil then
UpdateAccessory(LGlove)
end
if LSleeve ~= nil then
UpdateAccessory(LSleeve)
end
else
if RGlove then
ReverseAccessory(RGlove)
end
if LGlove then
ReverseAccessory(LGlove)
end
if RSleeve then
ReverseAccessory(RSleeve)
end
if LSleeve then
ReverseAccessory(LSleeve)
end
end
end)
effects:Element("Dropdown", "accessory material", {options = {"Smooth","ForceField"}}, function(val)
if RArm == nil or LArm == nil then return end
if values.visuals.effects["accessory chams"].Toggle then
if RGlove ~= nil then
UpdateAccessory(RGlove)
end
if RSleeve ~= nil then
UpdateAccessory(RSleeve)
end
if LGlove ~= nil then
UpdateAccessory(LGlove)
end
if LSleeve ~= nil then
UpdateAccessory(LSleeve)
end
end
end)
effects:Element("ToggleTrans", "arm chams", {default = {Color = Color3.fromRGB(255,255,255)}}, function(val)
if RArm == nil then return end
if LArm == nil then return end
if val.Toggle then
RArm.Color = val.Color
LArm.Color = val.Color
RArm.Transparency = val.Transparency
LArm.Transparency = val.Transparency
else
RArm.Color = RArm.Color3Value.Value
LArm.Color = RArm.Color3Value.Value
RArm.Transparency = 0
LArm.Transparency = 0
end
end)
effects:Element("Jumbobox", "removals", {options = {"scope", "scope lines", "flash", "smoke", "decals", "shadows", "clothes"}}, function(val)
local tbl = val.Jumbobox
if table.find(tbl, "decals") then
Client.createbullethole = function() end
for i,v in pairs(workspace.Debris:GetChildren()) do
if v.Name == "Bullet" or v.Name == "SurfaceGui" then
v:Destroy()
end
end
else
Client.createbullethole = oldcreatebullethole
end
if table.find(tbl, "clothes") then
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("UpperTorso") then
if LocalPlayer.Character:FindFirstChild("Shirt") then
LocalPlayer.Character:FindFirstChild("Shirt").ShirtTemplate = ""
end
if LocalPlayer.Character:FindFirstChild("Pants") then
LocalPlayer.Character:FindFirstChild("Pants").PantsTemplate = ""
end
end
else
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("UpperTorso") then
if LocalPlayer.Character:FindFirstChild("Shirt") then
LocalPlayer.Character:FindFirstChild("Shirt").ShirtTemplate = LocalPlayer.Character:FindFirstChild("Shirt").OriginalTexture.Value
end
if LocalPlayer.Character:FindFirstChild("Pants") then
LocalPlayer.Character:FindFirstChild("Pants").PantsTemplate = LocalPlayer.Character:FindFirstChild("Pants").OriginalTexture.Value
end
end
end
if table.find(tbl, "scope") then
Crosshairs.Scope.ImageTransparency = 1
Crosshairs.Scope.Scope.ImageTransparency = 1
Crosshairs.Frame1.Transparency = 1
Crosshairs.Frame2.Transparency = 1
Crosshairs.Frame3.Transparency = 1
Crosshairs.Frame4.Transparency = 1
else
Crosshairs.Scope.ImageTransparency = 0
Crosshairs.Scope.Scope.ImageTransparency = 0
Crosshairs.Frame1.Transparency = 0
Crosshairs.Frame2.Transparency = 0
Crosshairs.Frame3.Transparency = 0
Crosshairs.Frame4.Transparency = 0
end
PlayerGui.Blnd.Enabled = not table.find(tbl, "flash") and true or false
Lighting.GlobalShadows = not table.find(tbl, "shadows") and true or false
if RayIgnore:FindFirstChild("Smokes") then
if table.find(tbl, "smoke") then
for i,smoke in pairs(RayIgnore.Smokes:GetChildren()) do
smoke.ParticleEmitter.Rate = 0
end
else
for i,smoke in pairs(RayIgnore.Smokes:GetChildren()) do
smoke.ParticleEmitter.Rate = smoke.OriginalRate.Value
end
end
end
end)
effects:Element("Toggle", "force crosshair")
effects:Element("ToggleColor", "world color", {default = {Color = Color3.fromRGB(255,255,255)}}, function(val)
if val.Toggle then
Camera.ColorCorrection.TintColor = val.Color
else
Camera.ColorCorrection.TintColor = Color3.fromRGB(255,255,255)
end
end)
effects:Element("Toggle", "shadowmap technology", nil, function(val) sethiddenproperty(Lighting, "Technology", val.Toggle and "ShadowMap" or "Legacy") end)
local self = visuals:Sector("self", "Right")
self:Element("ToggleKeybind", "third person", {}, function(tbl)
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
if tbl.Toggle then
if tbl.Active then
LocalPlayer.CameraMaxZoomDistance = values.visuals.self.distance.Slider
LocalPlayer.CameraMinZoomDistance = values.visuals.self.distance.Slider
LocalPlayer.CameraMaxZoomDistance = values.visuals.self.distance.Slider
LocalPlayer.CameraMinZoomDistance = values.visuals.self.distance.Slider
else
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
end
else
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
end
end
end)
self:Element("Slider", "distance", {min = 6, max = 18, default = 12}, function(tbl)
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
if values.visuals.self["third person"].Toggle then
if values.visuals.self["third person"].Active then
LocalPlayer.CameraMaxZoomDistance = tbl.Slider
LocalPlayer.CameraMinZoomDistance = tbl.Slider
LocalPlayer.CameraMaxZoomDistance = tbl.Slider
LocalPlayer.CameraMinZoomDistance = tbl.Slider
else
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
end
else
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
end
end
end)
LocalPlayer:GetPropertyChangedSignal("CameraMinZoomDistance"):Connect(function(current)
if values.visuals.self["third person"].Toggle then
if values.visuals.self["third person"].Active then
if current ~= values.visuals.self.distance.Slider then
LocalPlayer.CameraMinZoomDistance = values.visuals.self.distance.Slider
end
end
end
end)
self:Element("Slider", "fov changer", {min = 0, max = 120, default = 80}, function(value)
RunService.RenderStepped:Wait()
if LocalPlayer.Character == nil then return end
if fov == value.Slider then return end
if values.visuals.self["on scope"].Toggle or not LocalPlayer.Character:FindFirstChild("AIMING") then
Camera.FieldOfView = value.Slider
end
end)
self:Element("Toggle", "on scope")
self:Element("Toggle", "viewmodel changer")
self:Element("Slider", "viewmodel x", {min = -10, max = 10}, function(val)
ViewmodelOffset = CFrame.new(values.visuals.self["viewmodel x"].Slider/7, values.visuals.self["viewmodel y"].Slider/7, values.visuals.self["viewmodel z"].Slider/7) * CFrame.Angles(0, 0, values.visuals.self.roll.Slider/50)
end)
self:Element("Slider", "viewmodel y", {min = -10, max = 10}, function(val)
ViewmodelOffset = CFrame.new(values.visuals.self["viewmodel x"].Slider/7, values.visuals.self["viewmodel y"].Slider/7, values.visuals.self["viewmodel z"].Slider/7) * CFrame.Angles(0, 0, values.visuals.self.roll.Slider/50)
end)
self:Element("Slider", "viewmodel z", {min = -10, max = 10}, function(val)
ViewmodelOffset = CFrame.new(values.visuals.self["viewmodel x"].Slider/7, values.visuals.self["viewmodel y"].Slider/7, values.visuals.self["viewmodel z"].Slider/7) * CFrame.Angles(0, 0, values.visuals.self.roll.Slider/50)
end)
self:Element("Slider", "roll", {min = -100, max = 100}, function(val)
ViewmodelOffset = CFrame.new(values.visuals.self["viewmodel x"].Slider/7, values.visuals.self["viewmodel y"].Slider/7, values.visuals.self["viewmodel z"].Slider/7) * CFrame.Angles(0, 0, values.visuals.self.roll.Slider/50)
end)
self:Element("ToggleColor", "self chams", {default = {Color = Color3.fromRGB(255,255,255)}}, function(tbl)
if tbl.Toggle then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = Enum.Material.ForceField
obj.Color = tbl.Color
end
end
else
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = obj.OriginalMaterial.Value
obj.Color = obj.OriginalColor.Value
end
end
end
end)
self:Element("Slider", "scope blend", {min = 0, max = 100, default = 0})
local ads = Client.updateads
Client.updateads = function(self, ...)
local args = {...}
coroutine.wrap(function()
wait()
if LocalPlayer.Character ~= nil then
for _,part in pairs(LocalPlayer.Character:GetDescendants()) do
if part:IsA("Part") or part:IsA("MeshPart") then
if part.Transparency ~= 1 then
part.Transparency = LocalPlayer.Character:FindFirstChild("AIMING") and values.visuals.self["scope blend"].Slider/100 or 0
end
end
if part:IsA("Accessory") then
part.Handle.Transparency = LocalPlayer.Character:FindFirstChild("AIMING") and values.visuals.self["scope blend"].Slider/100 or 0
end
end
end
end)()
return ads(self, ...)
end
local world = visuals:Sector("world", "Left")
world:Element("ToggleTrans", "molly radius", {default = {Color = Color3.fromRGB(255,0,0)}}, function(tbl)
if RayIgnore:FindFirstChild("Fires") == nil then return end
if tbl.Toggle then
for i,fire in pairs(RayIgnore:FindFirstChild("Fires"):GetChildren()) do
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 = Color3.fromRGB(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 = Color3.fromRGB(0, 0, 255)}})
world:Element("ToggleColor", "impacts", {default = {Color = Color3.fromRGB(255, 0, 0)}})
world:Element("ToggleColor", "hit chams", {default = {Color = Color3.fromRGB(0, 0, 255)}})
world:Element("Dropdown", "hitsound", {options = {"none", "skeet", "neverlose", "rust", "bag", "baimware"}})
world:Element("Slider", "sound volume", {min = 1, max = 5, default = 3})
world:Element("Dropdown", "skybox", {options = {"none", "nebula", "vaporwave", "clouds"}}, function(tbl)
local sky = tbl.Dropdown
if sky ~= "none" then
if Lighting:FindFirstChildOfClass("Sky") then Lighting:FindFirstChildOfClass("Sky"):Destroy() end
local skybox = Instance.new("Sky")
skybox.SkyboxLf = Skyboxes[sky].SkyboxLf
skybox.SkyboxBk = Skyboxes[sky].SkyboxBk
skybox.SkyboxDn = Skyboxes[sky].SkyboxDn
skybox.SkyboxFt = Skyboxes[sky].SkyboxFt
skybox.SkyboxRt = Skyboxes[sky].SkyboxRt
skybox.SkyboxUp = Skyboxes[sky].SkyboxUp
skybox.Name = "override"
skybox.Parent = Lighting
else
if Lighting:FindFirstChildOfClass("Sky") then Lighting:FindFirstChildOfClass("Sky"):Destroy() end
if oldSkybox ~= nil then oldSkybox:Clone().Parent = Lighting end
end
end)
world:Element("ToggleColor", "item esp", {default = {Color = Color3.fromRGB(255, 255, 255)}}, function(tbl)
for i,weapon in pairs(workspace.Debris:GetChildren()) do
if weapon:IsA("BasePart") and Weapons:FindFirstChild(weapon.Name) then
weapon.BillboardGui.ImageLabel.Visible = tbl.Toggle and table.find(values.visuals.world["types"].Jumbobox, "icon") and true or false
end
end
end)
world:Element("Jumbobox", "types", {options = {"icon"}}, function(tbl)
for i,weapon in pairs(workspace.Debris:GetChildren()) do
if weapon:IsA("BasePart") and Weapons:FindFirstChild(weapon.Name) then
weapon.BillboardGui.ImageLabel.Visible = values.visuals.world["item esp"].Toggle and table.find(tbl.Jumbobox, "icon") and true or false
weapon.BillboardGui.ImageLabel.ImageColor3 = values.visuals.world["item esp"].Color
end
end
end)
local configs = misc:Sector("configs", "Left")
configs:Element("TextBox", "config", {placeholder = "config name"})
configs:Element("Button", "save", {}, function() if values.misc.configs.config.Text ~= "" then library:SaveConfig(values.misc.configs.config.Text) end end)
configs:Element("Button", "load", {}, function() if values.misc.configs.config.Text ~= "" then ConfigLoad:Fire(values.misc.configs.config.Text) end end)
configs:Element("Toggle", "keybind list", nil, function(tbl)
library:SetKeybindVisible(tbl.Toggle)
end)
local crosshaireditor = misc:Sector("crosshair editor", "Right")
local function UpdateCrosshair()
if values.misc["crosshair editor"].enabled.Toggle then
local length = values.misc["crosshair editor"].length.Slider
Crosshair.LeftFrame.Size = UDim2.new(0, length, 0, 2)
Crosshair.RightFrame.Size = UDim2.new(0, length, 0, 2)
Crosshair.TopFrame.Size = UDim2.new(0, 2, 0, length)
Crosshair.BottomFrame.Size = UDim2.new(0, 2, 0, length)
for _,frame in pairs(Crosshair:GetChildren()) do
if string.find(frame.Name, "Frame") then
frame.BorderColor3 = Color3.new(0,0,0)
if values.misc["crosshair editor"].border.Toggle then
frame.BorderSizePixel = 1
else
frame.BorderSizePixel = 0
end
end
end
else
Crosshair.LeftFrame.Size = UDim2.new(0, 10, 0, 2)
Crosshair.RightFrame.Size = UDim2.new(0, 10, 0, 2)
Crosshair.TopFrame.Size = UDim2.new(0, 2, 0, 10)
Crosshair.BottomFrame.Size = UDim2.new(0, 2, 0, 10)
for _,frame in pairs(Crosshair:GetChildren()) do
if string.find(frame.Name, "Frame") then
frame.BorderSizePixel = 0
end
end
end
end
crosshaireditor:Element("Toggle", "enabled", nil, UpdateCrosshair)
crosshaireditor:Element("Slider", "length", {min = 1, max = 15, default = 10}, UpdateCrosshair)
crosshaireditor:Element("Toggle", "border", nil, UpdateCrosshair)
local client = misc:Sector("client", "Right")
client:Element("Toggle", "infinite cash", nil, function(tbl)
if tbl.Toggle then
LocalPlayer.Cash.Value = 8000
end
end)
client:Element("Toggle", "infinite crouch")
client:Element("Jumbobox", "damage bypass", {options = {"fire", "fall"}})
client:Element("Jumbobox", "gun modifiers", {options = {"recoil", "spread", "reload", "equip", "ammo", "automatic", "penetration", "firerate"}})
client:Element("Toggle", "remove killers", {}, function(tbl)
if tbl.Toggle then
if workspace:FindFirstChild("Map") and workspace:FindFirstChild("Map"):FindFirstChild("Killers") then
local clone = workspace:FindFirstChild("Map"):FindFirstChild("Killers"):Clone()
clone.Name = "KillersClone"
clone.Parent = workspace:FindFirstChild("Map")
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 = Color3.fromRGB(255,255,255)}})
client:Element("Toggle", "buy any grenade")
client:Element("Toggle", "chat alive")
client:Element("Jumbobox", "shop", {options = {"inf time", "anywhere"}})
client:Element("Toggle", "anti spectate")
local oldgrenadeallowed = Client.grenadeallowed
Client.grenadeallowed = function(...)
if values.misc.client["buy any grenade"].Toggle then
return true
end
return oldgrenadeallowed(...)
end
local movement = misc:Sector("movement", "Left")
movement:Element("Toggle", "bunny hop")
movement:Element("Dropdown", "direction", {options = {"forward", "directional", "directional 2"}})
movement:Element("Dropdown", "type", {options = {"gyro", "cframe"}})
movement:Element("Slider", "speed", {min = 15, max = 60, default = 40})
movement:Element("ToggleKeybind", "jump bug")
movement:Element("ToggleKeybind", "edge jump")
movement:Element("ToggleKeybind", "edge bug")
local chat = misc:Sector("chat", "Left")
chat:Element("Toggle", "chat spam", nil, function(tbl)
if tbl.Toggle then
while values.misc.chat["chat spam"].Toggle do
game:GetService("ReplicatedStorage").Events.PlayerChatted:FireServer(values.misc.chat.type.Dropdown == "standard" and "hi" or "buy stormy.solutions", false, "Innocent", false, true)
wait(values.misc.chat["speed (ms)"].Slider/1000)
end
end
end)
chat:Element("Dropdown", "type", {options = {"standard", "stormy"}})
chat:Element("Slider", "speed (ms)", {min = 150, max = 1000, default = 500})
chat:Element("Toggle", "kill say")
chat:Element("TextBox", "message", {placeholder = "message"})
chat:Element("Toggle", "no filter")
local grenades = misc:Sector("grenades", "Right")
grenades:Element("ToggleKeybind", "spam grenades")
coroutine.wrap(function()
while true do
wait(0.5)
if values.misc.grenades["spam grenades"].Toggle and values.misc.grenades["spam grenades"].Active 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, Vector3.new(0,-100,0), oh6, oh7)
end
end
end)()
grenades:Element("Dropdown", "grenLoads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, www.roblox.com.
This is last update Stormy.solutions. Work only Synapse X. p.s yep this screenshot created in cbr:https://www.roblox.com/games/9993529229/Counter-Blox-Remastered

[UPDATE!] Counter Blox