Run it
Copy the script and paste it into your executor.
Kavo = {}
tween = :()
tweeninfo = TweenInfo.new
input = :()
run = :()
Utility = {}
Objects = {}
Kavo:(frame, parent)
parent = parent frame
dragging =
dragInput, mousePos, framePos
frame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
mousePos = input.Position
framePos = parent.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
frame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
dragInput = input
)
input.InputChanged:((input)
input == dragInput dragging
delta = input.Position - mousePos
parent.Position = .(framePos.X.Scale, framePos.X.Offset + delta.X, framePos.Y.Scale, framePos.Y.Offset + delta.Y)
)
Utility:(obj, properties, duration, ...)
tween:(obj, (duration, ...), properties):()
themes = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(,,),
ElementColor = .(, , )
}
themeStyles = {
DarkTheme = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(,,),
ElementColor = .(, , )
},
LightTheme = {
SchemeColor = .(, , ),
Background = .(,,),
Header = .(, , ),
TextColor = .(,,),
ElementColor = .(, , )
},
BloodTheme = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(,,),
ElementColor = .(, , )
},
GrapeTheme = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(,,),
ElementColor = .(, , )
},
Ocean = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(, , ),
ElementColor = .(, , )
},
Midnight = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(, , ),
ElementColor = .(, , )
},
Sentinel = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(, , ),
ElementColor = .(, , )
},
Synapse = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(, , ),
ElementColor = .(, , )
},
Serpent = {
SchemeColor = .(, , ),
Background = .(, , ),
Header = .(, , ),
TextColor = .(,,),
ElementColor = .(, , )
}
}
oldTheme =
SettingsT = {
}
Name =
(()
Settings = ::((Name))
)
LibName =
Kavo:()
pGui = .Players.LocalPlayer:()
main = pGui pGui:(LibName)
main
main.Enabled = main.Enabled
()
Kavo.(kavName, themeList)
themeList
themeList = themes
themeList ==
themeList = themeStyles.DarkTheme
themeList ==
themeList = themeStyles.LightTheme
themeList ==
themeList = themeStyles.BloodTheme
themeList ==
themeList = themeStyles.GrapeTheme
themeList ==
themeList = themeStyles.Ocean
themeList ==
themeList = themeStyles.Midnight
themeList ==
themeList = themeStyles.Sentinel
themeList ==
themeList = themeStyles.Synapse
themeList ==
themeList = themeStyles.Serpent
themeList.SchemeColor ==
themeList.SchemeColor = .(, , )
themeList.Background ==
themeList.Background = .(, , )
themeList.Header ==
themeList.Header = .(, , )
themeList.TextColor ==
themeList.TextColor = .(,,)
themeList.ElementColor ==
themeList.ElementColor = .(, , )
themeList = themeList {}
selectedTab
kavName = kavName
.(Kavo, kavName)
pGui = .Players.LocalPlayer:()
i, v (pGui:())
v:() (v.Name == kavName v.Name == LibName)
v:()
ScreenGui = .()
ScreenGui.Name = LibName
ScreenGui.Parent = .Players.LocalPlayer:()
ScreenGui.ResetOnSpawn =
Main = .()
MainCorner = .()
MainHeader = .()
headerCover = .()
coverup = .()
title = .()
close = .()
MainSide = .()
sideCorner = .()
coverup_2 = .()
tabFrames = .()
tabListing = .()
pages = .()
Pages = .()
infoContainer = .()
blurFrame = .()
Kavo:(MainHeader, Main)
blurFrame.Name =
blurFrame.Parent = pages
blurFrame.BackgroundColor3 = .(, , )
blurFrame.BackgroundTransparency =
blurFrame.BorderSizePixel =
blurFrame.Position = .(-, , -, )
blurFrame.Size = .(, , , )
blurFrame.ZIndex =
ScreenGui.Name = LibName
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.ResetOnSpawn =
Main.Name =
Main.Parent = ScreenGui
Main.BackgroundColor3 = themeList.Background
Main.ClipsDescendants =
Main.Position = .(, , , )
Main.Size = .(, , , )
DragDetector = .()
DragDetector.Parent = pGui:():()
ToggleButton = .()
ScreenGui2 = .()
ScreenGui2.Name =
ScreenGui2.Parent = pGui
ScreenGui2.ResetOnSpawn =
ToggleButton.Name =
ToggleButton.Text =
ToggleButton.Size = .(, , , )
ToggleButton.Position = .(, , , )
ToggleButton.TextColor3 = .(, , )
ToggleButton.BackgroundColor3 = .(, , )
ToggleButton.ZIndex =
ToggleButton.Parent = ScreenGui2
btnCorner = .()
btnCorner.CornerRadius = .(, )
btnCorner.Parent = ToggleButton
ToggleButton.Activated:(()
Kavo:()
)
MainCorner.CornerRadius = .(, )
MainCorner.Name =
MainCorner.Parent = Main
MainHeader.Name =
MainHeader.Parent = Main
MainHeader.BackgroundColor3 = themeList.Header
Objects[MainHeader] =
MainHeader.Size = .(, , , )
headerCover.CornerRadius = .(, )
headerCover.Name =
headerCover.Parent = MainHeader
coverup.Name =
coverup.Parent = MainHeader
coverup.BackgroundColor3 = themeList.Header
Objects[coverup] =
coverup.BorderSizePixel =
coverup.Position = .(, , , )
coverup.Size = .(, , , )
title.Name =
title.Parent = MainHeader
title.BackgroundColor3 = .(, , )
title.BackgroundTransparency =
title.BorderSizePixel =
title.Position = .(, , , )
title.Size = .(, , , )
title.Font = .Font.Gotham
title.RichText =
title.Text = kavName
title.TextColor3 = .(, , )
title.TextSize =
title.TextXAlignment = .TextXAlignment.Left
close.Name =
close.Parent = MainHeader
close.BackgroundTransparency =
close.Position = .(, , , )
close.Size = .(, , , )
close.ZIndex =
close.Image =
close.ImageRectOffset = .(, )
close.ImageRectSize = .(, )
close.MouseButton1Click:(()
.TweenService:(close, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.InOut), {
ImageTransparency =
}):()
()
.TweenService:(Main, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {
Size = .(,,,),
Position = .(, Main.AbsolutePosition.X + (Main.AbsoluteSize.X / ), , Main.AbsolutePosition.Y + (Main.AbsoluteSize.Y / ))
}):()
()
ScreenGui:()
)
MainSide.Name =
MainSide.Parent = Main
MainSide.BackgroundColor3 = themeList.Header
Objects[MainSide] =
MainSide.Position = .(-, , , )
MainSide.Size = .(, , , )
sideCorner.CornerRadius = .(, )
sideCorner.Name =
sideCorner.Parent = MainSide
coverup_2.Name =
coverup_2.Parent = MainSide
coverup_2.BackgroundColor3 = themeList.Header
Objects[coverup_2] =
coverup_2.BorderSizePixel =
coverup_2.Position = .(, , , )
coverup_2.Size = .(, , , )
tabFrames.Name =
tabFrames.Parent = MainSide
tabFrames.BackgroundColor3 = .(, , )
tabFrames.BackgroundTransparency =
tabFrames.Position = .(, , -, )
tabFrames.Size = .(, , , )
tabListing.Name =
tabListing.Parent = tabFrames
tabListing.SortOrder = .SortOrder.LayoutOrder
pages.Name =
pages.Parent = Main
pages.BackgroundColor3 = .(, , )
pages.BackgroundTransparency =
pages.BorderSizePixel =
pages.Position = .(, , , )
pages.Size = .(, , , )
Pages.Name =
Pages.Parent = pages
infoContainer.Name =
infoContainer.Parent = Main
infoContainer.BackgroundColor3 = .(, , )
infoContainer.BackgroundTransparency =
infoContainer.BorderColor3 = .(, , )
infoContainer.ClipsDescendants =
infoContainer.Position = .(, , , )
infoContainer.Size = .(, , , )
.(()
()
Main.BackgroundColor3 = themeList.Background
MainHeader.BackgroundColor3 = themeList.Header
MainSide.BackgroundColor3 = themeList.Header
coverup_2.BackgroundColor3 = themeList.Header
coverup.BackgroundColor3 = themeList.Header
)()
Kavo:(prope,color)
prope ==
themeList.Background = color
prope ==
themeList.SchemeColor = color
prope ==
themeList.Header = color
prope ==
themeList.TextColor = color
prope ==
themeList.ElementColor = color
Tabs = {}
first =
Tabs:(tabName)
tabName = tabName
tabButton = .()
UICorner = .()
page = .()
pageListing = .()
()
cS = pageListing.AbsoluteContentSize
.TweenService:(page, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
CanvasSize = .(,cS.X,,cS.Y)
}):()
page.Name =
page.Parent = Pages
page.Active =
page.BackgroundColor3 = themeList.Background
page.BorderSizePixel =
page.Position = .(, , -, )
page.Size = .(, , , )
page.ScrollBarThickness =
page.Visible =
page.ScrollBarImageColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
pageListing.Name =
pageListing.Parent = page
pageListing.SortOrder = .SortOrder.LayoutOrder
pageListing.Padding = .(, )
tabButton.Name = tabName..
tabButton.Parent = tabFrames
tabButton.BackgroundColor3 = themeList.SchemeColor
Objects[tabButton] =
tabButton.Size = .(, , , )
tabButton.AutoButtonColor =
tabButton.Font = .Font.Gotham
tabButton.Text = tabName
tabButton.TextColor3 = themeList.TextColor
Objects[tabButton] =
tabButton.TextSize =
tabButton.BackgroundTransparency =
first
first =
page.Visible =
tabButton.BackgroundTransparency =
()
page.Visible =
tabButton.BackgroundTransparency =
UICorner.CornerRadius = .(, )
UICorner.Parent = tabButton
.(Tabs, tabName)
()
page.ChildAdded:(UpdateSize)
page.ChildRemoved:(UpdateSize)
tabButton.MouseButton1Click:(()
()
i,v , Pages:()
v.Visible =
page.Visible =
i,v , tabFrames:()
v:()
themeList.SchemeColor == .(,,)
Utility:(v, {TextColor3 = .(,,)}, )
themeList.SchemeColor == .(,,)
Utility:(v, {TextColor3 = .(,,)}, )
Utility:(v, {BackgroundTransparency = }, )
themeList.SchemeColor == .(,,)
Utility:(tabButton, {TextColor3 = .(,,)}, )
themeList.SchemeColor == .(,,)
Utility:(tabButton, {TextColor3 = .(,,)}, )
Utility:(tabButton, {BackgroundTransparency = }, )
)
Sections = {}
focusing =
viewDe =
.(()
()
page.BackgroundColor3 = themeList.Background
page.ScrollBarImageColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
tabButton.TextColor3 = themeList.TextColor
tabButton.BackgroundColor3 = themeList.SchemeColor
)()
Sections:(secName, hidden)
secName = secName
sectionFunctions = {}
modules = {}
hidden = hidden
sectionFrame = .()
sectionlistoknvm = .()
sectionHead = .()
sHeadCorner = .()
sectionName = .()
sectionInners = .()
sectionElListing = .()
hidden
sectionHead.Visible =
sectionHead.Visible =
sectionFrame.Name =
sectionFrame.Parent = page
sectionFrame.BackgroundColor3 = themeList.Background
sectionFrame.BorderSizePixel =
sectionlistoknvm.Name =
sectionlistoknvm.Parent = sectionFrame
sectionlistoknvm.SortOrder = .SortOrder.LayoutOrder
sectionlistoknvm.Padding = .(, )
i,v (sectionInners:())
()
v:() v:()
(pro)
pro ==
()
()
v.Changed:(size)
sectionHead.Name =
sectionHead.Parent = sectionFrame
sectionHead.BackgroundColor3 = themeList.SchemeColor
Objects[sectionHead] =
sectionHead.Size = .(, , , )
sHeadCorner.CornerRadius = .(, )
sHeadCorner.Name =
sHeadCorner.Parent = sectionHead
sectionName.Name =
sectionName.Parent = sectionHead
sectionName.BackgroundColor3 = .(, , )
sectionName.BackgroundTransparency =
sectionName.BorderColor3 = .(, , )
sectionName.Position = .(, , , )
sectionName.Size = .(, , , )
sectionName.Font = .Font.Gotham
sectionName.Text = secName
sectionName.RichText =
sectionName.TextColor3 = themeList.TextColor
Objects[sectionName] =
sectionName.TextSize =
sectionName.TextXAlignment = .TextXAlignment.Left
themeList.SchemeColor == .(,,)
Utility:(sectionName, {TextColor3 = .(,,)}, )
themeList.SchemeColor == .(,,)
Utility:(sectionName, {TextColor3 = .(,,)}, )
sectionInners.Name =
sectionInners.Parent = sectionFrame
sectionInners.BackgroundColor3 = .(, , )
sectionInners.BackgroundTransparency =
sectionInners.Position = .(, , , )
sectionElListing.Name =
sectionElListing.Parent = sectionInners
sectionElListing.SortOrder = .SortOrder.LayoutOrder
sectionElListing.Padding = .(, )
.(()
()
sectionFrame.BackgroundColor3 = themeList.Background
sectionHead.BackgroundColor3 = themeList.SchemeColor
tabButton.TextColor3 = themeList.TextColor
tabButton.BackgroundColor3 = themeList.SchemeColor
sectionName.TextColor3 = themeList.TextColor
)()
()
innerSc = sectionElListing.AbsoluteContentSize
sectionInners.Size = .(, , , innerSc.Y)
frameSc = sectionlistoknvm.AbsoluteContentSize
sectionFrame.Size = .(, , , frameSc.Y)
()
()
Elements = {}
Elements:(bname,tipINf, callback)
showLogo = showLogo
ButtonFunction = {}
tipINf = tipINf
bname = bname
callback = callback ()
buttonElement = .()
UICorner = .()
btnInfo = .()
viewInfo = .()
touch = .()
Sample = .()
.(modules, bname)
buttonElement.Name = bname
buttonElement.Parent = sectionInners
buttonElement.BackgroundColor3 = themeList.ElementColor
buttonElement.ClipsDescendants =
buttonElement.Size = .(, , , )
buttonElement.AutoButtonColor =
buttonElement.Font = .Font.SourceSans
buttonElement.Text =
buttonElement.TextColor3 = .(, , )
buttonElement.TextSize =
Objects[buttonElement] =
UICorner.CornerRadius = .(, )
UICorner.Parent = buttonElement
viewInfo.Name =
viewInfo.Parent = buttonElement
viewInfo.BackgroundTransparency =
viewInfo.LayoutOrder =
viewInfo.Position = .(, , , )
viewInfo.Size = .(, , , )
viewInfo.ZIndex =
viewInfo.Image =
viewInfo.ImageColor3 = themeList.SchemeColor
Objects[viewInfo] =
viewInfo.ImageRectOffset = .(, )
viewInfo.ImageRectSize = .(, )
Sample.Name =
Sample.Parent = buttonElement
Sample.BackgroundColor3 = .(, , )
Sample.BackgroundTransparency =
Sample.Image =
Sample.ImageColor3 = themeList.SchemeColor
Objects[Sample] =
Sample.ImageTransparency =
moreInfo = .()
UICorner = .()
moreInfo.Name =
moreInfo.Parent = infoContainer
moreInfo.BackgroundColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
moreInfo.Position = .(, , , )
moreInfo.Size = .(, , , )
moreInfo.ZIndex =
moreInfo.Font = .Font.GothamSemibold
moreInfo.Text = ..tipINf
moreInfo.RichText =
moreInfo.TextColor3 = themeList.TextColor
Objects[moreInfo] =
moreInfo.TextSize =
moreInfo.TextXAlignment = .TextXAlignment.Left
Objects[moreInfo] =
UICorner.CornerRadius = .(, )
UICorner.Parent = moreInfo
touch.Name =
touch.Parent = buttonElement
touch.BackgroundColor3 = .(, , )
touch.BackgroundTransparency =
touch.BorderColor3 = .(, , )
touch.Position = .(, , , )
touch.Size = .(, , , )
touch.Image =
touch.ImageColor3 = themeList.SchemeColor
Objects[touch] =
touch.ImageRectOffset = .(, )
touch.ImageRectSize = .(, )
touch.ImageTransparency =
btnInfo.Name =
btnInfo.Parent = buttonElement
btnInfo.BackgroundColor3 = .(, , )
btnInfo.BackgroundTransparency =
btnInfo.Position = .(, , , )
btnInfo.Size = .(, , , )
btnInfo.Font = .Font.GothamSemibold
btnInfo.Text = bname
btnInfo.RichText =
btnInfo.TextColor3 = themeList.TextColor
Objects[btnInfo] =
btnInfo.TextSize =
btnInfo.TextXAlignment = .TextXAlignment.Left
themeList.SchemeColor == .(,,)
Utility:(moreInfo, {TextColor3 = .(,,)}, )
themeList.SchemeColor == .(,,)
Utility:(moreInfo, {TextColor3 = .(,,)}, )
()
()
ms = .Players.LocalPlayer:()
btn = buttonElement
sample = Sample
btn.MouseButton1Click:(()
focusing
()
c = sample:()
c.Parent = btn
x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = .(, x, , y)
len, size = ,
btn.AbsoluteSize.X >= btn.AbsoluteSize.Y
size = (btn.AbsoluteSize.X * )
size = (btn.AbsoluteSize.Y * )
c:(.(, size, , size), .(, (-size / ), , (-size / )), , , len, , )
i = ,
c.ImageTransparency = c.ImageTransparency +
(len / )
c:()
i,v , infoContainer:()
Utility:(v, {Position = .(,,,)}, )
focusing =
Utility:(blurFrame, {BackgroundTransparency = }, )
)
hovering =
btn.MouseEnter:(()
focusing
.TweenService:(btn, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
BackgroundColor3 = .(themeList.ElementColor.r * + , themeList.ElementColor.g * + , themeList.ElementColor.b * + )
}):()
hovering =
)
btn.MouseLeave:(()
focusing
.TweenService:(btn, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):()
hovering =
)
viewInfo.MouseButton1Click:(()
viewDe
viewDe =
focusing =
i,v , infoContainer:()
v ~= moreInfo
Utility:(v, {Position = .(,,,)}, )
Utility:(moreInfo, {Position = .(,,,)}, )
Utility:(blurFrame, {BackgroundTransparency = }, )
Utility:(btn, {BackgroundColor3 = themeList.ElementColor}, )
()
focusing =
Utility:(moreInfo, {Position = .(,,,)}, )
Utility:(blurFrame, {BackgroundTransparency = }, )
()
viewDe =
)
.(()
()
hovering
buttonElement.BackgroundColor3 = themeList.ElementColor
viewInfo.ImageColor3 = themeList.SchemeColor
Sample.ImageColor3 = themeList.SchemeColor
moreInfo.BackgroundColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
moreInfo.TextColor3 = themeList.TextColor
touch.ImageColor3 = themeList.SchemeColor
btnInfo.TextColor3 = themeList.TextColor
)()
ButtonFunction:(newTitle)
btnInfo.Text = newTitle
ButtonFunction
Elements:(tname, tTip, callback)
tname = tname
tTip = tTip
callback = callback ()
textboxElement = .()
UICorner = .()
viewInfo = .()
write = .()
TextBox = .()
UICorner_2 = .()
togName = .()
textboxElement.Name =
textboxElement.Parent = sectionInners
textboxElement.BackgroundColor3 = themeList.ElementColor
textboxElement.ClipsDescendants =
textboxElement.Size = .(, , , )
textboxElement.AutoButtonColor =
textboxElement.Font = .Font.SourceSans
textboxElement.Text =
textboxElement.TextColor3 = .(, , )
textboxElement.TextSize =
UICorner.CornerRadius = .(, )
UICorner.Parent = textboxElement
viewInfo.Name =
viewInfo.Parent = textboxElement
viewInfo.BackgroundTransparency =
viewInfo.LayoutOrder =
viewInfo.Position = .(, , , )
viewInfo.Size = .(, , , )
viewInfo.ZIndex =
viewInfo.Image =
viewInfo.ImageColor3 = themeList.SchemeColor
viewInfo.ImageRectOffset = .(, )
viewInfo.ImageRectSize = .(, )
write.Name =
write.Parent = textboxElement
write.BackgroundColor3 = .(, , )
write.BackgroundTransparency =
write.BorderColor3 = .(, , )
write.Position = .(, , , )
write.Size = .(, , , )
write.Image =
write.ImageColor3 = themeList.SchemeColor
write.ImageRectOffset = .(, )
write.ImageRectSize = .(, )
TextBox.Parent = textboxElement
TextBox.BackgroundColor3 = .(themeList.ElementColor.r * - , themeList.ElementColor.g * - , themeList.ElementColor.b * - )
TextBox.BorderSizePixel =
TextBox.ClipsDescendants =
TextBox.Position = .(, , , )
TextBox.Size = .(, , , )
TextBox.ZIndex =
TextBox.ClearTextOnFocus =
TextBox.Font = .Font.Gotham
TextBox.PlaceholderColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
TextBox.PlaceholderText =
TextBox.Text =
TextBox.TextColor3 = themeList.SchemeColor
TextBox.TextSize =
UICorner_2.CornerRadius = .(, )
UICorner_2.Parent = TextBox
togName.Name =
togName.Parent = textboxElement
togName.BackgroundColor3 = .(, , )
togName.BackgroundTransparency =
togName.Position = .(, , , )
togName.Size = .(, , , )
togName.Font = .Font.GothamSemibold
togName.Text = tname
togName.RichText =
togName.TextColor3 = themeList.TextColor
togName.TextSize =
togName.TextXAlignment = .TextXAlignment.Left
moreInfo = .()
UICorner = .()
moreInfo.Name =
moreInfo.Parent = infoContainer
moreInfo.BackgroundColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
moreInfo.Position = .(, , , )
moreInfo.Size = .(, , , )
moreInfo.ZIndex =
moreInfo.Font = .Font.GothamSemibold
moreInfo.RichText =
moreInfo.Text = ..tTip
moreInfo.TextColor3 = .(, , )
moreInfo.TextSize =
moreInfo.TextXAlignment = .TextXAlignment.Left
themeList.SchemeColor == .(,,)
Utility:(moreInfo, {TextColor3 = .(,,)}, )
themeList.SchemeColor == .(,,)
Utility:(moreInfo, {TextColor3 = .(,,)}, )
UICorner.CornerRadius = .(, )
UICorner.Parent = moreInfo
()
()
btn = textboxElement
infBtn = viewInfo
btn.MouseButton1Click:(()
focusing
i,v , infoContainer:()
Utility:(v, {Position = .(,,,)}, )
focusing =
Utility:(blurFrame, {BackgroundTransparency = }, )
)
hovering =
btn.MouseEnter:(()
focusing
.TweenService:(btn, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
BackgroundColor3 = .(themeList.ElementColor.r * + , themeList.ElementColor.g * + , themeList.ElementColor.b * + )
}):()
hovering =
)
btn.MouseLeave:(()
focusing
.TweenService:(btn, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):()
hovering =
)
TextBox.FocusLost:((EnterPressed)
focusing
i,v , infoContainer:()
Utility:(v, {Position = .(,,,)}, )
focusing =
Utility:(blurFrame, {BackgroundTransparency = }, )
EnterPressed
(TextBox.Text)
()
TextBox.Text =
)
viewInfo.MouseButton1Click:(()
viewDe
viewDe =
focusing =
i,v , infoContainer:()
v ~= moreInfo
Utility:(v, {Position = .(,,,)}, )
Utility:(moreInfo, {Position = .(,,,)}, )
Utility:(blurFrame, {BackgroundTransparency = }, )
Utility:(btn, {BackgroundColor3 = themeList.ElementColor}, )
()
focusing =
Utility:(moreInfo, {Position = .(,,,)}, )
Utility:(blurFrame, {BackgroundTransparency = }, )
()
viewDe =
)
.(()
()
hovering
textboxElement.BackgroundColor3 = themeList.ElementColor
TextBox.BackgroundColor3 = .(themeList.ElementColor.r * - , themeList.ElementColor.g * - , themeList.ElementColor.b * - )
viewInfo.ImageColor3 = themeList.SchemeColor
moreInfo.BackgroundColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
moreInfo.TextColor3 = themeList.TextColor
write.ImageColor3 = themeList.SchemeColor
togName.TextColor3 = themeList.TextColor
TextBox.PlaceholderColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
TextBox.TextColor3 = themeList.SchemeColor
)()
Elements:(tname, nTip, callback)
TogFunction = {}
tname = tname
nTip = nTip
callback = callback ()
toggled =
.(SettingsT, tname)
toggleElement = .()
UICorner = .()
toggleDisabled = .()
toggleEnabled = .()
togName = .()
viewInfo = .()
Sample = .()
toggleElement.Name =
toggleElement.Parent = sectionInners
toggleElement.BackgroundColor3 = themeList.ElementColor
toggleElement.ClipsDescendants =
toggleElement.Size = .(, , , )
toggleElement.AutoButtonColor =
toggleElement.Font = .Font.SourceSans
toggleElement.Text =
toggleElement.TextColor3 = .(, , )
toggleElement.TextSize =
UICorner.CornerRadius = .(, )
UICorner.Parent = toggleElement
toggleDisabled.Name =
toggleDisabled.Parent = toggleElement
toggleDisabled.BackgroundColor3 = .(, , )
toggleDisabled.BackgroundTransparency =
toggleDisabled.Position = .(, , , )
toggleDisabled.Size = .(, , , )
toggleDisabled.Image =
toggleDisabled.ImageColor3 = themeList.SchemeColor
toggleDisabled.ImageRectOffset = .(, )
toggleDisabled.ImageRectSize = .(, )
toggleEnabled.Name =
toggleEnabled.Parent = toggleElement
toggleEnabled.BackgroundColor3 = .(, , )
toggleEnabled.BackgroundTransparency =
toggleEnabled.Position = .(, , , )
toggleEnabled.Size = .(, , , )
toggleEnabled.Image =
toggleEnabled.ImageColor3 = themeList.SchemeColor
toggleEnabled.ImageRectOffset = .(, )
toggleEnabled.ImageRectSize = .(, )
toggleEnabled.ImageTransparency =
togName.Name =
togName.Parent = toggleElement
togName.BackgroundColor3 = .(, , )
togName.BackgroundTransparency =
togName.Position = .(, , , )
togName.Size = .(, , , )
togName.Font = .Font.GothamSemibold
togName.Text = tname
togName.RichText =
togName.TextColor3 = themeList.TextColor
togName.TextSize =
togName.TextXAlignment = .TextXAlignment.Left
viewInfo.Name =
viewInfo.Parent = toggleElement
viewInfo.BackgroundTransparency =
viewInfo.LayoutOrder =
viewInfo.Position = .(, , , )
viewInfo.Size = .(, , , )
viewInfo.ZIndex =
viewInfo.Image =
viewInfo.ImageColor3 = themeList.SchemeColor
viewInfo.ImageRectOffset = .(, )
viewInfo.ImageRectSize = .(, )
Sample.Name =
Sample.Parent = toggleElement
Sample.BackgroundColor3 = .(, , )
Sample.BackgroundTransparency =
Sample.Image =
Sample.ImageColor3 = themeList.SchemeColor
Sample.ImageTransparency =
moreInfo = .()
UICorner = .()
moreInfo.Name =
moreInfo.Parent = infoContainer
moreInfo.BackgroundColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
moreInfo.Position = .(, , , )
moreInfo.Size = .(, , , )
moreInfo.ZIndex =
moreInfo.Font = .Font.GothamSemibold
moreInfo.RichText =
moreInfo.Text = ..nTip
moreInfo.TextColor3 = themeList.TextColor
moreInfo.TextSize =
moreInfo.TextXAlignment = .TextXAlignment.Left
UICorner.CornerRadius = .(, )
UICorner.Parent = moreInfo
ms = .Players.LocalPlayer:()
themeList.SchemeColor == .(,,)
Utility:(moreInfo, {TextColor3 = .(,,)}, )
themeList.SchemeColor == .(,,)
Utility:(moreInfo, {TextColor3 = .(,,)}, )
btn = toggleElement
sample = Sample
img = toggleEnabled
infBtn = viewInfo
()
()
btn.MouseButton1Click:(()
focusing
toggled ==
.TweenService:(img, TweenInfo.(, .EasingStyle.Linear,.EasingDirection.In), {
ImageTransparency =
}):()
c = sample:()
c.Parent = btn
x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = .(, x, , y)
len, size = ,
btn.AbsoluteSize.X >= btn.AbsoluteSize.Y
size = (btn.AbsoluteSize.X * )
size = (btn.AbsoluteSize.Y * )
c:(.(, size, , size), .(, (-size / ), , (-size / )), , , len, , )
i = ,
c.ImageTransparency = c.ImageTransparency +
(len / )
c:()
.TweenService:(img, TweenInfo.(, .EasingStyle.Linear,.EasingDirection.In), {
ImageTransparency =
}):()
c = sample:()
c.Parent = btn
x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = .(, x, , y)
len, size = ,
btn.AbsoluteSize.X >= btn.AbsoluteSize.Y
size = (btn.AbsoluteSize.X * )
size = (btn.AbsoluteSize.Y * )
c:(.(, size, , size), .(, (-size / ), , (-size / )), , , len, , )
i = ,
c.ImageTransparency = c.ImageTransparency +
(len / )
c:()
toggled = toggled
(callback, toggled)
i,v , infoContainer:()
Utility:(v, {Position = .(,,,)}, )
focusing =
Utility:(blurFrame, {BackgroundTransparency = }, )
)
hovering =
btn.MouseEnter:(()
focusing
.TweenService:(btn, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
BackgroundColor3 = .(themeList.ElementColor.r * + , themeList.ElementColor.g * + , themeList.ElementColor.b * + )
}):()
hovering =
)
btn.MouseLeave:(()
focusing
.TweenService:(btn, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):()
hovering =
)
.(()
()
hovering
toggleElement.BackgroundColor3 = themeList.ElementColor
toggleDisabled.ImageColor3 = themeList.SchemeColor
toggleEnabled.ImageColor3 = themeList.SchemeColor
togName.TextColor3 = themeList.TextColor
viewInfo.ImageColor3 = themeList.SchemeColor
Sample.ImageColor3 = themeList.SchemeColor
moreInfo.BackgroundColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
moreInfo.TextColor3 = themeList.TextColor
)()
viewInfo.MouseButton1Click:(()
viewDe
viewDe =
focusing =
i,v , infoContainer:()
v ~= moreInfo
Utility:(v, {Position = .(,,,)}, )
Utility:(moreInfo, {Position = .(,,,)}, )
Utility:(blurFrame, {BackgroundTransparency = }, )
Utility:(btn, {BackgroundColor3 = themeList.ElementColor}, )
()
focusing =
Utility:(moreInfo, {Position = .(,,,)}, )
Utility:(blurFrame, {BackgroundTransparency = }, )
()
viewDe =
)
TogFunction:(newText, isTogOn)
isTogOn = isTogOn toggle
newText ~=
togName.Text = newText
isTogOn
toggled =
.TweenService:(img, TweenInfo.(, .EasingStyle.Linear,.EasingDirection.In), {
ImageTransparency =
}):()
(callback, toggled)
toggled =
.TweenService:(img, TweenInfo.(, .EasingStyle.Linear,.EasingDirection.In), {
ImageTransparency =
}):()
(callback, toggled)
TogFunction
Elements:(slidInf, slidTip, maxvalue, minvalue, callback)
slidInf = slidInf
slidTip = slidTip
maxvalue = maxvalue
minvalue = minvalue
startVal = startVal
callback = callback ()
sliderElement = .()
UICorner = .()
togName = .()
viewInfo = .()
sliderBtn = .()
UICorner_2 = .()
UIListLayout = .()
sliderDrag = .()
UICorner_3 = .()
write = .()
val = .()
sliderElement.Name =
sliderElement.Parent = sectionInners
sliderElement.BackgroundColor3 = themeList.ElementColor
sliderElement.ClipsDescendants =
sliderElement.Size = .(, , , )
sliderElement.AutoButtonColor =
sliderElement.Font = .Font.SourceSans
sliderElement.Text =
sliderElement.TextColor3 = .(, , )
sliderElement.TextSize =
UICorner.CornerRadius = .(, )
UICorner.Parent = sliderElement
togName.Name =
togName.Parent = sliderElement
togName.BackgroundColor3 = .(, , )
togName.BackgroundTransparency =
togName.Position = .(, , , )
togName.Size = .(, , , )
togName.Font = .Font.GothamSemibold
togName.Text = slidInf
togName.RichText =
togName.TextColor3 = themeList.TextColor
togName.TextSize =
togName.TextXAlignment = .TextXAlignment.Left
viewInfo.Name =
viewInfo.Parent = sliderElement
viewInfo.BackgroundTransparency =
viewInfo.LayoutOrder =
viewInfo.Position = .(, , , )
viewInfo.Size = .(, , , )
viewInfo.ZIndex =
viewInfo.Image =
viewInfo.ImageColor3 = themeList.SchemeColor
viewInfo.ImageRectOffset = .(, )
viewInfo.ImageRectSize = .(, )
sliderBtn.Name =
sliderBtn.Parent = sliderElement
sliderBtn.BackgroundColor3 = .(themeList.ElementColor.r * + , themeList.ElementColor.g * + , themeList.ElementColor.b * + )
sliderBtn.BorderSizePixel =
sliderBtn.Position = .(, , , )
sliderBtn.Size = .(, , , )
sliderBtn.AutoButtonColor =
sliderBtn.Font = .Font.SourceSans
sliderBtn.Text =
sliderBtn.TextColor3 = .(, , )
sliderBtn.TextSize =
UICorner_2.Parent = sliderBtn
UIListLayout.Parent = sliderBtn
UIListLayout.SortOrder = .SortOrder.LayoutOrder
UIListLayout.VerticalAlignment = .VerticalAlignment.Center
sliderDrag.Name =
sliderDrag.Parent = sliderBtn
sliderDrag.BackgroundColor3 = themeList.SchemeColor
sliderDrag.BorderColor3 = .(, , )
sliderDrag.BorderSizePixel =
sliderDrag.Size = .(-, ,,)
UICorner_3.Parent = sliderDrag
write.Name =
write.Parent = sliderElement
write.BackgroundColor3 = .(, , )
write.BackgroundTransparency =
write.BorderColor3 = .(, , )
write.Position = .(, , , )
write.Size = .(, , , )
write.Image =
write.ImageColor3 = themeList.SchemeColor
write.ImageRectOffset = .(, )
write.ImageRectSize = .(, )
val.Name =
val.Parent = sliderElement
val.BackgroundColor3 = .(, , )
val.BackgroundTransparency =
val.Position = .(, , , )
val.Size = .(, , , )
val.Font = .Font.GothamSemibold
val.Text = minvalue
val.TextColor3 = themeList.TextColor
val.TextSize =
val.TextTransparency =
val.TextXAlignment = .TextXAlignment.Right
moreInfo = .()
UICorner = .()
moreInfo.Name =
moreInfo.Parent = infoContainer
moreInfo.BackgroundColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
moreInfo.Position = .(, , , )
moreInfo.Size = .(, , , )
moreInfo.ZIndex =
moreInfo.Font = .Font.GothamSemibold
moreInfo.Text = ..slidTip
moreInfo.TextColor3 = themeList.TextColor
moreInfo.TextSize =
moreInfo.RichText =
moreInfo.TextXAlignment = .TextXAlignment.Left
UICorner.CornerRadius = .(, )
UICorner.Parent = moreInfo
themeList.SchemeColor == .(,,)
Utility:(moreInfo, {TextColor3 = .(,,)}, )
themeList.SchemeColor == .(,,)
Utility:(moreInfo, {TextColor3 = .(,,)}, )
()
()
mouse = :().LocalPlayer:();
ms = .Players.LocalPlayer:()
uis = :()
btn = sliderElement
infBtn = viewInfo
hovering =
btn.MouseEnter:(()
focusing
.TweenService:(btn, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
BackgroundColor3 = .(themeList.ElementColor.r * + , themeList.ElementColor.g * + , themeList.ElementColor.b * + )
}):()
hovering =
)
btn.MouseLeave:(()
focusing
.TweenService:(btn, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):()
hovering =
)
.(()
()
hovering
sliderElement.BackgroundColor3 = themeList.ElementColor
moreInfo.TextColor3 = themeList.TextColor
moreInfo.BackgroundColor3 = .(themeList.SchemeColor.r * - , themeList.SchemeColor.g * - , themeList.SchemeColor.b * - )
val.TextColor3 = themeList.TextColor
write.ImageColor3 = themeList.SchemeColor
togName.TextColor3 = themeList.TextColor
viewInfo.ImageColor3 = themeList.SchemeColor
sliderBtn.BackgroundColor3 = .(themeList.ElementColor.r * + , themeList.ElementColor.g * + , themeList.ElementColor.b * + )
sliderDrag.BackgroundColor3 = themeList.SchemeColor
)()
Value
sliderBtn.MouseButton1Down:(()
focusing
.TweenService:(val, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
TextTransparency =
}):()
Value = .(((((maxvalue) - (minvalue)) / ) * sliderDrag.AbsoluteSize.X) + (minvalue))
(()
(Value)
)
sliderDrag:(.(, .(mouse.X - sliderDrag.AbsolutePosition.X, , ), , ), , , , )
moveconnection = mouse.Move:(()
val.Text = Value
Value = .(((((maxvalue) - (minvalue)) / ) * sliderDrag.AbsoluteSize.X) + (minvalue))
(()
(Value)
)
sliderDrag:(.(, .(mouse.X - sliderDrag.AbsolutePosition.X, , ), , ), , , , )
)
releaseconnection = uis.InputEnded:((Mouse)
Mouse.UserInputType == .UserInputType.MouseButton1
Value = .(((((maxvalue) - (minvalue)) / ) * sliderDrag.AbsoluteSize.X) + (minvalue))
(()
(Value)
)
val.Text = Value
.TweenService:(val, TweenInfo.(, .EasingStyle.Linear, .EasingDirection.In), {
TextTransparency =
}):()
sliderDrag:(.(, .(mouse.X - sliderDrag.AbsolutePosition.X, , ), , ), , , , )
moveconnection:()
releaseconnection:()
)
i,v , infoContainer:()
Utility:(v, {Position = .(,,,)}, )
focusing =
Utility:(blurFrame, {BackgroundTransparency = }, )
)
viewInfo.MouseButton1Click:(()
viewDe
viewDe =
focusing =
i,v , infoContainer:()
v ~= moreInfo
Utility:(v, {Position = .(,,,)}, )
Utility:(moreInfo, {Position = .(,,,)}, )
Utility:(blurFrame, {BackgroundTransparency = }, )
Utility:(btn, {BackgroundColor3 = themeList.ElementColor}, )
()
focusing =
Utility:(moreInfo, {Position = .(,,,)}, )
Utility:(blurFrame, {BackgroundTransparency = }, )
()
viewDe =
)
Elements:(dropname, dropinf, list, callback)
DropFunction = {}
dropname = dropname
list = list {}
dropinf = dropinf
callback = callback ()
opened =
DropYSize =
dropFrame = .()
dropOpen = .()
listImg = .()
itemTextbox = .()
viewInfo = .()
UICorner = .()
UIListLayout = .()
Sample = .()
ms = .Players.LocalPlayer:()
Sample.Name =
Sample.Parent = dropOpen
Sample.BackgroundColor3 = .(, , )
Sample.BackgroundTransparency =
Sample.Image =
Sample.ImageColor3 = themeList.SchemeColor
Sample.ImageTransparency =
dropFrame.Name =
dropFrame.Parent = sectionInners
dropFrame.BackgroundColor3 = themeList.Background
dropFrame.BorderSizePixel =
dropFrame.Position = .(, , , )
dropFrame.Size = .(, , , )
dropFrame.ClipsDescendants =
sample = Sample
btn = dropOpen
dropOpen.Name =
dropOpen.Parent = dropFrame
dropOpen.BackgroundColor3 = themeList.ElementColor
dropOpen.Size = .(, , , )
dropOpen.AutoButtonColor =
dropOpen.Font = .Font.SourceSans
dropOpen.Text =
dropOpen.TextColor3 = .(, , )
dropOpen.TextSize =
dropOpen.ClipsDescendants =
dropOpen.MouseButton1Click:(()
focusing
opened
opened =
dropFrame:(.(, , , ), , , )
()
()
()
c = sample:()
c.Parent = btn
x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = .(, x, , y)
len, size = ,
btn.AbsoluteSize.X >= btn.AbsoluteSize.Y
size = (btn.AbsoluteSize.X * )
size = (btn.AbsoluteSize.Y * )
c:(.(, size, , size), .(, (-size / ), , (-size / )), , , len, , )
i = ,
c.ImageTransparency = c.ImageTransparency +
(len / )
c:()
opened =
dropFrame:(.(, , , UIListLayout.AbsoluteContentSize.Y), , , , )
()
()
()
c = sample:()
c.Parent = btn
x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = .(, x, , y)
len, size = ,
btn.AbsoluteSize.X >= btn.AbsoluteSize.Y
size = (btn.AbsoluteSize.X * )
size = (btn.AbsoluteSize.Y * )
c:(.(, size, , size), .(, (-size / ), , (-size / )), , , len, , )
i = ,
c.ImageTransparency = c.ImageTransparency +
(len / )
c:()
i,v , infoContainer:()
Utility:(v, {Position = .(,,,)}, )
focusing =
Utility:(blurFrame, {BackgroundTransparency = }, )
)
listImg.Name =
listImg.Parent = dropOpen
listImg.BackgroundColor3 = .(, , )
listImg.BackgroundTransparency =
listImg.BorderColor3 = .(, , )
listImg.Position = .(, , , )
listImg.Size = .(, , , )
listImg.Image =
listImg.ImageColor3 = themeList.SchemeColor
listImg.ImageRectOffset = .(, )
listImg.ImageRectSize = .(, )
itemTextbox.Name =
itemTextbox.Parent = dropOpen
itemTextbox.BackgroundColor3 = .(, , )
itemTextbox.BackgroundTransparency =
itemTextbox.Position = .(, , , )
itemTextbox.Size = .(, , , )
itemTextbox.Font = .Font.GothamSemibold
itemTextbox.Text = dropname
itemTextbox.RichText =
itemTextbox.TextColor3 = themeList.TextColor
itemTextbox.TextSize =
itemTextbox.TextXAlignment = .TextXAlignment.Left
viewInfo.Name =
viewInfo.Parent = dropOpen
viewInfo.BackgroundTransparency =
viewInfo.LayoutOrder =
viewInfo.Position = .(, , , )
viewInfo.Size = .(, , , )
viewInfo.ZIndex =
viewInfo.Image =
viewInfo.ImageColor3 = themeList.SchemeColor
viewInfo.ImageRectOffset = .(, )
viewInfo.ImageRectSize = .(, )
UICorner.CornerRadius = .(, )
UICorner.Parent = dropOpen
Sample = .()
Sample.Name =
Sample.Parent = dropOpen
Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Sample.BackgroundTransparency = 1.000
Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
Sample.ImageColor3 = themeList.SchemeColor
Sample.ImageTransparency = 0.600
UIListLayout.Parent = dropFrame
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 3)
updateSectionFrame()
UpdateSize()
local ms = game.Players.LocalPlayer:GetMouse()
local uis = game:GetService("UserInputService")
local infBtn = viewInfo
local moreInfo = Instance.new("TextLabel")
local UICorner = Instance.new("UICorner")
moreInfo.Name = "TipMore"
moreInfo.Parent = infoContainer
moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
moreInfo.Position = UDim2.new(0, 0, 2, 0)
moreInfo.Size = UDim2.new(0, 353, 0, 33)
moreInfo.ZIndex = 9
moreInfo.RichText = true
moreInfo.Font = Enum.Font.GothamSemibold
moreInfo.Text = " "..dropinf
moreInfo.TextColor3 = themeList.TextColor
moreInfo.TextSize = 14.000
moreInfo.TextXAlignment = Enum.TextXAlignment.Left
local hovering = false
btn.MouseEnter:Connect(function()
if not focusing then
game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
}):Play()
hovering = true
end
end)
btn.MouseLeave:Connect(function()
if not focusing then
game.TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):Play()
hovering = false
end
end)
coroutine.wrap(function()
while wait() do
if not hovering then
dropOpen.BackgroundColor3 = themeList.ElementColor
end
Sample.ImageColor3 = themeList.SchemeColor
dropFrame.BackgroundColor3 = themeList.Background
listImg.ImageColor3 = themeList.SchemeColor
itemTextbox.TextColor3 = themeList.TextColor
viewInfo.ImageColor3 = themeList.SchemeColor
moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
moreInfo.TextColor3 = themeList.TextColor
end
end)()
UICorner.CornerRadius = UDim.new(0, 4)
UICorner.Parent = moreInfo
if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
end
if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
end
viewInfo.MouseButton1Click:Connect(function()
if not viewDe then
viewDe = true
focusing = true
for i,v in next, infoContainer:GetChildren() do
if v ~= moreInfo then
Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
end
end
Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
Utility:TweenObject(btn, {BackgroundColor3 = themeList.ElementColor}, 0.2)
wait(1.5)
focusing = false
Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
wait(0)
viewDe = false
end
end)
for i,v in next, list do
local optionSelect = Instance.new("TextButton")
local UICorner_2 = Instance.new("UICorner")
local Sample1 = Instance.new("ImageLabel")
local ms = game.Players.LocalPlayer:GetMouse()
Sample1.Name = "Sample1"
Sample1.Parent = optionSelect
Sample1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Sample1.BackgroundTransparency = 1.000
Sample1.Image = "http://www.roblox.com/asset/?id=4560909609"
Sample1.ImageColor3 = themeList.SchemeColor
Sample1.ImageTransparency = 0.600
local sample1 = Sample1
DropYSize = DropYSize + 33
optionSelect.Name = "optionSelect"
optionSelect.Parent = dropFrame
optionSelect.BackgroundColor3 = themeList.ElementColor
optionSelect.Position = UDim2.new(0, 0, 0.235294119, 0)
optionSelect.Size = UDim2.new(0, 352, 0, 33)
optionSelect.AutoButtonColor = false
optionSelect.Font = Enum.Font.GothamSemibold
optionSelect.Text = " "..v
optionSelect.TextColor3 = Color3.fromRGB(themeList.TextColor.r * 255 - 6, themeList.TextColor.g * 255 - 6, themeList.TextColor.b * 255 - 6)
optionSelect.TextSize = 14.000
optionSelect.TextXAlignment = Enum.TextXAlignment.Left
optionSelect.ClipsDescendants = true
optionSelect.MouseButton1Click:Connect(function()
if not focusing then
opened = false
callback(v)
itemTextbox.Text = v
dropFrame:TweenSize(UDim2.new(0, 352, 0, 33), 'InOut', 'Linear', 0.08)
wait(0.1)
updateSectionFrame()
UpdateSize()
local c = sample1:Clone()
c.Parent = optionSelect
local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = UDim2.new(0, x, 0, y)
local len, size = 0.35, nil
if optionSelect.AbsoluteSize.X >= optionSelect.AbsoluteSize.Y then
size = (optionSelect.AbsoluteSize.X * 1.5)
else
size = (optionSelect.AbsoluteSize.Y * 1.5)
end
c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
for i = 1, 10 do
c.ImageTransparency = c.ImageTransparency + 0.05
wait(len / 12)
end
c:Destroy()
else
for i,v in next, infoContainer:GetChildren() do
Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
focusing = false
end
Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
end
end)
UICorner_2.CornerRadius = UDim.new(0, 4)
UICorner_2.Parent = optionSelect
local oHover = false
optionSelect.MouseEnter:Connect(function()
if not focusing then
game.TweenService:Create(optionSelect, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
}):Play()
oHover = true
end
end)
optionSelect.MouseLeave:Connect(function()
if not focusing then
game.TweenService:Create(optionSelect, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):Play()
oHover = false
end
end)
coroutine.wrap(function()
while wait() do
if not oHover then
optionSelect.BackgroundColor3 = themeList.ElementColor
end
optionSelect.TextColor3 = Color3.fromRGB(themeList.TextColor.r * 255 - 6, themeList.TextColor.g * 255 - 6, themeList.TextColor.b * 255 - 6)
Sample1.ImageColor3 = themeList.SchemeColor
end
end)()
end
function DropFunction:Refresh(newList)
newList = newList or {}
for i,v in next, dropFrame:GetChildren() do
if v.Name == "optionSelect" then
v:Destroy()
end
end
for i,v in next, newList do
local optionSelect = Instance.new("TextButton")
local UICorner_2 = Instance.new("UICorner")
local Sample11 = Instance.new("ImageLabel")
local ms = game.Players.LocalPlayer:GetMouse()
Sample11.Name = "Sample11"
Sample11.Parent = optionSelect
Sample11.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Sample11.BackgroundTransparency = 1.000
Sample11.Image = "http://www.roblox.com/asset/?id=4560909609"
Sample11.ImageColor3 = themeList.SchemeColor
Sample11.ImageTransparency = 0.600
local sample11 = Sample11
DropYSize = DropYSize + 33
optionSelect.Name = "optionSelect"
optionSelect.Parent = dropFrame
optionSelect.BackgroundColor3 = themeList.ElementColor
optionSelect.Position = UDim2.new(0, 0, 0.235294119, 0)
optionSelect.Size = UDim2.new(0, 352, 0, 33)
optionSelect.AutoButtonColor = false
optionSelect.Font = Enum.Font.GothamSemibold
optionSelect.Text = " "..v
optionSelect.TextColor3 = Color3.fromRGB(themeList.TextColor.r * 255 - 6, themeList.TextColor.g * 255 - 6, themeList.TextColor.b * 255 - 6)
optionSelect.TextSize = 14.000
optionSelect.TextXAlignment = Enum.TextXAlignment.Left
optionSelect.ClipsDescendants = true
UICorner_2.CornerRadius = UDim.new(0, 4)
UICorner_2.Parent = optionSelect
optionSelect.MouseButton1Click:Connect(function()
if not focusing then
opened = false
callback(v)
itemTextbox.Text = v
dropFrame:TweenSize(UDim2.new(0, 352, 0, 33), 'InOut', 'Linear', 0.08)
wait(0.1)
updateSectionFrame()
UpdateSize()
local c = sample11:Clone()
c.Parent = optionSelect
local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = UDim2.new(0, x, 0, y)
local len, size = 0.35, nil
if optionSelect.AbsoluteSize.X >= optionSelect.AbsoluteSize.Y then
size = (optionSelect.AbsoluteSize.X * 1.5)
else
size = (optionSelect.AbsoluteSize.Y * 1.5)
end
c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
for i = 1, 10 do
c.ImageTransparency = c.ImageTransparency + 0.05
wait(len / 12)
end
c:Destroy()
else
for i,v in next, infoContainer:GetChildren() do
Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
focusing = false
end
Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
end
end)
updateSectionFrame()
UpdateSize()
local hov = false
optionSelect.MouseEnter:Connect(function()
if not focusing then
game.TweenService:Create(optionSelect, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
}):Play()
hov = true
end
end)
optionSelect.MouseLeave:Connect(function()
if not focusing then
game.TweenService:Create(optionSelect, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):Play()
hov = false
end
end)
coroutine.wrap(function()
while wait() do
if not oHover then
optionSelect.BackgroundColor3 = themeList.ElementColor
end
optionSelect.TextColor3 = Color3.fromRGB(themeList.TextColor.r * 255 - 6, themeList.TextColor.g * 255 - 6, themeList.TextColor.b * 255 - 6)
Sample11.ImageColor3 = themeList.SchemeColor
end
end)()
end
if opened then
dropFrame:TweenSize(UDim2.new(0, 352, 0, UIListLayout.AbsoluteContentSize.Y), "InOut", "Linear", 0.08, true)
wait(0.1)
updateSectionFrame()
UpdateSize()
else
dropFrame:TweenSize(UDim2.new(0, 352, 0, 33), "InOut", "Linear", 0.08)
wait(0.1)
updateSectionFrame()
UpdateSize()
end
end
return DropFunction
end
function Elements:NewKeybind(keytext, keyinf, first, callback)
keytext = keytext or "KeybindText"
keyinf = keyinf or "KebindInfo"
callback = callback or function() end
local oldKey = first.Name
local keybindElement = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local togName = Instance.new("TextLabel")
local viewInfo = Instance.new("ImageButton")
local touch = Instance.new("ImageLabel")
local Sample = Instance.new("ImageLabel")
local togName_2 = Instance.new("TextLabel")
local ms = game.Players.LocalPlayer:GetMouse()
local uis = game:GetService("UserInputService")
local infBtn = viewInfo
local moreInfo = Instance.new("TextLabel")
local UICorner1 = Instance.new("UICorner")
local sample = Sample
keybindElement.Name = "keybindElement"
keybindElement.Parent = sectionInners
keybindElement.BackgroundColor3 = themeList.ElementColor
keybindElement.ClipsDescendants = true
keybindElement.Size = UDim2.new(0, 352, 0, 33)
keybindElement.AutoButtonColor = false
keybindElement.Font = Enum.Font.SourceSans
keybindElement.Text = ""
keybindElement.TextColor3 = Color3.fromRGB(0, 0, 0)
keybindElement.TextSize = 14.000
keybindElement.MouseButton1Click:connect(function(e)
if not focusing then
togName_2.Text = ". . ."
local a, b = game:GetService('UserInputService').InputBegan:wait();
if a.KeyCode.Name ~= "Unknown" then
togName_2.Text = a.KeyCode.Name
oldKey = a.KeyCode.Name;
end
local c = sample:Clone()
c.Parent = keybindElement
local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = UDim2.new(0, x, 0, y)
local len, size = 0.35, nil
if keybindElement.AbsoluteSize.X >= keybindElement.AbsoluteSize.Y then
size = (keybindElement.AbsoluteSize.X * 1.5)
else
size = (keybindElement.AbsoluteSize.Y * 1.5)
end
c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
for i = 1, 10 do
c.ImageTransparency = c.ImageTransparency + 0.05
wait(len / 12)
end
else
for i,v in next, infoContainer:GetChildren() do
Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
focusing = false
end
Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
end
end)
game:GetService("UserInputService").InputBegan:connect(function(current, ok)
if not ok then
if current.KeyCode.Name == oldKey then
callback()
end
end
end)
moreInfo.Name = "TipMore"
moreInfo.Parent = infoContainer
moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
moreInfo.Position = UDim2.new(0, 0, 2, 0)
moreInfo.Size = UDim2.new(0, 353, 0, 33)
moreInfo.ZIndex = 9
moreInfo.RichText = true
moreInfo.Font = Enum.Font.GothamSemibold
moreInfo.Text = " "..keyinf
moreInfo.TextColor3 = themeList.TextColor
moreInfo.TextSize = 14.000
moreInfo.TextXAlignment = Enum.TextXAlignment.Left
Sample.Name = "Sample"
Sample.Parent = keybindElement
Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Sample.BackgroundTransparency = 1.000
Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
Sample.ImageColor3 = themeList.SchemeColor
Sample.ImageTransparency = 0.600
togName.Name = "togName"
togName.Parent = keybindElement
togName.BackgroundColor3 = themeList.TextColor
togName.BackgroundTransparency = 1.000
togName.Position = UDim2.new(0.096704483, 0, 0.272727281, 0)
togName.Size = UDim2.new(0, 222, 0, 14)
togName.Font = Enum.Font.GothamSemibold
togName.Text = keytext
togName.RichText = true
togName.TextColor3 = themeList.TextColor
togName.TextSize = 14.000
togName.TextXAlignment = Enum.TextXAlignment.Left
viewInfo.Name = "viewInfo"
viewInfo.Parent = keybindElement
viewInfo.BackgroundTransparency = 1.000
viewInfo.LayoutOrder = 9
viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
viewInfo.Size = UDim2.new(0, 23, 0, 23)
viewInfo.ZIndex = 2
viewInfo.Image = "rbxassetid://3926305904"
viewInfo.ImageColor3 = themeList.SchemeColor
viewInfo.ImageRectOffset = Vector2.new(764, 764)
viewInfo.ImageRectSize = Vector2.new(36, 36)
viewInfo.MouseButton1Click:Connect(function()
if not viewDe then
viewDe = true
focusing = true
for i,v in next, infoContainer:GetChildren() do
if v ~= moreInfo then
Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
end
end
Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
Utility:TweenObject(keybindElement, {BackgroundColor3 = themeList.ElementColor}, 0.2)
wait(1.5)
focusing = false
Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
wait(0)
viewDe = false
end
end)
updateSectionFrame()
UpdateSize()
local oHover = false
keybindElement.MouseEnter:Connect(function()
if not focusing then
game.TweenService:Create(keybindElement, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
}):Play()
oHover = true
end
end)
keybindElement.MouseLeave:Connect(function()
if not focusing then
game.TweenService:Create(keybindElement, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):Play()
oHover = false
end
end)
UICorner1.CornerRadius = UDim.new(0, 4)
UICorner1.Parent = moreInfo
if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
end
if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
end
UICorner.CornerRadius = UDim.new(0, 4)
UICorner.Parent = keybindElement
touch.Name = "touch"
touch.Parent = keybindElement
touch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
touch.BackgroundTransparency = 1.000
touch.BorderColor3 = Color3.fromRGB(27, 42, 53)
touch.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
touch.Size = UDim2.new(0, 21, 0, 21)
touch.Image = "rbxassetid://3926305904"
touch.ImageColor3 = themeList.SchemeColor
touch.ImageRectOffset = Vector2.new(364, 284)
touch.ImageRectSize = Vector2.new(36, 36)
togName_2.Name = "togName"
togName_2.Parent = keybindElement
togName_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
togName_2.BackgroundTransparency = 1.000
togName_2.Position = UDim2.new(0.727386296, 0, 0.272727281, 0)
togName_2.Size = UDim2.new(0, 70, 0, 14)
togName_2.Font = Enum.Font.GothamSemibold
togName_2.Text = oldKey
togName_2.TextColor3 = themeList.SchemeColor
togName_2.TextSize = 14.000
togName_2.TextXAlignment = Enum.TextXAlignment.Right
coroutine.wrap(function()
while wait() do
if not oHover then
keybindElement.BackgroundColor3 = themeList.ElementColor
end
togName_2.TextColor3 = themeList.SchemeColor
touch.ImageColor3 = themeList.SchemeColor
viewInfo.ImageColor3 = themeList.SchemeColor
togName.BackgroundColor3 = themeList.TextColor
togName.TextColor3 = themeList.TextColor
Sample.ImageColor3 = themeList.SchemeColor
moreInfo.TextColor3 = themeList.TextColor
moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
end
end)()
end
function Elements:NewColorPicker(colText, colInf, defcolor, callback)
colText = colText or "ColorPicker"
callback = callback or function() end
defcolor = defcolor or Color3.fromRGB(1,1,1)
local h, s, v = Color3.toHSV(defcolor)
local ms = game.Players.LocalPlayer:GetMouse()
local colorOpened = false
local colorElement = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local colorHeader = Instance.new("Frame")
local UICorner_2 = Instance.new("UICorner")
local touch = Instance.new("ImageLabel")
local togName = Instance.new("TextLabel")
local viewInfo = Instance.new("ImageButton")
local colorCurrent = Instance.new("Frame")
local UICorner_3 = Instance.new("UICorner")
local UIListLayout = Instance.new("UIListLayout")
local colorInners = Instance.new("Frame")
local UICorner_4 = Instance.new("UICorner")
local rgb = Instance.new("ImageButton")
local UICorner_5 = Instance.new("UICorner")
local rbgcircle = Instance.new("ImageLabel")
local darkness = Instance.new("ImageButton")
local UICorner_6 = Instance.new("UICorner")
local darkcircle = Instance.new("ImageLabel")
local toggleDisabled = Instance.new("ImageLabel")
local toggleEnabled = Instance.new("ImageLabel")
local onrainbow = Instance.new("TextButton")
local togName_2 = Instance.new("TextLabel")
--Properties:
local Sample = Instance.new("ImageLabel")
Sample.Name = "Sample"
Sample.Parent = colorHeader
Sample.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Sample.BackgroundTransparency = 1.000
Sample.Image = "http://www.roblox.com/asset/?id=4560909609"
Sample.ImageColor3 = themeList.SchemeColor
Sample.ImageTransparency = 0.600
local btn = colorHeader
local sample = Sample
colorElement.Name = "colorElement"
colorElement.Parent = sectionInners
colorElement.BackgroundColor3 = themeList.ElementColor
colorElement.BackgroundTransparency = 1.000
colorElement.ClipsDescendants = true
colorElement.Position = UDim2.new(0, 0, 0.566834569, 0)
colorElement.Size = UDim2.new(0, 352, 0, 33)
colorElement.AutoButtonColor = false
colorElement.Font = Enum.Font.SourceSans
colorElement.Text = ""
colorElement.TextColor3 = Color3.fromRGB(0, 0, 0)
colorElement.TextSize = 14.000
colorElement.MouseButton1Click:Connect(function()
if not focusing then
if colorOpened then
colorOpened = false
colorElement:TweenSize(UDim2.new(0, 352, 0, 33), "InOut", "Linear", 0.08)
wait(0.1)
updateSectionFrame()
UpdateSize()
local c = sample:Clone()
c.Parent = btn
local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = UDim2.new(0, x, 0, y)
local len, size = 0.35, nil
if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
size = (btn.AbsoluteSize.X * 1.5)
else
size = (btn.AbsoluteSize.Y * 1.5)
end
c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
for i = 1, 10 do
c.ImageTransparency = c.ImageTransparency + 0.05
wait(len / 12)
end
c:Destroy()
else
colorOpened = true
colorElement:TweenSize(UDim2.new(0, 352, 0, 141), "InOut", "Linear", 0.08, true)
wait(0.1)
updateSectionFrame()
UpdateSize()
local c = sample:Clone()
c.Parent = btn
local x, y = (ms.X - c.AbsolutePosition.X), (ms.Y - c.AbsolutePosition.Y)
c.Position = UDim2.new(0, x, 0, y)
local len, size = 0.35, nil
if btn.AbsoluteSize.X >= btn.AbsoluteSize.Y then
size = (btn.AbsoluteSize.X * 1.5)
else
size = (btn.AbsoluteSize.Y * 1.5)
end
c:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, (-size / 2), 0.5, (-size / 2)), 'Out', 'Quad', len, true, nil)
for i = 1, 10 do
c.ImageTransparency = c.ImageTransparency + 0.05
wait(len / 12)
end
c:Destroy()
end
else
for i,v in next, infoContainer:GetChildren() do
Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
focusing = false
end
Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
end
end)
UICorner.CornerRadius = UDim.new(0, 4)
UICorner.Parent = colorElement
colorHeader.Name = "colorHeader"
colorHeader.Parent = colorElement
colorHeader.BackgroundColor3 = themeList.ElementColor
colorHeader.Size = UDim2.new(0, 352, 0, 33)
colorHeader.ClipsDescendants = true
UICorner_2.CornerRadius = UDim.new(0, 4)
UICorner_2.Parent = colorHeader
touch.Name = "touch"
touch.Parent = colorHeader
touch.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
touch.BackgroundTransparency = 1.000
touch.BorderColor3 = Color3.fromRGB(27, 42, 53)
touch.Position = UDim2.new(0.0199999996, 0, 0.180000007, 0)
touch.Size = UDim2.new(0, 21, 0, 21)
touch.Image = "rbxassetid://3926305904"
touch.ImageColor3 = themeList.SchemeColor
touch.ImageRectOffset = Vector2.new(44, 964)
touch.ImageRectSize = Vector2.new(36, 36)
togName.Name = "togName"
togName.Parent = colorHeader
togName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
togName.BackgroundTransparency = 1.000
togName.Position = UDim2.new(0.096704483, 0, 0.272727281, 0)
togName.Size = UDim2.new(0, 288, 0, 14)
togName.Font = Enum.Font.GothamSemibold
togName.Text = colText
togName.TextColor3 = themeList.TextColor
togName.TextSize = 14.000
togName.RichText = true
togName.TextXAlignment = Enum.TextXAlignment.Left
local moreInfo = Instance.new("TextLabel")
local UICorner = Instance.new("UICorner")
moreInfo.Name = "TipMore"
moreInfo.Parent = infoContainer
moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
moreInfo.Position = UDim2.new(0, 0, 2, 0)
moreInfo.Size = UDim2.new(0, 353, 0, 33)
moreInfo.ZIndex = 9
moreInfo.Font = Enum.Font.GothamSemibold
moreInfo.Text = " "..colInf
moreInfo.TextColor3 = themeList.TextColor
moreInfo.TextSize = 14.000
moreInfo.RichText = true
moreInfo.TextXAlignment = Enum.TextXAlignment.Left
UICorner.CornerRadius = UDim.new(0, 4)
UICorner.Parent = moreInfo
viewInfo.Name = "viewInfo"
viewInfo.Parent = colorHeader
viewInfo.BackgroundTransparency = 1.000
viewInfo.LayoutOrder = 9
viewInfo.Position = UDim2.new(0.930000007, 0, 0.151999995, 0)
viewInfo.Size = UDim2.new(0, 23, 0, 23)
viewInfo.ZIndex = 2
viewInfo.Image = "rbxassetid://3926305904"
viewInfo.ImageColor3 = themeList.SchemeColor
viewInfo.ImageRectOffset = Vector2.new(764, 764)
viewInfo.ImageRectSize = Vector2.new(36, 36)
viewInfo.MouseButton1Click:Connect(function()
if not viewDe then
viewDe = true
focusing = true
for i,v in next, infoContainer:GetChildren() do
if v ~= moreInfo then
Utility:TweenObject(v, {Position = UDim2.new(0,0,2,0)}, 0.2)
end
end
Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,0,0)}, 0.2)
Utility:TweenObject(blurFrame, {BackgroundTransparency = 0.5}, 0.2)
Utility:TweenObject(colorElement, {BackgroundColor3 = themeList.ElementColor}, 0.2)
wait(1.5)
focusing = false
Utility:TweenObject(moreInfo, {Position = UDim2.new(0,0,2,0)}, 0.2)
Utility:TweenObject(blurFrame, {BackgroundTransparency = 1}, 0.2)
wait(0)
viewDe = false
end
end)
colorCurrent.Name = "colorCurrent"
colorCurrent.Parent = colorHeader
colorCurrent.BackgroundColor3 = defcolor
colorCurrent.Position = UDim2.new(0.792613626, 0, 0.212121218, 0)
colorCurrent.Size = UDim2.new(0, 42, 0, 18)
UICorner_3.CornerRadius = UDim.new(0, 4)
UICorner_3.Parent = colorCurrent
UIListLayout.Parent = colorElement
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 3)
colorInners.Name = "colorInners"
colorInners.Parent = colorElement
colorInners.BackgroundColor3 = themeList.ElementColor
colorInners.Position = UDim2.new(0, 0, 0.255319148, 0)
colorInners.Size = UDim2.new(0, 352, 0, 105)
UICorner_4.CornerRadius = UDim.new(0, 4)
UICorner_4.Parent = colorInners
rgb.Name = "rgb"
rgb.Parent = colorInners
rgb.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
rgb.BackgroundTransparency = 1.000
rgb.Position = UDim2.new(0.0198863633, 0, 0.0476190485, 0)
rgb.Size = UDim2.new(0, 211, 0, 93)
rgb.Image = "http://www.roblox.com/asset/?id=6523286724"
UICorner_5.CornerRadius = UDim.new(0, 4)
UICorner_5.Parent = rgb
rbgcircle.Name = "rbgcircle"
rbgcircle.Parent = rgb
rbgcircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
rbgcircle.BackgroundTransparency = 1.000
rbgcircle.Size = UDim2.new(0, 14, 0, 14)
rbgcircle.Image = "rbxassetid://3926309567"
rbgcircle.ImageColor3 = Color3.fromRGB(0, 0, 0)
rbgcircle.ImageRectOffset = Vector2.new(628, 420)
rbgcircle.ImageRectSize = Vector2.new(48, 48)
darkness.Name = "darkness"
darkness.Parent = colorInners
darkness.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
darkness.BackgroundTransparency = 1.000
darkness.Position = UDim2.new(0.636363626, 0, 0.0476190485, 0)
darkness.Size = UDim2.new(0, 18, 0, 93)
darkness.Image = "http://www.roblox.com/asset/?id=6523291212"
UICorner_6.CornerRadius = UDim.new(0, 4)
UICorner_6.Parent = darkness
darkcircle.Name = "darkcircle"
darkcircle.Parent = darkness
darkcircle.AnchorPoint = Vector2.new(0.5, 0)
darkcircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
darkcircle.BackgroundTransparency = 1.000
darkcircle.Size = UDim2.new(0, 14, 0, 14)
darkcircle.Image = "rbxassetid://3926309567"
darkcircle.ImageColor3 = Color3.fromRGB(0, 0, 0)
darkcircle.ImageRectOffset = Vector2.new(628, 420)
darkcircle.ImageRectSize = Vector2.new(48, 48)
toggleDisabled.Name = "toggleDisabled"
toggleDisabled.Parent = colorInners
toggleDisabled.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
toggleDisabled.BackgroundTransparency = 1.000
toggleDisabled.Position = UDim2.new(0.704659104, 0, 0.0657142699, 0)
toggleDisabled.Size = UDim2.new(0, 21, 0, 21)
toggleDisabled.Image = "rbxassetid://3926309567"
toggleDisabled.ImageColor3 = themeList.SchemeColor
toggleDisabled.ImageRectOffset = Vector2.new(628, 420)
toggleDisabled.ImageRectSize = Vector2.new(48, 48)
toggleEnabled.Name = "toggleEnabled"
toggleEnabled.Parent = colorInners
toggleEnabled.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
toggleEnabled.BackgroundTransparency = 1.000
toggleEnabled.Position = UDim2.new(0.704999983, 0, 0.0659999996, 0)
toggleEnabled.Size = UDim2.new(0, 21, 0, 21)
toggleEnabled.Image = "rbxassetid://3926309567"
toggleEnabled.ImageColor3 = themeList.SchemeColor
toggleEnabled.ImageRectOffset = Vector2.new(784, 420)
toggleEnabled.ImageRectSize = Vector2.new(48, 48)
toggleEnabled.ImageTransparency = 1.000
onrainbow.Name = "onrainbow"
onrainbow.Parent = toggleEnabled
onrainbow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
onrainbow.BackgroundTransparency = 1.000
onrainbow.Position = UDim2.new(2.90643607e-06, 0, 0, 0)
onrainbow.Size = UDim2.new(1, 0, 1, 0)
onrainbow.Font = Enum.Font.SourceSans
onrainbow.Text = ""
onrainbow.TextColor3 = Color3.fromRGB(0, 0, 0)
onrainbow.TextSize = 14.000
togName_2.Name = "togName"
togName_2.Parent = colorInners
togName_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
togName_2.BackgroundTransparency = 1.000
togName_2.Position = UDim2.new(0.779999971, 0, 0.100000001, 0)
togName_2.Size = UDim2.new(0, 278, 0, 14)
togName_2.Font = Enum.Font.GothamSemibold
togName_2.Text = "Rainbow"
togName_2.TextColor3 = themeList.TextColor
togName_2.TextSize = 14.000
togName_2.TextXAlignment = Enum.TextXAlignment.Left
if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
end
if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
end
local hovering = false
colorElement.MouseEnter:Connect(function()
if not focusing then
game.TweenService:Create(colorElement, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = Color3.fromRGB(themeList.ElementColor.r * 255 + 8, themeList.ElementColor.g * 255 + 9, themeList.ElementColor.b * 255 + 10)
}):Play()
hovering = true
end
end)
colorElement.MouseLeave:Connect(function()
if not focusing then
game.TweenService:Create(colorElement, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
BackgroundColor3 = themeList.ElementColor
}):Play()
hovering = false
end
end)
if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
end
if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
Utility:TweenObject(moreInfo, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
end
coroutine.wrap(function()
while wait() do
if not hovering then
colorElement.BackgroundColor3 = themeList.ElementColor
end
touch.ImageColor3 = themeList.SchemeColor
colorHeader.BackgroundColor3 = themeList.ElementColor
togName.TextColor3 = themeList.TextColor
moreInfo.BackgroundColor3 = Color3.fromRGB(themeList.SchemeColor.r * 255 - 14, themeList.SchemeColor.g * 255 - 17, themeList.SchemeColor.b * 255 - 13)
moreInfo.TextColor3 = themeList.TextColor
viewInfo.ImageColor3 = themeList.SchemeColor
colorInners.BackgroundColor3 = themeList.ElementColor
toggleDisabled.ImageColor3 = themeList.SchemeColor
toggleEnabled.ImageColor3 = themeList.SchemeColor
togName_2.TextColor3 = themeList.TextColor
Sample.ImageColor3 = themeList.SchemeColor
end
end)()
updateSectionFrame()
UpdateSize()
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
local uis = game:GetService('UserInputService')
local rs = game:GetService("RunService")
local colorpicker = false
local darknesss = false
local dark = false
local rgb = rgb
local dark = darkness
local cursor = rbgcircle
local cursor2 = darkcircle
local color = {1,1,1}
local rainbow = false
local rainbowconnection
local counter = 0
--
local function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
counter = 0
local function mouseLocation()
return plr:GetMouse()
end
local function cp()
if colorpicker then
local ml = mouseLocation()
local x,y = ml.X - rgb.AbsolutePosition.X,ml.Y - rgb.AbsolutePosition.Y
local maxX,maxY = rgb.AbsoluteSize.X,rgb.AbsoluteSize.Y
if x<0 then x=0 end
if x>maxX then x=maxX end
if y<0 then y=0 end
if y>maxY then y=maxY end
x = x/maxX
y = y/maxY
local cx = cursor.AbsoluteSize.X/2
local cy = cursor.AbsoluteSize.Y/2
cursor.Position = UDim2.new(x,-cx,y,-cy)
color = {1-x,1-y,color[3]}
local realcolor = Color3.fromHSV(color[1],color[2],color[3])
colorCurrent.BackgroundColor3 = realcolor
callback(realcolor)
end
if darknesss then
local ml = mouseLocation()
local y = ml.Y - dark.AbsolutePosition.Y
local maxY = dark.AbsoluteSize.Y
if y<0 then y=0 end
if y>maxY then y=maxY end
y = y/maxY
local cy = cursor2.AbsoluteSize.Y/2
cursor2.Position = UDim2.new(0.5,0,y,-cy)
cursor2.ImageColor3 = Color3.fromHSV(0,0,y)
color = {color[1],color[2],1-y}
local realcolor = Color3.fromHSV(color[1],color[2],color[3])
colorCurrent.BackgroundColor3 = realcolor
callback(realcolor)
end
end
local function setcolor(tbl)
local cx = cursor.AbsoluteSize.X/2
local cy = cursor.AbsoluteSize.Y/2
color = {tbl[1],tbl[2],tbl[3]}
cursor.Position = UDim2.new(color[1],-cx,color[2]-1,-cy)
cursor2.Position = UDim2.new(0.5,0,color[3]-1,-cy)
local realcolor = Color3.fromHSV(color[1],color[2],color[3])
colorCurrent.BackgroundColor3 = realcolor
end
local function setrgbcolor(tbl)
local cx = cursor.AbsoluteSize.X/2
local cy = cursor.AbsoluteSize.Y/2
color = {tbl[1],tbl[2],color[3]}
cursor.Position = UDim2.new(color[1],-cx,color[2]-1,-cy)
local realcolor = Color3.fromHSV(color[1],color[2],color[3])
colorCurrent.BackgroundColor3 = realcolor
callback(realcolor)
end
local function togglerainbow()
if rainbow then
game.TweenService:Create(toggleEnabled, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
ImageTransparency = 1
}):Play()
rainbow = false
rainbowconnection:Disconnect()
else
game.TweenService:Create(toggleEnabled, TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
ImageTransparency = 0
}):Play()
rainbow = true
rainbowconnection = rs.RenderStepped:Connect(function()
setrgbcolor({zigzag(counter),1,1})
counter = counter + 0.01
end)
end
end
onrainbow.MouseButton1Click:Connect(togglerainbow)
--
mouse.Move:connect(cp)
rgb.MouseButton1Down:connect(function()colorpicker=true end)
dark.MouseButton1Down:connect(function()darknesss=true end)
uis.InputEnded:Connect(function(input)
if input.UserInputType.Name == 'MouseButton1' then
if darknesss then darknesss = false end
if colorpicker then colorpicker = false end
end
end)
setcolor({h,s,v})
end
function Elements:NewLabel(title)
local labelFunctions = {}
local label = Instance.new("TextLabel")
local UICorner = Instance.new("UICorner")
label.Name = "label"
label.Parent = sectionInners
label.BackgroundColor3 = themeList.SchemeColor
label.BorderSizePixel = 0
label.ClipsDescendants = true
label.Text = title
label.Size = UDim2.new(0, 352, 0, 33)
label.Font = Enum.Font.Gotham
label.Text = " "..title
label.RichText = true
label.TextColor3 = themeList.TextColor
Objects[label] = "TextColor3"
label.TextSize = 14.000
label.TextXAlignment = Enum.TextXAlignment.Left
UICorner.CornerRadius = UDim.new(0, 4)
UICorner.Parent = label
if themeList.SchemeColor == Color3.fromRGB(255,255,255) then
Utility:TweenObject(label, {TextColor3 = Color3.fromRGB(0,0,0)}, 0.2)
end
if themeList.SchemeColor == Color3.fromRGB(0,0,0) then
Utility:TweenObject(label, {TextColor3 = Color3.fromRGB(255,255,255)}, 0.2)
end
coroutine.wrap(function()
while wait() do
label.BackgroundColor3 = themeList.SchemeColor
label.TextColor3 = themeList.TextColor
end
end)()
updateSectionFrame()
UpdateSize()
function labelFunctions:UpdateLabel(newText)
if label.Text ~= " "..newText then
label.Text = " "..newText
end
end
return labelFunctions
end
return Elements
end
return Sections
end
return Tabs
end
return KavoSUPPORTS MOBILE DRAG AND SUPPORTS SERVER SIDE MODULE LOADING (Toggle added!)

Universal