Run it
Copy the script and paste it into your executor.
.() :()
players = (:())
StarterPlayer = :()
tweenService = (:())
runService = (:())
CoreGui = (:())
UIS = (:())
lighting = (:())
runservice = (:())
= (:())
coregui = (:())
localplayer = players.LocalPlayer
camera = .CurrentCamera
mouse = localplayer:()
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.InOut)
Library = {
Ui_Bind = .KeyCode.RightShift,
MenuColors = {
Background = .(,,),
InnerContainer = .(, , ),
Section = .(, , ),
BorderColor = .(, , ),
Accent = .(, , ),
TabInactive = .(, , ),
TabActive = .(, , ),
ElementText = .(, , ),
RiskyText = .(, , ),
},
flags = {},
}
Library:(Class, Properties)
_Instance = (Class) == .(Class) Class
Property, Value , Properties
_Instance[Property] = Value
_Instance
Library:(defaults, options)
i,v (defaults)
options[i] ==
options[i] = v
options
Library:(object, goal, callback)
tween = tweenService:(object, tweenInfo, goal)
tween.Completed:(callback () )
tween:()
(options)
options = options {}
options = Library:({
name = ,
size = .(, , , )
}, options {})
menu = {
CurrentTab =
}
ProtectGui = protectgui ( .protect_gui) (() )
ScreenGui = (.()) (ScreenGui)
ScreenGui.Parent = CoreGui
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Global
ScreenGui.Name =
Background = Library:(, {
Name = ,
Size = options.size,
AnchorPoint = .(,),
Position = .(, -, , ),
BackgroundColor3 = Library.MenuColors.Background,
BorderSizePixel = ,
Parent = ScreenGui,
})
UIShadow = Library:(, {
Parent = Background,
BackgroundTransparency = ,
BorderSizePixel = ,
Image = ,
AnchorPoint = .(, ),
Position = .(, , , ),
Size = .(, , , )
})
mousebutton = Library:(, {
Parent = Background,
Size = .(, , , ),
BackgroundTransparency = ,
TextTransparency = ,
BorderSizePixel = ,
Name = ,
Modal =
})
Title = Library:(, {
Parent = Background,
Size = .(, , , ),
Position = .(,,,),
BackgroundTransparency = ,
TextColor3 = .(, , ),
TextSize = ,
RichText = ,
Text = options.name,
FontFace = Font.(, .FontWeight.SemiBold),
TextXAlignment = .TextXAlignment.Left,
Name =
})
TabContainer = Library:(, {
Parent = Background,
Size = .(, -, , ),
AnchorPoint = .(, ),
Position = .(, , , ),
BackgroundTransparency = ,
BorderSizePixel = ,
Name =
})
UIPadding = Library:(, {
Parent = TabContainer,
PaddingRight = .(, )
})
TabLayout = Library:(, {
Parent = TabContainer,
FillDirection = .FillDirection.Horizontal,
HorizontalAlignment = .HorizontalAlignment.Right,
VerticalAlignment = .VerticalAlignment.Center,
Padding = .(, ),
SortOrder = .SortOrder.LayoutOrder,
Name =
})
InnerContainer = Library:(, {
Parent = Background,
Size = .(, -, , -),
AnchorPoint = .(, ),
Position = .(, , , ),
BackgroundColor3 = Library.MenuColors.InnerContainer,
BorderSizePixel = ,
Name =
})
UIStroke = Library:(, {
Parent = InnerContainer,
Color = Library.MenuColors.BorderColor
})
addedwidths =
menu:(options)
options = Library:({
name =
}, options {})
tab = {
Hover = ,
Active =
}
Tab = Library:(, {
Parent = TabContainer,
BackgroundTransparency = ,
TextColor3 = Library.MenuColors.TabInactive,
TextSize = ,
Text = options.name,
FontFace = Font.(, .FontWeight.SemiBold),
TextXAlignment = .TextXAlignment.Center,
Size = .(, , , ),
Name = options.name,
})
Tab.Size = .(, Tab.TextBounds.X + , , )
TabLine = Library:(, {
Parent = Tab,
BackgroundColor3 = Library.MenuColors.TabInactive,
BackgroundTransparency = ,
Size = .(, , , ),
AnchorPoint = .(, ),
Position = .(, , , -),
BorderSizePixel = ,
Name = options.name,
})
width =
width = addedwidths + width + Tab.AbsoluteSize.X +
addedwidths = width
TabContainer.Size = .(, width, , TabContainer.Size.Y.Offset)
InnerContainer = Library:(, {
Parent = InnerContainer,
Size = .(, -, , -),
AnchorPoint = .(, ),
Position = .(, , , ),
Active = ,
Visible = ,
BackgroundTransparency = ,
BorderSizePixel = ,
Name = options.name
})
ContainerLSize = InnerContainer.AbsoluteSize.X / -
LeftContainer = Library:(, {
Parent = InnerContainer,
Visible = ,
Size = .(, ContainerLSize, , ),
BackgroundTransparency = ,
BorderSizePixel = ,
Name =
})
ContainerRSize = InnerContainer.AbsoluteSize.X / -
RightContainer = Library:(, {
Parent = InnerContainer,
Visible = ,
Size = .(, ContainerRSize, , ),
AnchorPoint = .(, ),
Position = .(, , , ),
BackgroundTransparency = ,
BorderSizePixel = ,
Name =
})
tab:()
tab.Active
menu.CurrentTab ~=
tab:()
tab.Active =
InnerContainer.Active =
InnerContainer.Visible =
LeftContainer.Visible =
RightContainer.Visible =
Library:(TabLine, {BackgroundColor3 = Library.MenuColors.Accent})
Library:(TabLine, {BackgroundTransparency = })
Library:(Tab, {TextColor3 = Library.MenuColors.TabActive})
menu.CurrentTab = Tab
tab:()
tab.Active
tab.Active =
tab.Hover =
InnerContainer.Active =
InnerContainer.Visible =
LeftContainer.Visible =
RightContainer.Visible =
Library:(TabLine, {BackgroundColor3 = Library.MenuColors.TabInactive})
Library:(TabLine, {BackgroundTransparency = })
Library:(Tab, {TextColor3 = Library.MenuColors.TabInactive})
Tab.MouseEnter:(()
tab.Hover =
tab.Active
Library:(TabLine, {BackgroundColor3 = Library.MenuColors.Accent})
Library:(TabLine, {BackgroundTransparency = })
Library:(Tab, {TextColor3 = Library.MenuColors.TabActive})
)
Tab.MouseLeave:(()
tab.Hover =
tab.Active
Library:(TabLine, {BackgroundColor3 = Library.MenuColors.TabInactive})
Library:(TabLine, {BackgroundTransparency = })
Library:(Tab, {TextColor3 = Library.MenuColors.TabInactive})
)
TabContainer.MouseEnter:(()
tab.MouseInside =
)
TabContainer.MouseLeave:(()
tab.MouseInside =
)
UIS.InputBegan:((input,gpe)
gpe
input.UserInputType == .UserInputType.MouseButton1
tab.Hover
tab:()
tab.MouseInside
tab:()
)
menu.CurrentTab ==
tab:()
LeftHeight = {}
RightHeight = {}
NewPos =
tab:(options)
options = Library:({
name = ,
side = ,
height =
}, options {})
section = {
Hover = ,
}
options.side ==
LeftHeight
#LeftHeight >
NewPos = LeftHeight[] +
NewPos =
NewPos =
RightHeight
#RightHeight >
NewPos = RightHeight[] +
NewPos =
NewPos =
Section = Library:(, {
Size = .(, , , options.height),
AnchorPoint = .(, ),
BackgroundColor3 = Library.MenuColors.Section,
Position = .(, , , NewPos - ),
BorderSizePixel = ,
Name = options.name
})
options.side ==
Section.Parent = RightContainer
.(RightHeight, Section.Size.Y.Offset)
Section.Parent = LeftContainer
.(LeftHeight, Section.Size.Y.Offset)
SectionText = Library:(, {
Parent = Section,
Size = .(, , , ),
Position = .(, , , -),
AnchorPoint = .(, ),
BackgroundTransparency = ,
TextXAlignment = .TextXAlignment.Left,
FontFace = Font.(, .FontWeight.SemiBold),
Text = options.name,
TextColor3 = .(, , ),
TextSize = ,
Name = ,
ZIndex =
})
Size = SectionText.TextBounds.X +
LineSize = Size / -
SectionLine = Library:(, {
Parent = Section,
Size = .(, LineSize, , ),
Position = .(, , , -),
AnchorPoint = .(, ),
BackgroundColor3 = .(, , ),
BackgroundTransparency = ,
BorderSizePixel = ,
Name = ,
})
UIStroke2 = Library:(, {
Thickness = ,
Color = Library.MenuColors.BorderColor,
LineJoinMode = .LineJoinMode.Miter,
Parent = Section,
Name =
})
SubContainer = Library:(, {
Parent = Section,
Size = .(, , , ),
AnchorPoint = .(, ),
Position = .(, , , ),
BackgroundTransparency = ,
BorderSizePixel = ,
Name = ,
Active =
})
SectionTabLayout = Library:(, {
Parent = SubContainer,
FillDirection = .FillDirection.Horizontal,
VerticalAlignment = .VerticalAlignment.Center,
Padding = .(, ),
SortOrder = .SortOrder.LayoutOrder,
Name =
})
ElementContainer = Library:(, {
Parent = Section,
Size = .(, , , ),
Position = .(, , , ),
BackgroundTransparency = ,
Name =
})
UIPadding1 = Library:(, {
Parent = ElementContainer,
PaddingTop = .(, ),
PaddingLeft = .(, ),
PaddingRight = .(, ),
PaddingBottom = .(, )
})
ElementLayout = Library:(, {
Parent = ElementContainer,
SortOrder = .SortOrder.LayoutOrder,
Padding = .(, )
})
().TabsExist =
section:(options)
options = Library:({
name =
}, options {})
sectiontab = {
Hover = ,
Active =
}
TabGUI = {
CurrentTab =
}
().TabsExist =
ElementContainer:()
TabButton = Library:(, {
Parent = SubContainer,
Size = .(, , , ),
BackgroundTransparency = ,
BorderSizePixel = ,
Name = options.name
})
SectionTabText = Library:(, {
Parent = TabButton,
Size = .(, , , ),
BackgroundTransparency = ,
FontFace = Font.(, .FontWeight.Thin),
Text = options.name,
TextColor3 = Library.MenuColors.TabInactive,
TextSize = ,
TextXAlignment = .TextXAlignment.Center,
Name =
})
SectionTabLine = Library:(, {
Parent = TabButton,
Size = .(, -, , ),
AnchorPoint = .(, ),
Position = .(, , , ),
BackgroundColor3 = Library.MenuColors.TabInactive,
BackgroundTransparency = ,
BorderSizePixel = ,
Name =
})
tabCount =
_, sectiontab (SubContainer:())
sectiontab:()
tabCount = tabCount +
finalValue = SubContainer.AbsoluteSize.X / tabCount
_, sectiontab (SubContainer:())
sectiontab:()
sectiontab.Size = .(, finalValue, , )
TabInnerContainer = Library:(, {
Parent = Section,
Size = .(, , , -),
AnchorPoint = .(, ),
Position = .(, , , ),
BackgroundTransparency = ,
BorderSizePixel = ,
Active = ,
Visible = ,
Name =
})
UIPadding2 = .()
UIPadding2.Parent = TabInnerContainer
UIPadding2.PaddingLeft = .(, )
UIPadding2.PaddingTop = .(, )
UIPadding2.PaddingRight = .(, )
UIPadding2.PaddingBottom = .(, )
().TabInnerContainer = TabInnerContainer
sectiontab:()
sectiontab.Active
TabGUI.CurrentTab ~=
sectiontab:()
sectiontab.Active =
TabInnerContainer.Active =
TabInnerContainer.Visible =
Library:(SectionTabLine, {BackgroundColor3 = Library.MenuColors.Accent})
Library:(SectionTabLine, {BackgroundTransparency = })
Library:(SectionTabText, {TextColor3 = Library.MenuColors.TabActive})
TabGUI.CurrentTab = sectiontab
sectiontab:()
sectiontab.Active
sectiontab.Active =
sectiontab.Hover =
TabInnerContainer.Active =
TabInnerContainer.Visible =
Library:(SectionTabLine, {BackgroundColor3 = Library.MenuColors.TabInactive})
Library:(SectionTabLine, {BackgroundTransparency = })
Library:(SectionTabText, {TextColor3 = Library.MenuColors.TabInactive})
TabButton.MouseEnter:(()
sectiontab.Hover =
sectiontab.Active
Library:(SectionTabLine, {BackgroundColor3 = Library.MenuColors.Accent})
Library:(SectionTabLine, {BackgroundTransparency = })
Library:(SectionTabText, {TextColor3 = Library.MenuColors.TabActive})
)
TabButton.MouseLeave:(()
sectiontab.Hover =
sectiontab.Active
Library:(SectionTabLine, {BackgroundColor3 = Library.MenuColors.TabInactive})
Library:(SectionTabLine, {BackgroundTransparency = })
Library:(SectionTabText, {TextColor3 = Library.MenuColors.TabInactive})
)
SubContainer.MouseEnter:(()
sectiontab.MouseInside =
)
SubContainer.MouseLeave:(()
sectiontab.MouseInside =
)
UIS.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
sectiontab.Hover
sectiontab:()
sectiontab.MouseInside
sectiontab:()
)
ContentLayout = Library:(, {
Parent = TabInnerContainer,
FillDirection = .FillDirection.Vertical,
VerticalAlignment = .VerticalAlignment.Top,
Padding = .(, ),
SortOrder = .SortOrder.LayoutOrder,
Name =
})
section
section:(options)
options = Library:({
name = ,
callback = () ,
subbutton = {
enabled = ,
name = ,
callback = ()
},
}, options {})
button = {
Hover =
}
().TabsExist
elementParent = ().TabInnerContainer
elementParent = ElementContainer
().elementparent = elementParent
ButtonContainer = Library:(, {
Parent = ().elementparent,
Size = .(, , , ),
Name = options.name,
BackgroundTransparency =
})
Button = Library:(, {
Parent = ButtonContainer,
Position = .(, , , ),
Name = ,
BorderSizePixel = ,
BorderColor3 = Library.MenuColors.BorderColor
})
UIGradient = Library:(, {
Parent = Button,
Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
},
Rotation = ,
})
options.subbutton.enabled
Button.Size = .(, -, , )
Button.Size = .(, -, , )
ButtonTitle = Library:(, {
Parent = Button,
Size = .(, , , ),
BackgroundTransparency = ,
TextColor3 = Library.MenuColors.ElementText,
TextSize = ,
Text = options.name,
FontFace = Font.(, .FontWeight.Regular),
TextXAlignment = .TextXAlignment.Center,
Name =
})
Button.MouseEnter:(()
button.Hover =
Library:(ButtonTitle, {TextColor3 = Library.MenuColors.Accent})
)
Button.MouseLeave:(()
button.Hover =
Library:(ButtonTitle, {TextColor3 = Library.MenuColors.ElementText})
)
UIS.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
button.Hover
options.()
)
options.subbutton.enabled
button1 = {
Hover =
}
Button1 = Library:(, {
Parent = ButtonContainer,
Size = .(, -, , ),
AnchorPoint = .(, ),
Position = .(, -, , ),
Name = ,
BorderSizePixel = ,
BorderColor3 = Library.MenuColors.BorderColor
})
UIGradient2 = Library:(, {
Parent = Button1,
Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
},
Rotation = ,
})
ButtonTitle1 = Library:(, {
Parent = Button1,
Size = .(, , , ),
BackgroundTransparency = ,
TextColor3 = Library.MenuColors.ElementText,
TextSize = ,
Text = options.subbutton.name,
FontFace = Font.(, .FontWeight.Regular),
TextXAlignment = .TextXAlignment.Center,
Name =
})
Button1.MouseEnter:(()
button1.Hover =
Library:(ButtonTitle1, {TextColor3 = Library.MenuColors.Accent})
)
Button1.MouseLeave:(()
button1.Hover =
Library:(ButtonTitle1, {TextColor3 = Library.MenuColors.ElementText})
)
UIS.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
button1.Hover
options.subbutton.()
)
section
section:(options)
options = Library:({
name = ,
default = ,
risky = ,
callback = (state) ,
keybinds = {
enabled = ,
key = ,
getkey = (key) ,
},
colorpicker = {
enabled = ,
color = .(, , ),
getcolor = (color)
},
}, options {})
toggle = {
Hover = ,
State = options.default
}
keybind = {
Hover = ,
key = options.keybinds.key
}
options.flag options.name options.flag = options.name
options.keybinds.flag options.name options.keybinds.flag = options.name..
options.colorpicker.flag options.name options.colorpicker.flag = options.name..
options.colorpicker.color options.name options.colorpicker.color = .(,,)
options.keybinds.key == options.keybinds.key ==
options.keybinds.key =
keybind.key =
().TabsExist
elementParent = ().TabInnerContainer
elementParent = ElementContainer
().elementparent = elementParent
ToggleContainer = Library:(, {
Size = .(, , , ),
Parent = ().elementparent,
BackgroundTransparency = ,
Name =
})
Toggle = Library:(, {
Size = .(, , , ),
BackgroundColor3 = Library.MenuColors.TabInactive,
BorderColor3 = Library.MenuColors.BorderColor,
AnchorPoint = .(, ),
Position = .(, , , ),
Parent = ToggleContainer,
Name = ,
BorderSizePixel =
})
UIStroke3 = Library:(, {
Thickness = ,
Color = .(, , ),
LineJoinMode = .LineJoinMode.Miter,
Parent = Toggle,
Name =
})
ToggleTitle = Library:(, {
Parent = ToggleContainer,
AnchorPoint = .(, ),
Position = .(, , , ),
BackgroundTransparency = ,
TextColor3 = Library.MenuColors.ElementText,
TextSize = ,
Text = options.name,
FontFace = Font.(, .FontWeight.Regular),
TextXAlignment = .TextXAlignment.Left,
Name = ,
})
options.risky ==
ToggleTitle.TextColor3 = Library.MenuColors.ElementText
ToggleTitle.TextColor3 = Library.MenuColors.RiskyText
ToggleContainer.MouseEnter:(()
toggle.Hover =
Library:(Toggle, {BackgroundColor3 = Library.MenuColors.Accent})
)
ToggleContainer.MouseLeave:(()
toggle.Hover =
toggle.State ~=
Library:(Toggle, {BackgroundColor3 = Library.MenuColors.InnerContainer})
)
toggle.State
Library.flags[options.flag] = toggle.State
Library:(Toggle, {BackgroundColor3 = Library.MenuColors.Accent})
Library.flags[options.flag] = toggle.State
Library:(Toggle, {BackgroundColor3 = Library.MenuColors.InnerContainer})
UIS.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
toggle.Hover keybind.Hover
toggle.State = toggle.State
options.(toggle.State)
toggle.State
Library.flags[options.flag] = toggle.State
Library:(Toggle, {BackgroundColor3 = Library.MenuColors.Accent})
Library.flags[options.flag] = toggle.State
Library:(Toggle, {BackgroundColor3 = Library.MenuColors.InnerContainer})
)
options.(toggle.State)
Keybind = .()
options.keybinds.enabled
options.keybinds.(keybind.key)
Keybind.Parent = ToggleContainer
Keybind.Size = .(, , , )
Keybind.AnchorPoint = .(, )
Keybind.Position = .(, , , )
Keybind.Name =
Keybind.BorderColor3 = Library.MenuColors.BorderColor
Keybind.BackgroundColor3 = Library.MenuColors.InnerContainer
Keybind.BorderSizePixel =
KeybindText = Library:(, {
Parent = Keybind,
Size = .(, , , ),
BackgroundTransparency = ,
TextColor3 = Library.MenuColors.ElementText,
TextSize = ,
Text = options.keybinds.key,
FontFace = Font.(, .FontWeight.Regular),
TextXAlignment = .TextXAlignment.Center,
Name =
})
UIStroke4 = Library:(, {
Thickness = ,
Color = .(, , ),
LineJoinMode = .LineJoinMode.Miter,
Parent = Keybind,
Name =
})
Keybind.Size = .(, KeybindText.TextBounds.X + , , )
Keybind.MouseEnter:(()
keybind.Hover =
Library:(UIStroke4, {Color = Library.MenuColors.Accent})
)
Keybind.MouseLeave:(()
keybind.Hover =
Library:(UIStroke4, {Color = .(, , )})
)
()
getkey
getkey = UIS.InputBegan:((input)
keyPressed = input.KeyCode == .KeyCode.Unknown input.UserInputType input.KeyCode
disallowedKeys = { .KeyCode.W, .KeyCode.A, .KeyCode.S, .KeyCode.D, .UserInputType.MouseMovement }
isDisallowed =
_, key (disallowedKeys)
keyPressed == key
isDisallowed =
isDisallowed
input.KeyCode == .KeyCode.Backspace
options.keybinds.key =
Library.flags[options.keybinds.flag] =
KeybindText.Text =
getkey:()
str = (keyPressed)
_, Index1 = str:()
_, Index2 = str:(, Index1 + )
Index2
formattedkey = str:(Index2 + )
options.keybinds.key = formattedkey
KeybindText.Text = formattedkey
Keybind.Size = .(, KeybindText.TextBounds.X + , , )
options.keybinds.(formattedkey)
formattedkey ==
Library.flags[options.keybinds.flag] = .UserInputType[formattedkey]
formattedkey ==
Library.flags[options.keybinds.flag] = .UserInputType[formattedkey]
Library.flags[options.keybinds.flag] = .KeyCode[formattedkey]
keyPressed getkey:()
)
UIS.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
keybind.Hover
KeybindText.Text =
Keybind.Size = .(, KeybindText.TextBounds.X + , , )
()
)
options.colorpicker.enabled
colorpicker = .()
mid = .()
front = .()
button2 = .()
colorFrame = .()
colorFrame_2 = .()
hueframe = .()
main = .()
hue = .()
pickerframe = .()
main_2 = .()
picker = .()
copy = .()
colorpicker.Parent = ToggleContainer
colorpicker.BackgroundColor3 = .(, , )
colorpicker.BorderColor3 = .(, , )
colorpicker.BorderSizePixel =
colorpicker.AnchorPoint = .(, )
colorpicker.Size = .(, , , )
colorpicker.Position = .(, , , )
debounce =
()
debounce
debounce =
options.keybinds.enabled
margin = ToggleContainer.Keybind.KeybindText
pos = margin.TextBounds.X +
ToggleContainer.Size = .(,,,)
colorpicker.Position = .(, -pos, , )
Keybind.Position = .(, , , )
ToggleContainer.Size = .(,,,)
colorpicker.Position = .(, , , )
Keybind.Position = .(, , , )
debounce =
()
options.keybinds.enabled
ToggleContainer.Keybind.Changed:(updatepos)
mid.Name =
mid.Parent = colorpicker
mid.BackgroundColor3 = .(, , )
mid.BorderColor3 = .(, , )
mid.BorderSizePixel =
mid.Size = .(, , , )
front.Name =
front.Name =
front.Parent = mid
front.BackgroundColor3 = Library.MenuColors.Background
front.BorderColor3 = .(, , )
front.Size = .(, , , )
button2.Name =
button2.Parent = front
button2.BackgroundColor3 = .(, , )
button2.BackgroundTransparency =
button2.Size = .(, , , )
button2.Text =
button2.FontFace = Font.(, .FontWeight.Regular)
button2.TextColor3 = .(, , )
button2.TextSize =
colorpicker = .()
colorpicker.Name =
colorpicker.Parent = ToggleContainer
colorpicker.BackgroundTransparency =
colorpicker.BackgroundColor3 = Library.MenuColors.InnerContainer
colorpicker.Size = .(, , , )
colorpicker.Parent.Parent.Parent.Parent.Name ==
colorpicker.Position = .(, , , )
colorpicker.Position = .(, -, , -)
colorpicker.BorderSizePixel =
colorpicker.ZIndex =
colorpicker.Visible =
tframe = .()
tframe.Name =
tframe.Parent = colorpicker
tframe.BackgroundColor3 = .(, , )
tframe.Size = .(, , , )
tframe.Position = .(, , , -)
tframe.ZIndex =
tframe.BorderSizePixel =
tframe.Visible =
tframe.BorderColor3 = .(, , )
main_tframe = .()
main_tframe.Name =
main_tframe.Parent = tframe
main_tframe.Visible =
main_tframe.ImageColor3 = .(, , )
main_tframe.Size = .(, , , )
main_tframe.Position = .(, , , -)
main_tframe.Image =
main_tframe.ZIndex =
main_tframe.SizeConstraint = .SizeConstraint.RelativeXX
main_tframe.BorderSizePixel =
main_tframe.Rotation =
main_tframe.BorderColor3 = Library.MenuColors.BorderColor
colorFrame_2.Name =
colorFrame_2.Parent = colorpicker
colorFrame_2.BackgroundColor3 = .(,,)
colorFrame_2.BorderColor3 = Library.MenuColors.BorderColor
colorFrame_2.Size = .(, , , )
colorFrame_2.BorderSizePixel =
UIStroke10 = .()
UIStroke10.Thickness =
UIStroke10.Color = .(, , )
UIStroke10.LineJoinMode = .LineJoinMode.Round
UIStroke10.Parent = colorFrame_2
UIStroke10.Name =
textframe = .()
textframe.Name =
textframe.Parent = colorFrame_2
textframe.BackgroundColor3 = .(, , )
textframe.Size = .(, , , )
textframe.Position = .(, , , )
textframe.ZIndex =
textframe.BorderSizePixel =
textframe.Visible =
textframe.BorderColor3 = .(, , )
UIStroke1660 = .()
UIStroke1660.Thickness =
UIStroke1660.Color = .(, , )
UIStroke1660.LineJoinMode = .LineJoinMode.Miter
UIStroke1660.Parent = textframe
UIStroke1660.Name =
textframe2 = .()
textframe2.Parent = textframe
textframe2.Size = .(, , , )
textframe2.BackgroundTransparency =
textframe2.TextColor3 = Library.MenuColors.ElementText
textframe2.TextSize =
textframe2.RichText =
textframe2.FontFace = Font.(, .FontWeight.Regular)
textframe2.TextXAlignment = .TextXAlignment.Center
textframe2.Name =
textframe2.Visible =
buttonframe = .()
buttonframe.Name =
buttonframe.Parent = colorFrame_2
buttonframe.BackgroundColor3 = .(, , )
buttonframe.Size = .(, , , )
buttonframe.Position = .(, , , )
buttonframe.ZIndex =
buttonframe.BorderSizePixel =
buttonframe.Visible =
buttonframe.BorderColor3 = .(, , )
UIStroke121660 = .()
UIStroke121660.Thickness =
UIStroke121660.Color = .(, , )
UIStroke121660.LineJoinMode = .LineJoinMode.Miter
UIStroke121660.Parent = buttonframe
UIStroke121660.Name =
copybutton = .()
copybutton.Parent = buttonframe
copybutton.Size = .(, , , )
copybutton.Position = .(, , , )
copybutton.BackgroundTransparency =
copybutton.TextColor3 = Library.MenuColors.ElementText
copybutton.TextTransparency =
copybutton.TextSize =
copybutton.BorderSizePixel =
copybutton.Name =
copybutton.FontFace = Font.(, .FontWeight.Regular)
copybutton.Visible =
copybutton.Modal =
copybutton.Text =
copybutton.MouseEnter:(()
Library:(copybutton, {TextColor3 = Library.MenuColors.Accent})
)
copybutton.MouseLeave:(()
Library:(copybutton, {TextColor3 = Library.MenuColors.ElementText})
)
pastebutton = .()
pastebutton.Parent = buttonframe
pastebutton.Size = .(, , , )
pastebutton.Position = .(, , , )
pastebutton.BackgroundTransparency =
pastebutton.TextTransparency =
pastebutton.BorderSizePixel =
pastebutton.TextSize =
pastebutton.FontFace = Font.(, .FontWeight.Regular)
pastebutton.Name =
pastebutton.Modal =
pastebutton.Text =
pastebutton.TextColor3 = Library.MenuColors.ElementText
pastebutton.Visible =
pastebutton.MouseEnter:(()
Library:(pastebutton, {TextColor3 = Library.MenuColors.Accent})
)
pastebutton.MouseLeave:(()
Library:(pastebutton, {TextColor3 = Library.MenuColors.ElementText})
)
buttonframe2 = .()
buttonframe2.Parent = buttonframe
buttonframe2.Size = .(, , , )
buttonframe2.BackgroundTransparency =
buttonframe2.TextColor3 = .(, , )
buttonframe2.TextSize =
buttonframe2.Text =
buttonframe2.FontFace = Font.(, .FontWeight.Regular)
buttonframe2.TextXAlignment = .TextXAlignment.Center
buttonframe2.Name =
buttonframe2.TextColor3 = Library.MenuColors.ElementText
buttonframe2.Visible =
hueframe.Name =
hueframe.Parent = colorFrame_2
hueframe.BackgroundColor3 = .(,,)
hueframe.BorderColor3 = Library.MenuColors.BorderColor
hueframe.BorderSizePixel =
hueframe.AnchorPoint = .(, )
hueframe.Position = .(, , , )
hueframe.Size = .(, , , )
color_dot = .()
color_dot.Name =
color_dot.Parent = hueframe
color_dot.BackgroundColor3 = .(, , )
color_dot.BorderColor3 = .(, , )
color_dot.BorderSizePixel =
color_dot.Position = .(, , , )
color_dot.Size = .(, , , )
color_dot.ZIndex =
main.Name =
main.Parent = hueframe
main.BackgroundColor3 = .(,,)
main.BorderColor3 = Library.MenuColors.BorderColor
main.Size = .(, , , )
main.ZIndex =
picker.Name =
picker.Parent = main
picker.BackgroundColor3 = options.colorpicker.color
picker.BorderColor3 = Library.MenuColors.InnerContainer
picker.BorderSizePixel =
picker.Size = .(, , , )
picker.ZIndex =
picker.Image =
pickerframe.Name =
pickerframe.Parent = colorpicker
pickerframe.BackgroundColor3 = .(,,)
pickerframe.BorderColor3 = .(, , )
pickerframe.BorderSizePixel =
pickerframe.AnchorPoint = .(, )
pickerframe.Position = .(, -, , )
pickerframe.Size = .(, , , )
selectpicker = .()
selectpicker.Name =
selectpicker.Parent = pickerframe
selectpicker.BackgroundColor3 = .(, , )
selectpicker.Size = .(, , , )
selectpicker.Position = .(, , , )
selectpicker.ZIndex =
selectpicker.Visible =
selectpicker.BorderSizePixel =
selectpicker.BorderColor3 = Library.MenuColors.BorderColor
main_2.Name =
main_2.Parent = pickerframe
main_2.BackgroundColor3 = .(,,)
main_2.BorderColor3 = Library.MenuColors.BorderColor
main_2.Size = .(, , , )
main_2.ZIndex =
hue.Name =
hue.Parent = main_2
hue.BackgroundColor3 = .(, , )
hue.BorderColor3 = Library.MenuColors.BorderColor
hue.BorderSizePixel =
hue.Size = .(, , , )
hue.ZIndex =
hue.Image =
copy.MouseButton1Click:(()
colorFrame.Visible =
)
button2.MouseButton1Click:(()
i,v (ScreenGui:())
v.Name == v.Visible == button2.Parent.Parent.Parent.Parent:() button2.Parent.Parent.Parent.Parent:() ~= v
v.Visible =
colorpicker.Visible = colorpicker.Visible
tframe.Visible = tframe.Visible
main_tframe.Visible = main_tframe.Visible
buttonframe.Visible = buttonframe.Visible
textframe.Visible = textframe.Visible
copybutton.Visible = copybutton.Visible
pastebutton.Visible = pastebutton.Visible
buttonframe2.Visible = buttonframe2.Visible
textframe2.Visible = textframe2.Visible
mid.BorderColor3 = .(,,)
)
button2.MouseEnter:(()
Library:(mid, {BorderColor3 = Library.MenuColors.Accent})
)
button2.MouseLeave:(()
Library:(mid, {BorderColor3 = .(,,)})
)
(value, fakevalue)
(value) == value = fakevalue
options.colorpicker.color = value
front.BackgroundColor3 = value
Library.flags[options.colorpicker.flag] = value
r, g, b = value.r * , value.g * , value.b *
textframe2.TextColor3 = value
textframe2.Text = .(, .(r), .(g), .(b))
options.colorpicker.(value)
copybutton.MouseButton1Click:(()
value = options.colorpicker.color
r, g, b = value.r * , value.g * , value.b *
hexValue = .(, .(r), .(g), .(b))
(hexValue)
)
white, black = .(,,), .(,,)
colors = {.(,,),.(,,),.(,,),.(,,),.(,,),.(,,),.(,,)}
heartbeat = runService.Heartbeat
pickerX,pickerY,hueY = ,,
oldpercentX,oldpercentY = ,
hue.MouseEnter:(()
input = hue.InputBegan:((key)
key.UserInputType == .UserInputType.MouseButton1
heartbeat:() UIS:(.UserInputType.MouseButton1)
percent = (hueY-hue.AbsolutePosition.Y-)/hue.AbsoluteSize.Y
num = .(, .(,.(((percent*+)*))/))
startC = colors[.(num)]
endC = colors[.(num)]
color = white:(picker.BackgroundColor3, oldpercentX):(black, oldpercentY)
picker.BackgroundColor3 = startC:(endC, num-.(num)) .(, , )
selectpicker.Position = .(, , , + selectpicker.Parent.AbsoluteSize.Y * percent)
updateValue(color)
end
end
end)
local leave
leave = hue.MouseLeave:connect(function()
input:disconnect()
leave:disconnect()
end)
end)
local isDragging = false
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then isDragging = true end
end)
UIS.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then isDragging = false end
end)
picker.MouseEnter:Connect(function()
local input = picker.InputBegan:connect(function(key)
if key.UserInputType == Enum.UserInputType.MouseButton1 then
while heartbeat:wait() and UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
local xPercent = (pickerX - picker.AbsolutePosition.X) / picker.AbsoluteSize.X
local yPercent = (pickerY - picker.AbsolutePosition.Y - 36) / picker.AbsoluteSize.Y
local color = white:lerp(picker.BackgroundColor3, xPercent):lerp(black, yPercent)
updateValue(color)
oldpercentX, oldpercentY = xPercent, yPercent
end
end
end)
local leave
leave = picker.MouseLeave:connect(function()
input:disconnect()
leave:disconnect()
end)
end)
UIS.InputChanged:Connect(function(input)
if isDragging and input.UserInputType == Enum.UserInputType.MouseMovement then
local offsetX = pickerX - picker.AbsolutePosition.X
local offsetY = pickerY - picker.AbsolutePosition.Y - 35
color_dot.Position = UDim2.new(0, offsetX, 0, offsetY)
end
end)
hue.MouseMoved:connect(function(_, y)
hueY = y
end)
picker.MouseMoved:connect(function(x, y)
pickerX,pickerY = x,y
end)
options.colorpicker.color = options.colorpicker.color
updateValue(options.colorpicker.color or Color3.new(1,1,1))
end
return section
end
function section:AddSlider(options)
options = Library:validate({
name = "Example Toggle",
default = 50,
suffix = "%",
risky = false,
changeby = 5,
min = 0,
max = 100,
callback = function(value) end
}, options or {})
local slider = {
MouseDown = false,
Hover = false,
Connection = nil
}
local minus = {
Hover = false
}
local plus = {
Hover = false
}
options.value = 0
if options.min then
if options.default < options.min then
options.default = options.min
end
end
if not options.flag and options.name then options.flag = options.name end
if getgenv().TabsExist then
elementParent = getgenv().TabInnerContainer
else
elementParent = ElementContainer
end
getgenv().elementparent = elementParent
local SliderContainer = Library:Create("Frame", {
Parent = getgenv().elementparent,
Size = UDim2.new(1, 0, 0, 16),
BackgroundTransparency = 1,
Name = "SliderContainer"
})
local SliderTitle = Library:Create("TextLabel", {
Parent = SliderContainer,
Size = UDim2.new(1, -4, 1, -7),
Position = UDim2.new(0, 15, 0, -3),
BackgroundTransparency = 1,
TextColor3 = Library.MenuColors.ElementText,
TextSize = 11,
Text = options.name,
FontFace = Font.fromId(12187362578, Enum.FontWeight.Regular),
TextXAlignment = Enum.TextXAlignment.Left,
Name = "SliderTitle"
})
if options.risky == true then
SliderTitle.TextColor3 = Library.MenuColors.RiskyText
else
SliderTitle.TextColor3 = Library.MenuColors.ElementText
end
local SliderBack = Library:Create("Frame", {
Parent = SliderContainer,
Size = UDim2.new(1, -50, 0, 4),
AnchorPoint = Vector2.new(0, 1),
Position = UDim2.new(0, 15, 1, -2),
BackgroundColor3 = Color3.fromRGB(17, 17, 17),
Name = "Slider",
BorderColor3 = Library.MenuColors.BorderColor,
BorderSizePixel = 2
})
local UIStroke3 = Library:Create("UIStroke", {
Thickness = 1,
Color = Color3.fromRGB(0, 0, 0),
LineJoinMode = Enum.LineJoinMode.Miter,
Parent = SliderBack,
Name = "UIStrokeBackSlider"
})
local Slider = Library:Create("Frame", {
Parent = SliderBack,
Size = UDim2.new(1, -80, 1, 0),
BackgroundColor3 = Library.MenuColors.Accent,
Name = "Slider",
ZIndex = 2,
BorderSizePixel = 0
})
local SliderValue = Library:Create("TextLabel", {
Size = UDim2.new(0, 10, 0, 10),
Parent = Slider,
TextXAlignment = Enum.TextXAlignment.Center,
Position = UDim2.new(1, -10, 0, 5),
BackgroundTransparency = 1,
TextColor3 = Library.MenuColors.ElementText,
FontFace = Font.fromId(12187362578, Enum.FontWeight.Bold),
Text = options.value,
TextSize = 9,
Name = options.name
})
local ValueOutline = Library:Create("UIStroke", {
Thickness = 1,
Color = Color3.new(0, 0, 0),
Parent = SliderValue
})
local buttoncontainer1 = Library:Create("Frame", {
Parent = SliderBack,
Size = UDim2.new(0, 7, 0, 7),
AnchorPoint = Vector2.new(0, 0.5),
Position = UDim2.new(0, -19, 0.5, 1),
BackgroundTransparency = 1
})
local buttoncontainer2 = Library:Create("Frame", {
Parent = SliderBack,
Size = UDim2.new(0, 7, 0, 7),
AnchorPoint = Vector2.new(1, 0.5),
Position = UDim2.new(1, 15, 0.5, 1),
BackgroundTransparency = 1
})
local minusbutton = Library:Create("TextLabel", {
Parent = buttoncontainer1,
BackgroundTransparency = 1,
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.new(0.5, 4, 0.5, 0),
Text = "-",
TextColor3 = Library.MenuColors.ElementText,
TextSize = 9,
FontFace = Font.fromId(12187362578, Enum.FontWeight.Regular),
})
local plusbutton = Library:Create("TextLabel", {
Parent = buttoncontainer2,
BackgroundTransparency = 1,
AnchorPoint = Vector2.new(0.5, 0.5),
Position = UDim2.new(0.5, 1, 0.5, 0),
Text = "+",
TextColor3 = Library.MenuColors.ElementText,
TextSize = 9,
FontFace = Font.fromId(12187362578, Enum.FontWeight.Regular),
})
-- Methods
function slider:SetValue(v)
if v == nil then
local output = (mouse.X - SliderBack.AbsolutePosition.X) / SliderBack.AbsoluteSize.X
local slidervalue = math.clamp(math.round(output * (options.max - options.min) + options.min), options.min, options.max)
SliderValue.Text = slidervalue.. (options.suffix or "")
Slider.Size = UDim2.fromScale((slidervalue - options.min) / (options.max - options.min), 1)
else
SliderValue.Text = v.. (options.suffix or "")
end
options.callback(slider:GetValue())
end
function SetValue(v)
local output = v / 100
local slidervalue = math.clamp(math.round(output * (options.max - options.min) + options.min), options.min, options.max)
SliderValue.Text = slidervalue.. (options.suffix or "")
Slider.Size = UDim2.fromScale((slidervalue - options.min) / (options.max - options.min), 1)
end
function slider:GetValue()
local value = tonumber(SliderValue.Text)
if options.suffix then
local suffixLength = string.len(options.suffix)
Library.flags[options.flag] = {tonumber(string.sub(SliderValue.Text, 1, -suffixLength - 1)),changeState = SetValue}
return tonumber(string.sub(SliderValue.Text, 1, -suffixLength - 1))
else
Library.flags[options.flag] = {tonumber(string.sub(SliderValue.Text, 1, -suffixLength - 1)), changeState = SetValue}
return value
end
end
Slider.Size = UDim2.fromScale((options.default - options.min) / (options.max - options.min), 1)
SliderValue.Text = options.default.. (options.suffix or "")
-- Functionality
do
SliderBack.MouseEnter:Connect(function()
slider.Hover = true
Library:tween(SliderValue, {TextColor3 = Library.MenuColors.Accent})
end)
SliderBack.MouseLeave:Connect(function()
slider.Hover = false
Library:tween(SliderValue, {TextColor3 = Library.MenuColors.ElementText})
end)
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and slider.Hover then
slider.MouseDown = true
-- slider value
if not slider.Connection then
slider.Connection = runService.RenderStepped:Connect(function()
slider:SetValue()
if not slider.Hover then
Library:tween(SliderValue, {TextColor3 = Library.MenuColors.Accent})
end
end)
end
end
end)
UIS.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
slider.MouseDown = false
slider.Hover = false
-- Stop slider value
if slider.Connection then
slider.Connection:Disconnect()
if not slider.Hover then
Library:tween(SliderValue, {TextColor3 = Color3.fromRGB(150, 150, 150)})
end
end
slider.Connection = nil
end
end)
buttoncontainer1.MouseEnter:Connect(function()
minus.Hover = true
end)
buttoncontainer1.MouseLeave:Connect(function()
minus.Hover = false
end)
buttoncontainer2.MouseEnter:Connect(function()
plus.Hover = true
end)
buttoncontainer2.MouseLeave:Connect(function()
plus.Hover = false
end)
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and minus.Hover then
if slider:GetValue() > options.min then
newvalue = math.round(slider:GetValue() - options.changeby)
if newvalue > options.min - options.changeby then
slider:SetValue(newvalue)
end
Slider.Size = UDim2.fromScale((slider:GetValue() - options.min) / (options.max - options.min), 1)
end
end
end)
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and plus.Hover then
if slider:GetValue() < options.max then
newvalue = math.round(slider:GetValue() + options.changeby)
if newvalue < options.max + options.changeby then
slider:SetValue(newvalue)
end
Slider.Size = UDim2.fromScale((slider:GetValue() - options.min) / (options.max - options.min), 1)
end
end
end)
end
options.callback(slider:GetValue())
return section
end
function section:AddDropdown(options)
options = Library:validate({
name = "Example Dropdown",
list = {"Example 1", "Example 2", "Example 3", "Example 4"},
min = 1,
max = 3,
default = 1,
callback = function(active) end
}, options or {})
options.default = options.default or 1
local dropdown = {
Hover = false,
active = {options.list[options.default]},
state = false
}
if not options.flag and options.name then options.flag = options.name.."dr" end
if getgenv().TabsExist then
elementParent = getgenv().TabInnerContainer
else
elementParent = ElementContainer
end
getgenv().elementparent = elementParent
local DropdownContainer = Instance.new("Frame")
DropdownContainer.Parent = getgenv().elementparent
DropdownContainer.Size = UDim2.new(1, 0, 0, 30)
DropdownContainer.Name = options.name
DropdownContainer.BorderSizePixel = 0
DropdownContainer.BackgroundTransparency = 1
local DropdownImage = Instance.new("ImageLabel")
DropdownImage.Name = "Triangle"
DropdownImage.Parent = DropdownContainer
DropdownImage.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
DropdownImage.BackgroundTransparency = 1.000
DropdownImage.BorderColor3 = Color3.fromRGB(0, 0, 0)
DropdownImage.BorderSizePixel = 0
DropdownImage.AnchorPoint = Vector2.new(1, 0.5)
DropdownImage.Position = UDim2.new(1, -34, 0.5, 8)
DropdownImage.Size = UDim2.new(0, 7, 0, 6)
DropdownImage.Image = "rbxassetid://8532000591"
DropdownImage.ImageColor3 = Color3.fromRGB(255, 255, 255)
local DropdownText = Instance.new("TextLabel")
DropdownText.Size = UDim2.new(1,0,1,-20)
DropdownText.Parent = DropdownContainer
DropdownText.Position = UDim2.new(0, 15, 0, -2)
DropdownText.BackgroundTransparency = 1
DropdownText.TextXAlignment = Enum.TextXAlignment.Left
DropdownText.FontFace = Font.fromId(12187362578, Enum.FontWeight.Regular)
DropdownText.Text = options.name
DropdownText.TextColor3 = Library.MenuColors.ElementText
DropdownText.TextSize = 11
DropdownText.Name = options.name
local ActiveChoice = Instance.new("Frame")
ActiveChoice.Size = UDim2.new(1, -50, 1 , -13)
ActiveChoice.AnchorPoint = Vector2.new(0.5, 1)
ActiveChoice.Position = UDim2.new(0.5, -10, 1, 0)
ActiveChoice.Parent = DropdownContainer
ActiveChoice.BorderSizePixel = 1
ActiveChoice.BorderColor3 = Library.MenuColors.BorderColor
ActiveChoice.Name = "ActiveChoice"
local UIGradient2 = Library:Create("UIGradient", {
Parent = ActiveChoice,
Color = ColorSequence.new{
ColorSequenceKeypoint.new(0.00, Color3.fromRGB(30, 30, 30)),
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(40, 40, 40))
},
Rotation = 90,
})
local ActiveText = Instance.new("TextLabel")
ActiveText.Size = UDim2.new(1,0,0,0)
ActiveText.Parent = ActiveChoice
ActiveText.Position = UDim2.new(0.5, 0, 0.5, 0)
ActiveText.AnchorPoint = Vector2.new(0.5, 0.5)
ActiveText.BackgroundTransparency = 1
ActiveText.TextXAlignment = Enum.TextXAlignment.Center
ActiveText.FontFace = Font.fromId(12187362578, Enum.FontWeight.Regular)
ActiveText.Text = "Active"
ActiveText.TextColor3 = Library.MenuColors.ElementText
ActiveText.TextSize = 11
ActiveText.Name = "DropdownText"
ActiveText.ZIndex = 4
local ChoiceHolder = Instance.new("Frame")
ChoiceHolder.Size = UDim2.new(1,0,1,5)
ChoiceHolder.Position = UDim2.new(0.5, 0, 0, 17)
ChoiceHolder.Parent = ActiveChoice
ChoiceHolder.AnchorPoint = Vector2.new(0.5,0)
ChoiceHolder.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
ChoiceHolder.Visible = false
ChoiceHolder.BorderSizePixel = 0
ChoiceHolder.ZIndex = 4
local ChoiceLayout = Instance.new("UIListLayout")
ChoiceLayout.Parent = ChoiceHolder
ChoiceLayout.SortOrder = Enum.SortOrder.LayoutOrder
ChoiceLayout.FillDirection = Enum.FillDirection.Vertical
ChoiceLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
ChoiceLayout.Padding = UDim.new(0, 0)
ChoiceLayout.Name = "ChoiceLayout"
function dropdown:AddChoice(name)
local choice = {
Name = name,
Hover = false,
state = false
}
if dropdown.active == choice.Name then
choice.state = true
end
ChoiceHolder.Size = UDim2.new(1,0,0,ChoiceHolder.Size.Y.Offset)
local Choice = Instance.new("Frame")
Choice.Size = UDim2.new(1,-2,0,15)
Choice.Parent = ChoiceHolder
Choice.AnchorPoint = Vector2.new(0.5,0)
Choice.BackgroundColor3 = Color3.fromRGB(26, 25, 26)
Choice.BorderSizePixel = 0
Choice.ZIndex = 5
local ChoiceText = Instance.new("TextLabel")
ChoiceText.Size = UDim2.new(1,0,1,0)
ChoiceText.Parent = Choice
ChoiceText.AnchorPoint = Vector2.new(0.5,0)
ChoiceText.Position = UDim2.new(0.5, 0, 0, 0)
ChoiceText.BackgroundTransparency = 1
ChoiceText.FontFace = Font.fromId(12187362578, Enum.FontWeight.Regular)
ChoiceText.Text = name
ChoiceText.TextColor3 = Library.MenuColors.ElementText
ChoiceText.TextSize = 10
ChoiceText.Name = name
ChoiceText.ZIndex = 6
for i, name in ipairs(dropdown.active) do
if name == choice.Name then
choice.state = true
ActiveText.Text = table.concat(dropdown.active, ", ")
Library:tween(ChoiceText, {TextColor3 = Library.MenuColors.Accent})
Library.flags[options.flag] = ActiveText.Text
options.callback(ActiveText.Text)
break
end
end
-- Choice Functionality
do
Choice.MouseEnter:Connect(function()
if choice.state ~= true then
Library:tween(ChoiceText, {TextColor3 = Library.MenuColors.Accent})
end
choice.Hover = true
end)
Choice.MouseLeave:Connect(function()
if choice.state ~= true then
Library:tween(ChoiceText, {TextColor3 = Library.MenuColors.ElementText})
end
choice.Hover = false
end)
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if choice.Hover == true then
local count = 0
for _, v in ipairs(dropdown.active) do
count = count + 1
end
if choice.state == false and count < options.max then
choice.state = not choice.state
if choice.state == true then
Library:tween(ChoiceText, {TextColor3 = Library.MenuColors.Accent})
table.insert(dropdown.active, choice.Name)
ActiveText.Text = table.concat(dropdown.active, ", ")
Library.flags[options.flag] = ActiveText.Text
options.callback(ActiveText.Text)
else
Library:tween(ChoiceText, {TextColor3 = Library.MenuColors.ElementText})
for i, name in ipairs(dropdown.active) do
if name == choice.Name then
table.remove(dropdown.active, i)
ActiveText.Text = table.concat(dropdown.active, ", ")
Library.flags[options.flag] = ActiveText.Text
options.callback(ActiveText.Text)
break
end
end
end
elseif choice.state == true and count > options.min then
choice.state = not choice.state
Library:tween(ChoiceText, {TextColor3 = Library.MenuColors.ElementText})
for i, name in ipairs(dropdown.active) do
if name == choice.Name then
table.remove(dropdown.active, i)
ActiveText.Text = table.concat(dropdown.active, ", ")
Library.flags[options.flag] = ActiveText.Text
options.callback(ActiveText.Text)
break
end
end
end
end
end
end)
end
end -- dropdown:AddChoice
for _,v in pairs(options.list) do
dropdown:AddChoice(v)
end
do
local endsize = 0
for _, choice in ipairs(ChoiceHolder:GetChildren()) do
if choice:IsA("Frame") then
endsize = endsize + choice.AbsoluteSize.Y
end
end
ChoiceHolder.Size = UDim2.new(1, 2, 0, endsize + 1)
end
-- Dropdown Functionality
do
ActiveChoice.MouseEnter:Connect(function()
dropdown.Hover = true
if dropdown.state ~= true then
Library:tween(ActiveText, {TextColor3 = Library.MenuColors.Accent})
end
end)
ActiveChoice.MouseLeave:Connect(function()
dropdown.Hover = false
if dropdown.state ~= true then
Library:tween(ActiveText, {TextColor3 = Library.MenuColors.ElementText})
end
end)
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if dropdown.Hover then
dropdown.state = not dropdown.state
ChoiceHolder.Visible = dropdown.state
end
end
end)
if dropdown.state == true then
Library:tween(ActiveText, {TextColor3 = Library.MenuColors.Accent})
else
Library:tween(ActiveText, {TextColor3 = Library.MenuColors.ElementText})
end
end
return section
end
return section
end
return tab
end
do -- Mouse Cursor
local cursor = Instance.new("ImageLabel")
cursor.Size = UDim2.new(0, 18, 0, 18)
cursor.BackgroundTransparency = 1
cursor.ImageColor3 = Library.MenuColors.Accent
cursor.Image = "rbxassetid://17404277477"
cursor.Parent = ScreenGui
cursor.ZIndex = 10
local function followMouse()
local mouse = game.Players.LocalPlayer:GetMouse()
cursor.Position = UDim2.new(0, mouse.X -6, 0, mouse.Y - 2)
end
game:GetService("RunService").RenderStepped:Connect(followMouse)
end
do -- Drag GUI
local container = {
Hover = false
}
-- This prevents it from dragging on elements like sliders and colorpickers.
InnerContainer.MouseEnter:Connect(function()
container.Hover = true
end)
InnerContainer.MouseLeave:Connect(function()
container.Hover = false
end)
local dragStart, startPos, dragging
Background.InputBegan:Connect(function(input)
if container.Hover ~= true then
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = Background.Position
end
end
end)
UIS.InputChanged:Connect(function(input)
if container.Hover ~= true then
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
local delta = input.Position - dragStart
local newX = startPos.X.Offset + delta.X
local newY = startPos.Y.Offset + delta.Y
Background.Position = UDim2.new(startPos.X.Scale, newX, startPos.Y.Scale, newY)
end
end
end)
UIS.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
end
-- Open / Close
UIS.MouseIconEnabled = false
UIS.InputBegan:Connect(function(input)
if input.KeyCode == Library.Ui_Bind then
ScreenGui.Enabled = not ScreenGui.Enabled
UIS.MouseIconEnabled = not ScreenGui.Enabled
end
end)
-- Destroy
UIS.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.Delete then
ScreenGui:Destroy()
end
end)
return menu
end
function Create(Class, Properties)
local _Instance = typeof(Class) == 'string' and Instance.new(Class) or Class
for Property, Value in pairs(Properties) do
_Instance[Property] = Value
end
return _Instance
end
local main = AddWindow({
})
------------------------- -------------------------
--- aimbot --- - --- aimbot ---
------------------------- -------------------------
local First = main:AddTab({
name = "aimbot"
})
local smooth_section = First:AddSection({
name = "Smooth Aim",
height = 225,
})
local silent_section = First:AddSection({
name = "Silent Aim",
side = "Right",
height = 225
})
local recoil_section = First:AddSection({
name = "Modifications",
height = 180
})
local checks_section = First:AddSection({
name = "Checks",
side = "Right",
height = 180
})
--[[
local dropdown = subtab2:AddDropdown({
name = "HitParts",
list = {"Head", "Torso", "Legs", "Feet"},
default = 2,
callback = function(active)
print(active)
end
}) --]]
local Second = main:AddTab({
name = "visuals"
})
local players_section = Second:AddSection({
name = "Players",
height = 225
})
local screen_tab = players_section:AddTab({
name = "Screen"
})
do -- All Esp Options
local esp = {
boxes = {
enabled = false,
color = Color3.fromRGB(255,255,255),
},
boxfill = {
enabled = false,
topcolor = Color3.fromRGB(255,255,255),
bottomcolor = Color3.fromRGB(0,0,0),
rotation = 100
},
names = {
enabled = false,
color = Color3.fromRGB(255,255,255),
},
distance = {
enabled = false,
color = Color3.fromRGB(255,255,255),
},
TeamCheck = false,
Connections = {
RunService = runservice;
},
}
screen_tab:AddToggle({
name = "boxes",
default = false,
risky = false,
callback = function(state)
esp.boxes.enabled = state
end,
colorpicker = {
enabled = true,
color = Color3.fromRGB(255, 255, 255),
getcolor = function(value)
esp.boxes.color = value
end
},
})
screen_tab:AddToggle({
name = "names",
default = false,
risky = false,
callback = function(state)
esp.names.enabled = state
end,
colorpicker = {
enabled = true,
color = Color3.fromRGB(255, 255, 255),
getcolor = function(value)
esp.names.color = value
end
},
})
screen_tab:AddToggle({
name = "distance",
default = false,
risky = false,
callback = function(state)
esp.distance.enabled = state
end,
colorpicker = {
enabled = true,
color = Color3.fromRGB(255, 255, 255),
getcolor = function(value)
esp.distance.color = value
end
},
})
screen_tab:AddToggle({
name = "box fill",
default = false,
risky = false,
callback = function(state)
esp.boxfill.enabled = state
end,
})
screen_tab:AddSlider({
name = "rotation",
default = esp.boxfill.rotation,
min = -360,
changeby = 1,
suffix = "",
max = 360,
callback = function(value)
esp.boxfill.rotation = value
end
})
screen_tab:AddToggle({
name = "fill top",
default = false,
risky = false,
colorpicker = {
enabled = true,
color = esp.boxfill.topcolor,
getcolor = function(value)
esp.boxfill.topcolor = value
end
},
})
screen_tab:AddToggle({
name = "fill bottom",
default = false,
risky = false,
colorpicker = {
enabled = true,
color = esp.boxfill.bottomcolor,
getcolor = function(value)
esp.boxfill.bottomcolor = value
end
},
})
screen_tab:AddToggle({
name = "Team Check",
default = false,
risky = false,
callback = function(state)
esp.TeamCheck = state
end
})
local ScreenGui = Create("ScreenGui", {
Parent = coregui,
Name = "DrawingContainer"
})
local DupeCheck = function(plr)
if ScreenGui:FindFirstChild(plr.Name) then
ScreenGui[plr.Name]:Destroy()
end
end
local function playergone()
for _, child in ipairs(ScreenGui:GetChildren()) do
local player = players:FindFirstChild(child.Name)
if not player then
ScreenGui[child.Name]:Destroy()
end
end
end
runService.Heartbeat:Connect(playergone)
local june = esp.Connections
function addesp(plr)
coroutine.wrap(DupeCheck)(plr)
local box = Create("Frame", {
Parent = ScreenGui,
BackgroundTransparency = 1,
Name = plr.Name
})
local outline = Create("UIStroke", {
Parent = box,
Color = esp.boxes.color
})
local fill = Create("UIGradient", {
Parent = box,
Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, esp.boxfill.topcolor),
ColorSequenceKeypoint.new(1, esp.boxfill.bottomcolor)},
Rotation = esp.boxfill.rotation
});
local name = Create("TextLabel", {
Parent = ScreenGui,
BackgroundTransparency = 1,
FontFace = Font.fromId(12187362578, Enum.FontWeight.SemiBold),
TextColor3 = esp.names.color,
TextSize = 9,
Name = plr.Name,
Text = plr.Name
})
local UIStroke = Library:Create("UIStroke", {
Parent = name,
Thickness = 2,
Color = Color3.fromRGB(0,0,0),
LineJoinMode = Enum.LineJoinMode.Miter,
})
local distance = Create("TextLabel", {
Parent = ScreenGui,
BackgroundTransparency = 1,
FontFace = Font.fromId(12187362578, Enum.FontWeight.SemiBold),
TextColor3 = esp.names.color,
TextSize = 8,
Name = plr.Name,
Text = plr.Name
})
local updatepos = function()
local Connection
Connection = june.RunService.RenderStepped:Connect(function()
if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
local HRP = plr.Character.HumanoidRootPart
local Humanoid = plr.Character:WaitForChild("Humanoid");
local Pos, OnScreen = camera:WorldToScreenPoint(HRP.Position)
local Dist = (camera.CFrame.Position - HRP.Position).Magnitude / 3.5714285714
if Humanoid.Health <= 0 then return end
if OnScreen then
local Size = HRP.Size.Y
local scaleFactor = (Size * camera.ViewportSize.Y) / (Pos.Z * 2)
local w, h = 2.75 * scaleFactor, 4.6 * scaleFactor
if esp.boxes.enabled then
box.Position = UDim2.new(0, Pos.X - w / 2, 0, Pos.Y - h / 2)
box.Size = UDim2.new(0, w, 0, h)
outline.Color = esp.boxes.color
box.Visible = esp.boxes.enabled
if fill.enabled then box.BackgroundTransparency = 0.5 else box.BackgroundTransparency = 1 end
else
box.Visible = false
end
if esp.names.enabled then
name.Position = UDim2.new(0, Pos.X, 0, Pos.Y - h / 2 - 9)
name.TextColor3 = esp.names.color
name.Visible = esp.names.enabled
Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
else
Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.Viewer
name.Visible = false
end
if esp.distance.enabled then
distance.Position = UDim2.new(0, Pos.X, 0, Pos.Y + h / 2 + 7)
distance.TextColor3 = esp.distance.color
distance.Visible = esp.names.enabled
distance.Text = math.round(Dist)
else
distance.Visible = false
end
if esp.boxfill.enabled then
fill.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, esp.boxfill.topcolor),
ColorSequenceKeypoint.new(1, esp.boxfill.bottomcolor)}
fill.Rotation = esp.boxfill.rotation
fill.Enabled = true
else
fill.Enabled = false
end
if esp.TeamCheck then
if plr.Team == localplayer.Team then
box.Visible = false
name.Visible = false
distance.Visible = false
else
box.Visible = true
name.Visible = true
distance.Visible = true
end
end
else
box.Visible = false
name.Visible = false
distance.Visible = false
end
else
box.Visible = false
name.Visible = false
distance.Visible = false
end
end)
end
coroutine.wrap(updatepos)()
end
for _, v in pairs(players:GetPlayers()) do
if v.Name ~= localplayer.Name then
coroutine.wrap(addesp)(v)
end
end
--
players.PlayerAdded:Connect(function(v)
coroutine.wrap(addesp)(v)
end)
players.PlayerRemoving:Connect(function(plr)
ScreenGui[plr.Name]:Destroy()
end)
end
local model_tab = players_section:AddTab({
name = "Model"
})
do -- All World Options
local world_tab = players_section:AddTab({
name = "World"
})
do -- Ambience
local function updateAmbience(pass1, pass2)
local vars = {
ambient = {
toggle = pass1,
color = pass2,
default = Color3.fromRGB(1,1,1)
}
}
if vars.ambient.toggle then
lighting.Ambient = vars.ambient.color
else
lighting.Ambient = vars.ambient.default
end
end
local ttoggle, tcolor
local toggle = world_tab:AddToggle({
name = "Ambient",
default = false,
callback = function(state)
ttoggle = state
updateAmbience(ttoggle, tcolor)
end,
colorpicker = {
enabled = true,
color = Color3.fromRGB(255, 255, 255),
getcolor = function(color)
tcolor = color
updateAmbience(ttoggle, tcolor)
end
},
})
end
do -- Brightness
local function updateBrightness(pass1)
local vars = {
brightness = {
value = pass1,
}
}
lighting.Brightness = vars.brightness.value
end
local ttoggle
local slider = world_tab:AddSlider({
name = "Brightness",
default = 2,
min = 0,
changeby = 1,
suffix = "",
max = 25,
callback = function(value)
updateBrightness(value)
end
})
end
do -- Color Shift
local function updateShift(pass1,pass2)
local vars = {
shift = {
toggle = pass1,
color = pass2,
default = Color3.fromRGB(0,0,0)
}
}
if vars.shift.toggle then
lighting.ColorShift_Top = vars.shift.color
else
lighting.ColorShift_Top = vars.shift.default
end
end
local ttoggle, tcolor
local toggle = world_tab:AddToggle({
name = "Color Shift",
default = false,
callback = function(state)
ttoggle = state
updateShift(ttoggle, tcolor)
end,
colorpicker = {
enabled = true,
color = Color3.fromRGB(255, 255, 255),
getcolor = function(color)
tcolor = color
updateShift(ttoggle, tcolor)
end
},
})
end
do -- Outdoor Ambience
local function updateOutdoor(pass1, pass2)
local vars = {
outdoor = {
toggle = pass1,
color = pass2,
default = Color3.fromRGB(128,128,128)
}
}
if vars.outdoor.toggle then
lighting.OutdoorAmbient = vars.outdoor.color
else
lighting.OutdoorAmbient = vars.outdoor.default
end
end
local ttoggle, tcolor
local toggle = world_tab:AddToggle({
name = "Outdoor",
default = false,
callback = function(state)
ttoggle = state
updateOutdoor(ttoggle, tcolor)
end,
colorpicker = {
enabled = true,
color = Color3.fromRGB(128, 128, 128),
getcolor = function(color)
tcolor = color
updateOutdoor(ttoggle, tcolor)
end
},
})
end
do -- Clock Time
local function updateTime(pass1)
local vars = {
time = {
value = pass1,
}
}
lighting.ClockTime = vars.time.value
end
local ttoggle
local slider = world_tab:AddSlider({
name = "Time",
default = 14,
min = 0,
changeby = 1,
suffix = "h",
max = 24,
callback = function(value)
updateTime(value)
end
})
end
do -- Fog
local function updateFog(pass1, pass2, pass3, pass4)
local vars = {
fog = {
toggle = pass1,
color = pass2,
start = pass3,
End = pass4,
default1 = Color3.fromRGB(192,192,192),
default2 = 10000,
default3 = 0
}
}
if pass3 == nil then
vars.fog.start = vars.fog.default2
elseif pass4 == nil then
vars.fog.End = vars.fog.default3
end
if vars.fog.toggle then
lighting.FogColor = vars.fog.color
lighting.FogEnd = vars.fog.End
lighting.FogStart = vars.fog.start
else
lighting.FogColor = vars.fog.default1
lighting.FogEnd = vars.fog.default2
lighting.FogStart = vars.fog.default3
end
end
local ttoggle, tcolor, End, start
local toggle = world_tab:AddToggle({
name = "Fog",
default = false,
callback = function(state)
ttoggle = state
updateFog(ttoggle, tcolor, End, start)
end,
colorpicker = {
enabled = true,
color = Color3.fromRGB(255, 255, 255),
getcolor = function(color)
tcolor = color
updateFog(ttoggle, tcolor, End, start)
end
},
})
local slider = world_tab:AddSlider({
name = "End",
default = 100,
min = 0,
changeby = 1,
suffix = "",
max = 100,
callback = function(value)
End = value * 100
updateFog(ttoggle, tcolor, start, value * 100)
end
})
local slider2 = world_tab:AddSlider({
name = "Start",
default = 0,
min = 0,
changeby = 1,
suffix = "",
max = 100,
callback = function(value)
start = value
updateFog(ttoggle, tcolor, value, End)
end
})
end
end
local Third = main:AddTab({
name = "misc"
})
local Fourth = main:AddTab({
name = "configs"
})join discord for free scripts https://discord.gg/kNqsszftAQ

Universal