Run it
Copy the script and paste it into your executor.
DiscordLib = {}
UserInputService = :()
TweenService = :()
RunService = :()
LocalPlayer = :().LocalPlayer
Mouse = LocalPlayer:()
HttpService = :()
pfp
user
tag
userinfo = {}
(()
userinfo = HttpService:(());
)
pfp = userinfo[] .. .Players.LocalPlayer.UserId ..
user = userinfo[] .Players.LocalPlayer.Name
tag = userinfo[] (.(,))
()
userinfo[] = pfp
userinfo[] = user
userinfo[] = tag
(, HttpService:(userinfo));
(topbarobject, object)
Dragging =
DragInput =
DragStart =
StartPosition =
(input)
Delta = input.Position - DragStart
pos =
.(
StartPosition.X.Scale,
StartPosition.X.Offset + Delta.X,
StartPosition.Y.Scale,
StartPosition.Y.Offset + Delta.Y
)
object.Position = pos
topbarobject.InputBegan:(
(input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
Dragging =
DragStart = input.Position
StartPosition = object.Position
input.Changed:(
()
input.UserInputState == .UserInputState.End
Dragging =
)
)
topbarobject.InputChanged:(
(input)
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
DragInput = input
)
UserInputService.InputChanged:(
(input)
input == DragInput Dragging
(input)
)
Discord = .()
Discord.Name =
Discord.Parent = .CoreGui
Discord.ZIndexBehavior = .ZIndexBehavior.Sibling
DiscordLib:(text)
currentservertoggled =
minimized =
fs =
settingsopened =
MainFrame = .()
TopFrame = .()
Title = .()
CloseBtn = .()
CloseIcon = .()
MinimizeBtn = .()
MinimizeIcon = .()
ServersHolder = .()
Userpad = .()
UserIcon = .()
UserIconCorner = .()
UserImage = .()
UserCircleImage = .()
UserName = .()
UserTag = .()
ServersHoldFrame = .()
ServersHold = .()
ServersHoldLayout = .()
ServersHoldPadding = .()
TopFrameHolder = .()
MainFrame.Name =
MainFrame.Parent = Discord
MainFrame.AnchorPoint = .(, )
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.ClipsDescendants =
MainFrame.Position = .(, , , )
MainFrame.Size = .(, , , )
TopFrame.Name =
TopFrame.Parent = MainFrame
TopFrame.BackgroundColor3 = .(, , )
TopFrame.BackgroundTransparency =
TopFrame.BorderSizePixel =
TopFrame.Position = .(-, , , )
TopFrame.Size = .(, , , )
TopFrameHolder.Name =
TopFrameHolder.Parent = TopFrame
TopFrameHolder.BackgroundColor3 = .(, , )
TopFrameHolder.BackgroundTransparency =
TopFrameHolder.BorderSizePixel =
TopFrameHolder.Position = .(-, , , )
TopFrameHolder.Size = .(, , , )
Title.Name =
Title.Parent = TopFrame
Title.BackgroundColor3 = .(, , )
Title.BackgroundTransparency =
Title.Position = .(, , , )
Title.Size = .(, , , )
Title.Font = .Font.Gotham
Title.Text = text
Title.TextColor3 = .(, , )
Title.TextSize =
Title.TextXAlignment = .TextXAlignment.Left
CloseBtn.Name =
CloseBtn.Parent = TopFrame
CloseBtn.BackgroundColor3 = .(, , )
CloseBtn.BackgroundTransparency =
CloseBtn.Position = .(, , -, )
CloseBtn.Size = .(, , , )
CloseBtn.Font = .Font.Gotham
CloseBtn.Text =
CloseBtn.TextColor3 = .(, , )
CloseBtn.TextSize =
CloseBtn.BorderSizePixel =
CloseBtn.AutoButtonColor =
CloseIcon.Name =
CloseIcon.Parent = CloseBtn
CloseIcon.BackgroundColor3 = .(, , )
CloseIcon.BackgroundTransparency =
CloseIcon.Position = .(, , , )
CloseIcon.Size = .(, , , )
CloseIcon.Image =
CloseIcon.ImageColor3 = .(, , )
MinimizeBtn.Name =
MinimizeBtn.Parent = TopFrame
MinimizeBtn.BackgroundColor3 = .(, , )
MinimizeBtn.BackgroundTransparency =
MinimizeBtn.Position = .(, , -, )
MinimizeBtn.Size = .(, , , )
MinimizeBtn.Font = .Font.Gotham
MinimizeBtn.Text =
MinimizeBtn.TextColor3 = .(, , )
MinimizeBtn.TextSize =
MinimizeBtn.BorderSizePixel =
MinimizeBtn.AutoButtonColor =
MinimizeIcon.Name =
MinimizeIcon.Parent = MinimizeBtn
MinimizeIcon.BackgroundColor3 = .(, , )
MinimizeIcon.BackgroundTransparency =
MinimizeIcon.Position = .(, , , )
MinimizeIcon.Size = .(, , , )
MinimizeIcon.Image =
MinimizeIcon.ImageColor3 = .(, , )
ServersHolder.Name =
ServersHolder.Parent = TopFrameHolder
Userpad.Name =
Userpad.Parent = TopFrameHolder
Userpad.BackgroundColor3 = .(, , )
Userpad.BorderSizePixel =
Userpad.Position = .(, , , )
Userpad.Size = .(, , , )
UserIcon.Name =
UserIcon.Parent = Userpad
UserIcon.BackgroundColor3 = .(, , )
UserIcon.BorderSizePixel =
UserIcon.Position = .(, , , )
UserIcon.Size = .(, , , )
UserIconCorner.CornerRadius = .(, )
UserIconCorner.Name =
UserIconCorner.Parent = UserIcon
UserImage.Name =
UserImage.Parent = UserIcon
UserImage.BackgroundColor3 = .(, , )
UserImage.BackgroundTransparency =
UserImage.Size = .(, , , )
UserImage.Image = pfp
UserCircleImage.Name =
UserCircleImage.Parent = UserImage
UserCircleImage.BackgroundColor3 = .(, , )
UserCircleImage.BackgroundTransparency =
UserCircleImage.Size = .(, , , )
UserCircleImage.Image =
UserCircleImage.ImageColor3 = .(, , )
UserName.Name =
UserName.Parent = Userpad
UserName.BackgroundColor3 = .(, , )
UserName.BackgroundTransparency =
UserName.BorderSizePixel =
UserName.Position = .(, , , )
UserName.Size = .(, , , )
UserName.Font = .Font.GothamSemibold
UserName.TextColor3 = .(, , )
UserName.TextSize =
UserName.TextXAlignment = .TextXAlignment.Left
UserName.ClipsDescendants =
UserTag.Name =
UserTag.Parent = Userpad
UserTag.BackgroundColor3 = .(, , )
UserTag.BackgroundTransparency =
UserTag.BorderSizePixel =
UserTag.Position = .(, , , )
UserTag.Size = .(, , , )
UserTag.Font = .Font.Gotham
UserTag.TextColor3 = .(, , )
UserTag.TextSize =
UserTag.TextTransparency =
UserTag.TextXAlignment = .TextXAlignment.Left
UserName.Text = user
UserTag.Text = .. tag
ServersHoldFrame.Name =
ServersHoldFrame.Parent = MainFrame
ServersHoldFrame.BackgroundColor3 = .(, , )
ServersHoldFrame.BackgroundTransparency =
ServersHoldFrame.BorderColor3 = .(, , )
ServersHoldFrame.Size = .(, , , )
ServersHold.Name =
ServersHold.Parent = ServersHoldFrame
ServersHold.Active =
ServersHold.BackgroundColor3 = .(, , )
ServersHold.BackgroundTransparency =
ServersHold.BorderSizePixel =
ServersHold.Position = .(-, , , )
ServersHold.Size = .(, , , )
ServersHold.ScrollBarThickness =
ServersHold.ScrollBarImageTransparency =
ServersHold.CanvasSize = .(, , , )
ServersHoldLayout.Name =
ServersHoldLayout.Parent = ServersHold
ServersHoldLayout.SortOrder = .SortOrder.LayoutOrder
ServersHoldLayout.Padding = .(, )
ServersHoldPadding.Name =
ServersHoldPadding.Parent = ServersHold
CloseBtn.MouseButton1Click:(
()
MainFrame:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
)
CloseBtn.MouseEnter:(
()
CloseBtn.BackgroundColor3 = .(, , )
)
CloseBtn.MouseLeave:(
()
CloseBtn.BackgroundColor3 = .(, , )
)
MinimizeBtn.MouseEnter:(
()
MinimizeBtn.BackgroundColor3 = .(, , )
)
MinimizeBtn.MouseLeave:(
()
MinimizeBtn.BackgroundColor3 = .(, , )
)
MinimizeBtn.MouseButton1Click:(
()
minimized ==
MainFrame:(
.(, , , ),
.EasingDirection.Out,
.EasingStyle.Quart,
,
)
MainFrame:(
.(, , , ),
.EasingDirection.Out,
.EasingStyle.Quart,
,
)
minimized = minimized
)
SettingsOpenBtn = .()
SettingsOpenBtnIco = .()
SettingsOpenBtn.Name =
SettingsOpenBtn.Parent = Userpad
SettingsOpenBtn.BackgroundColor3 = .(, , )
SettingsOpenBtn.BackgroundTransparency =
SettingsOpenBtn.Position = .(, , , )
SettingsOpenBtn.Size = .(, , , )
SettingsOpenBtn.Font = .Font.SourceSans
SettingsOpenBtn.Text =
SettingsOpenBtn.TextColor3 = .(, , )
SettingsOpenBtn.TextSize =
SettingsOpenBtnIco.Name =
SettingsOpenBtnIco.Parent = SettingsOpenBtn
SettingsOpenBtnIco.BackgroundColor3 = .(, , )
SettingsOpenBtnIco.BackgroundTransparency =
SettingsOpenBtnIco.Size = .(, , , )
SettingsOpenBtnIco.Image =
SettingsOpenBtnIco.ImageColor3 = .(, , )
SettingsFrame = .()
Settings = .()
SettingsHolder = .()
CloseSettingsBtn = .()
CloseSettingsBtnCorner = .()
CloseSettingsBtnCircle = .()
CloseSettingsBtnCircleCorner = .()
CloseSettingsBtnIcon = .()
TextLabel = .()
UserPanel = .()
UserSettingsPad = .()
UserSettingsPadCorner = .()
UsernameText = .()
UserSettingsPadUserTag = .()
UserSettingsPadUser = .()
UserSettingsPadUserTagLayout = .()
UserSettingsPadTag = .()
EditBtn = .()
EditBtnCorner = .()
UserPanelUserIcon = .()
UserPanelUserImage = .()
UserPanelUserCircle = .()
BlackFrame = .()
BlackFrameCorner = .()
ChangeAvatarText = .()
SearchIcoFrame = .()
SearchIcoFrameCorner = .()
SearchIco = .()
UserPanelUserTag = .()
UserPanelUser = .()
UserPanelUserTagLayout = .()
UserPanelTag = .()
UserPanelCorner = .()
LeftFrame = .()
MyAccountBtn = .()
MyAccountBtnCorner = .()
MyAccountBtnTitle = .()
SettingsTitle = .()
DiscordInfo = .()
CurrentSettingOpen = .()
SettingsFrame.Name =
SettingsFrame.Parent = MainFrame
SettingsFrame.BackgroundColor3 = .(, , )
SettingsFrame.BackgroundTransparency =
SettingsFrame.Size = .(, , , )
SettingsFrame.Visible =
Settings.Name =
Settings.Parent = SettingsFrame
Settings.BackgroundColor3 = .(, , )
Settings.BorderSizePixel =
Settings.Position = .(, , , )
Settings.Size = .(, , , )
SettingsHolder.Name =
SettingsHolder.Parent = Settings
SettingsHolder.AnchorPoint = .(, )
SettingsHolder.BackgroundColor3 = .(, , )
SettingsHolder.BackgroundTransparency =
SettingsHolder.ClipsDescendants =
SettingsHolder.Position = .(, , , )
SettingsHolder.Size = .(, , , )
CloseSettingsBtn.Name =
CloseSettingsBtn.Parent = SettingsHolder
CloseSettingsBtn.AnchorPoint = .(, )
CloseSettingsBtn.BackgroundColor3 = .(, , )
CloseSettingsBtn.Position = .(, , , )
CloseSettingsBtn.Selectable =
CloseSettingsBtn.Size = .(, , , )
CloseSettingsBtn.AutoButtonColor =
CloseSettingsBtn.Font = .Font.SourceSans
CloseSettingsBtn.Text =
CloseSettingsBtn.TextColor3 = .(, , )
CloseSettingsBtn.TextSize =
CloseSettingsBtnCorner.CornerRadius = .(, )
CloseSettingsBtnCorner.Name =
CloseSettingsBtnCorner.Parent = CloseSettingsBtn
CloseSettingsBtnCircle.Name =
CloseSettingsBtnCircle.Parent = CloseSettingsBtn
CloseSettingsBtnCircle.BackgroundColor3 = .(, , )
CloseSettingsBtnCircle.Position = .(, , , )
CloseSettingsBtnCircle.Size = .(, , , )
CloseSettingsBtnCircleCorner.CornerRadius = .(, )
CloseSettingsBtnCircleCorner.Name =
CloseSettingsBtnCircleCorner.Parent = CloseSettingsBtnCircle
CloseSettingsBtnIcon.Name =
CloseSettingsBtnIcon.Parent = CloseSettingsBtnCircle
CloseSettingsBtnIcon.BackgroundColor3 = .(, , )
CloseSettingsBtnIcon.BackgroundTransparency =
CloseSettingsBtnIcon.Position = .(, , , )
CloseSettingsBtnIcon.Size = .(, , , )
CloseSettingsBtnIcon.Image =
CloseSettingsBtnIcon.ImageColor3 = .(, , )
CloseSettingsBtn.MouseButton1Click:(()
settingsopened =
TopFrameHolder.Visible =
ServersHoldFrame.Visible =
SettingsHolder:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
Settings,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
i,v , SettingsHolder:()
TweenService:(
v,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
SettingsFrame.Visible =
)
CloseSettingsBtn.MouseEnter:(()
CloseSettingsBtnCircle.BackgroundColor3 = .(,,)
)
CloseSettingsBtn.MouseLeave:(()
CloseSettingsBtnCircle.BackgroundColor3 = .(, , )
)
UserInputService.InputBegan:(
(io, p)
io.KeyCode == .KeyCode.RightControl
settingsopened ==
settingsopened =
TopFrameHolder.Visible =
ServersHoldFrame.Visible =
SettingsHolder:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
Settings,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
i,v , SettingsHolder:()
TweenService:(
v,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
SettingsFrame.Visible =
)
TextLabel.Parent = CloseSettingsBtn
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BackgroundTransparency =
TextLabel.Position = .(-, , , )
TextLabel.Size = .(, , , )
TextLabel.Font = .Font.GothamSemibold
TextLabel.Text =
TextLabel.TextColor3 = .(, , )
TextLabel.TextSize =
UserPanel.Name =
UserPanel.Parent = SettingsHolder
UserPanel.BackgroundColor3 = .(, , )
UserPanel.Position = .(, , , )
UserPanel.Size = .(, , , )
UserSettingsPad.Name =
UserSettingsPad.Parent = UserPanel
UserSettingsPad.BackgroundColor3 = .(, , )
UserSettingsPad.Position = .(, , , )
UserSettingsPad.Size = .(, , , )
UserSettingsPadCorner.Name =
UserSettingsPadCorner.Parent = UserSettingsPad
UsernameText.Name =
UsernameText.Parent = UserSettingsPad
UsernameText.BackgroundColor3 = .(, , )
UsernameText.BackgroundTransparency =
UsernameText.Position = .(, , , )
UsernameText.Size = .(, , , )
UsernameText.Font = .Font.GothamBold
UsernameText.Text =
UsernameText.TextColor3 = .(, , )
UsernameText.TextSize =
UsernameText.TextXAlignment = .TextXAlignment.Left
UserSettingsPadUserTag.Name =
UserSettingsPadUserTag.Parent = UserSettingsPad
UserSettingsPadUserTag.BackgroundColor3 = .(, , )
UserSettingsPadUserTag.BackgroundTransparency =
UserSettingsPadUserTag.Position = .(, , , )
UserSettingsPadUserTag.Size = .(, , , )
UserSettingsPadUser.Name =
UserSettingsPadUser.Parent = UserSettingsPadUserTag
UserSettingsPadUser.BackgroundColor3 = .(, , )
UserSettingsPadUser.BackgroundTransparency =
UserSettingsPadUser.Font = .Font.Gotham
UserSettingsPadUser.TextColor3 = .(, , )
UserSettingsPadUser.TextSize =
UserSettingsPadUser.TextXAlignment = .TextXAlignment.Left
UserSettingsPadUser.Text = user
UserSettingsPadUser.Size = .(, UserSettingsPadUser.TextBounds.X + , , )
UserSettingsPadUserTagLayout.Name =
UserSettingsPadUserTagLayout.Parent = UserSettingsPadUserTag
UserSettingsPadUserTagLayout.FillDirection = .FillDirection.Horizontal
UserSettingsPadUserTagLayout.SortOrder = .SortOrder.LayoutOrder
UserSettingsPadTag.Name =
UserSettingsPadTag.Parent = UserSettingsPadUserTag
UserSettingsPadTag.BackgroundColor3 = .(, , )
UserSettingsPadTag.BackgroundTransparency =
UserSettingsPadTag.Position = .(, , , )
UserSettingsPadTag.Size = .(, , , )
UserSettingsPadTag.Font = .Font.Gotham
UserSettingsPadTag.Text = .. tag
UserSettingsPadTag.TextColor3 = .(, , )
UserSettingsPadTag.TextSize =
UserSettingsPadTag.TextXAlignment = .TextXAlignment.Left
EditBtn.Name =
EditBtn.Parent = UserSettingsPad
EditBtn.BackgroundColor3 = .(, , )
EditBtn.Position = .(, , , )
EditBtn.Size = .(, , , )
EditBtn.Font = .Font.Gotham
EditBtn.Text =
EditBtn.TextColor3 = .(, , )
EditBtn.TextSize =
EditBtn.AutoButtonColor =
EditBtn.MouseEnter:(()
TweenService:(
EditBtn,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(,,)}
):()
)
EditBtn.MouseLeave:(()
TweenService:(
EditBtn,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
EditBtnCorner.CornerRadius = .(, )
EditBtnCorner.Name =
EditBtnCorner.Parent = EditBtn
UserPanelUserIcon.Name =
UserPanelUserIcon.Parent = UserPanel
UserPanelUserIcon.BackgroundColor3 = .(, , )
UserPanelUserIcon.BorderSizePixel =
UserPanelUserIcon.Position = .(, , , )
UserPanelUserIcon.Size = .(, , , )
UserPanelUserIcon.AutoButtonColor =
UserPanelUserIcon.Text =
UserPanelUserImage.Name =
UserPanelUserImage.Parent = UserPanelUserIcon
UserPanelUserImage.BackgroundColor3 = .(, , )
UserPanelUserImage.BackgroundTransparency =
UserPanelUserImage.Size = .(, , , )
UserPanelUserImage.Image = pfp
UserPanelUserCircle.Name =
UserPanelUserCircle.Parent = UserPanelUserImage
UserPanelUserCircle.BackgroundColor3 = .(, , )
UserPanelUserCircle.BackgroundTransparency =
UserPanelUserCircle.Size = .(, , , )
UserPanelUserCircle.Image =
UserPanelUserCircle.ImageColor3 = .(, , )
BlackFrame.Name =
BlackFrame.Parent = UserPanelUserIcon
BlackFrame.BackgroundColor3 = .(, , )
BlackFrame.BackgroundTransparency =
BlackFrame.BorderSizePixel =
BlackFrame.Size = .(, , , )
BlackFrame.Visible =
BlackFrameCorner.CornerRadius = .(, )
BlackFrameCorner.Name =
BlackFrameCorner.Parent = BlackFrame
ChangeAvatarText.Name =
ChangeAvatarText.Parent = BlackFrame
ChangeAvatarText.BackgroundColor3 = .(, , )
ChangeAvatarText.BackgroundTransparency =
ChangeAvatarText.Size = .(, , , )
ChangeAvatarText.Font = .Font.GothamBold
ChangeAvatarText.Text =
ChangeAvatarText.TextColor3 = .(, , )
ChangeAvatarText.TextSize =
ChangeAvatarText.TextWrapped =
SearchIcoFrame.Name =
SearchIcoFrame.Parent = UserPanelUserIcon
SearchIcoFrame.BackgroundColor3 = .(, , )
SearchIcoFrame.Position = .(, , , )
SearchIcoFrame.Size = .(, , , )
SearchIcoFrameCorner.CornerRadius = .(, )
SearchIcoFrameCorner.Name =
SearchIcoFrameCorner.Parent = SearchIcoFrame
SearchIco.Name =
SearchIco.Parent = SearchIcoFrame
SearchIco.BackgroundColor3 = .(, , )
SearchIco.BackgroundTransparency =
SearchIco.Position = .(, , , )
SearchIco.Size = .(, , , )
SearchIco.Image =
SearchIco.ImageColor3 = .(, , )
UserPanelUserIcon.MouseEnter:(()
BlackFrame.Visible =
)
UserPanelUserIcon.MouseLeave:(()
BlackFrame.Visible =
)
UserPanelUserIcon.MouseButton1Click:(()
NotificationHolder = .()
NotificationHolder.Name =
NotificationHolder.Parent = SettingsHolder
NotificationHolder.BackgroundColor3 = .(,,)
NotificationHolder.Position = .(-, , -, )
NotificationHolder.Size = .(, , , )
NotificationHolder.AutoButtonColor =
NotificationHolder.Font = .Font.SourceSans
NotificationHolder.Text =
NotificationHolder.TextColor3 = .(, , )
NotificationHolder.TextSize =
NotificationHolder.BackgroundTransparency =
NotificationHolder.Visible =
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
AvatarChange = .()
UserChangeCorner = .()
UnderBar = .()
UnderBarCorner = .()
UnderBarFrame = .()
Text1 = .()
Text2 = .()
TextBoxFrame = .()
TextBoxFrameCorner = .()
TextBoxFrame1 = .()
TextBoxFrame1Corner = .()
AvatarTextbox = .()
ChangeBtn = .()
ChangeCorner = .()
CloseBtn2 = .()
Close2Icon = .()
CloseBtn1 = .()
CloseBtn1Corner = .()
ResetBtn = .()
ResetCorner = .()
AvatarChange.Name =
AvatarChange.Parent = NotificationHolder
AvatarChange.AnchorPoint = .(, )
AvatarChange.BackgroundColor3 = .(, , )
AvatarChange.ClipsDescendants =
AvatarChange.Position = .(, , , )
AvatarChange.Size = .(, , , )
AvatarChange.BackgroundTransparency =
AvatarChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
AvatarChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
UserChangeCorner.CornerRadius = .(, )
UserChangeCorner.Name =
UserChangeCorner.Parent = AvatarChange
UnderBar.Name =
UnderBar.Parent = AvatarChange
UnderBar.BackgroundColor3 = .(, , )
UnderBar.Position = .(-, , , )
UnderBar.Size = .(, , , )
UnderBarCorner.CornerRadius = .(, )
UnderBarCorner.Name =
UnderBarCorner.Parent = UnderBar
UnderBarFrame.Name =
UnderBarFrame.Parent = UnderBar
UnderBarFrame.BackgroundColor3 = .(, , )
UnderBarFrame.BorderSizePixel =
UnderBarFrame.Position = .(-, , -, )
UnderBarFrame.Size = .(, , , )
Text1.Name =
Text1.Parent = AvatarChange
Text1.BackgroundColor3 = .(, , )
Text1.BackgroundTransparency =
Text1.Position = .(-, , , )
Text1.Size = .(, , , )
Text1.Font = .Font.GothamSemibold
Text1.Text =
Text1.TextColor3 = .(, , )
Text1.TextSize =
Text2.Name =
Text2.Parent = AvatarChange
Text2.BackgroundColor3 = .(, , )
Text2.BackgroundTransparency =
Text2.Position = .(-, , , )
Text2.Size = .(, , , )
Text2.Font = .Font.Gotham
Text2.Text =
Text2.TextColor3 = .(, , )
Text2.TextSize =
TextBoxFrame.Name =
TextBoxFrame.Parent = AvatarChange
TextBoxFrame.AnchorPoint = .(, )
TextBoxFrame.BackgroundColor3 = .(, , )
TextBoxFrame.Position = .(, , , )
TextBoxFrame.Size = .(, , , )
TextBoxFrameCorner.CornerRadius = .(, )
TextBoxFrameCorner.Name =
TextBoxFrameCorner.Parent = TextBoxFrame
TextBoxFrame1.Name =
TextBoxFrame1.Parent = TextBoxFrame
TextBoxFrame1.AnchorPoint = .(, )
TextBoxFrame1.BackgroundColor3 = .(, , )
TextBoxFrame1.ClipsDescendants =
TextBoxFrame1.Position = .(, , , )
TextBoxFrame1.Size = .(, , , )
TextBoxFrame1Corner.CornerRadius = .(, )
TextBoxFrame1Corner.Name =
TextBoxFrame1Corner.Parent = TextBoxFrame1
AvatarTextbox.Name =
AvatarTextbox.Parent = TextBoxFrame1
AvatarTextbox.BackgroundColor3 = .(, , )
AvatarTextbox.BackgroundTransparency =
AvatarTextbox.Position = .(, , , )
AvatarTextbox.Size = .(, , , )
AvatarTextbox.Font = .Font.Gotham
AvatarTextbox.Text =
AvatarTextbox.TextColor3 = .(, , )
AvatarTextbox.TextSize =
AvatarTextbox.TextXAlignment = .TextXAlignment.Left
ChangeBtn.Name =
ChangeBtn.Parent = AvatarChange
ChangeBtn.BackgroundColor3 = .(, , )
ChangeBtn.Position = .(, , , )
ChangeBtn.Size = .(, , , )
ChangeBtn.Font = .Font.Gotham
ChangeBtn.Text =
ChangeBtn.TextColor3 = .(, , )
ChangeBtn.TextSize =
ChangeBtn.AutoButtonColor =
ChangeBtn.MouseEnter:(()
TweenService:(
ChangeBtn,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(,,)}
):()
)
ChangeBtn.MouseLeave:(()
TweenService:(
ChangeBtn,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
ChangeBtn.MouseButton1Click:(()
pfp = (AvatarTextbox.Text)
UserImage.Image = pfp
UserPanelUserImage.Image = pfp
()
AvatarChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
AvatarChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
NotificationHolder:()
)
ChangeCorner.CornerRadius = .(, )
ChangeCorner.Name =
ChangeCorner.Parent = ChangeBtn
CloseBtn2.Name =
CloseBtn2.Parent = AvatarChange
CloseBtn2.BackgroundColor3 = .(, , )
CloseBtn2.BackgroundTransparency =
CloseBtn2.Position = .(, , , )
CloseBtn2.Size = .(, , , )
CloseBtn2.Font = .Font.Gotham
CloseBtn2.Text =
CloseBtn2.TextColor3 = .(, , )
CloseBtn2.TextSize =
Close2Icon.Name =
Close2Icon.Parent = CloseBtn2
Close2Icon.BackgroundColor3 = .(, , )
Close2Icon.BackgroundTransparency =
Close2Icon.Position = .(-, , , )
Close2Icon.Size = .(, , , )
Close2Icon.Image =
Close2Icon.ImageColor3 = .(, , )
CloseBtn1.Name =
CloseBtn1.Parent = AvatarChange
CloseBtn1.BackgroundColor3 = .(, , )
CloseBtn1.BackgroundTransparency =
CloseBtn1.Position = .(, , , )
CloseBtn1.Size = .(, , , )
CloseBtn1.Font = .Font.Gotham
CloseBtn1.Text =
CloseBtn1.TextColor3 = .(, , )
CloseBtn1.TextSize =
CloseBtn1Corner.CornerRadius = .(, )
CloseBtn1Corner.Name =
CloseBtn1Corner.Parent = CloseBtn1
ResetBtn.Name =
ResetBtn.Parent = AvatarChange
ResetBtn.BackgroundColor3 = .(, , )
ResetBtn.BackgroundTransparency =
ResetBtn.Position = .(, , , )
ResetBtn.Size = .(, , , )
ResetBtn.Font = .Font.Gotham
ResetBtn.Text =
ResetBtn.TextColor3 = .(, , )
ResetBtn.TextSize =
ResetBtn.MouseButton1Click:(()
pfp = .. .Players.LocalPlayer.UserId ..
UserImage.Image = pfp
UserPanelUserImage.Image = pfp
()
AvatarChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
AvatarChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
NotificationHolder:()
)
ResetCorner.CornerRadius = .(, )
ResetCorner.Name =
ResetCorner.Parent = ResetBtn
CloseBtn1.MouseButton1Click:(()
AvatarChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
AvatarChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
NotificationHolder:()
)
CloseBtn2.MouseButton1Click:(()
AvatarChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
AvatarChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
NotificationHolder:()
)
CloseBtn2.MouseEnter:(()
TweenService:(
Close2Icon,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{ImageColor3 = .(,,)}
):()
)
CloseBtn2.MouseLeave:(()
TweenService:(
Close2Icon,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{ImageColor3 = .(, , )}
):()
)
AvatarTextbox.Focused:(()
TweenService:(
TextBoxFrame,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
AvatarTextbox.FocusLost:(()
TweenService:(
TextBoxFrame,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
)
UserPanelUserTag.Name =
UserPanelUserTag.Parent = UserPanel
UserPanelUserTag.BackgroundColor3 = .(, , )
UserPanelUserTag.BackgroundTransparency =
UserPanelUserTag.Position = .(, , , )
UserPanelUserTag.Size = .(, , , )
UserPanelUser.Name =
UserPanelUser.Parent = UserPanelUserTag
UserPanelUser.BackgroundColor3 = .(, , )
UserPanelUser.BackgroundTransparency =
UserPanelUser.Font = .Font.GothamSemibold
UserPanelUser.TextColor3 = .(, , )
UserPanelUser.TextSize =
UserPanelUser.TextXAlignment = .TextXAlignment.Left
UserPanelUser.Text = user
UserPanelUser.Size = .(, UserPanelUser.TextBounds.X + , , )
UserPanelUserTagLayout.Name =
UserPanelUserTagLayout.Parent = UserPanelUserTag
UserPanelUserTagLayout.FillDirection = .FillDirection.Horizontal
UserPanelUserTagLayout.SortOrder = .SortOrder.LayoutOrder
UserPanelTag.Name =
UserPanelTag.Parent = UserPanelUserTag
UserPanelTag.BackgroundColor3 = .(, , )
UserPanelTag.BackgroundTransparency =
UserPanelTag.Position = .(, , , )
UserPanelTag.Size = .(, , , )
UserPanelTag.Font = .Font.Gotham
UserPanelTag.Text = .. tag
UserPanelTag.TextColor3 = .(, , )
UserPanelTag.TextSize =
UserPanelTag.TextXAlignment = .TextXAlignment.Left
UserPanelCorner.Name =
UserPanelCorner.Parent = UserPanel
LeftFrame.Name =
LeftFrame.Parent = SettingsHolder
LeftFrame.BackgroundColor3 = .(, , )
LeftFrame.BorderSizePixel =
LeftFrame.Position = .(, , -, )
LeftFrame.Size = .(, , , )
MyAccountBtn.Name =
MyAccountBtn.Parent = LeftFrame
MyAccountBtn.BackgroundColor3 = .(, , )
MyAccountBtn.BorderSizePixel =
MyAccountBtn.Position = .(, , , )
MyAccountBtn.Size = .(, , , )
MyAccountBtn.AutoButtonColor =
MyAccountBtn.Font = .Font.SourceSans
MyAccountBtn.Text =
MyAccountBtn.TextColor3 = .(, , )
MyAccountBtn.TextSize =
MyAccountBtnCorner.CornerRadius = .(, )
MyAccountBtnCorner.Name =
MyAccountBtnCorner.Parent = MyAccountBtn
MyAccountBtnTitle.Name =
MyAccountBtnTitle.Parent = MyAccountBtn
MyAccountBtnTitle.BackgroundColor3 = .(, , )
MyAccountBtnTitle.BackgroundTransparency =
MyAccountBtnTitle.BorderSizePixel =
MyAccountBtnTitle.Position = .(, , -, )
MyAccountBtnTitle.Size = .(, , , )
MyAccountBtnTitle.Font = .Font.GothamSemibold
MyAccountBtnTitle.Text =
MyAccountBtnTitle.TextColor3 = .(, , )
MyAccountBtnTitle.TextSize =
MyAccountBtnTitle.TextXAlignment = .TextXAlignment.Left
SettingsTitle.Name =
SettingsTitle.Parent = LeftFrame
SettingsTitle.BackgroundColor3 = .(, , )
SettingsTitle.BackgroundTransparency =
SettingsTitle.Position = .(, , , )
SettingsTitle.Size = .(, , , )
SettingsTitle.Font = .Font.GothamBlack
SettingsTitle.Text =
SettingsTitle.TextColor3 = .(, , )
SettingsTitle.TextSize =
SettingsTitle.TextXAlignment = .TextXAlignment.Left
DiscordInfo.Name =
DiscordInfo.Parent = LeftFrame
DiscordInfo.BackgroundColor3 = .(, , )
DiscordInfo.BackgroundTransparency =
DiscordInfo.Position = .(, , , )
DiscordInfo.Size = .(, , , )
DiscordInfo.Font = .Font.Gotham
DiscordInfo.Text =
DiscordInfo.TextColor3 = .(, , )
DiscordInfo.TextSize =
DiscordInfo.TextWrapped =
DiscordInfo.TextXAlignment = .TextXAlignment.Left
DiscordInfo.TextYAlignment = .TextYAlignment.Top
CurrentSettingOpen.Name =
CurrentSettingOpen.Parent = LeftFrame
CurrentSettingOpen.BackgroundColor3 = .(, , )
CurrentSettingOpen.BackgroundTransparency =
CurrentSettingOpen.Position = .(, , , )
CurrentSettingOpen.Size = .(, , , )
CurrentSettingOpen.Font = .Font.GothamBlack
CurrentSettingOpen.Text =
CurrentSettingOpen.TextColor3 = .(, , )
CurrentSettingOpen.TextSize =
CurrentSettingOpen.TextXAlignment = .TextXAlignment.Left
SettingsOpenBtn.MouseButton1Click:( ()
settingsopened =
TopFrameHolder.Visible =
ServersHoldFrame.Visible =
SettingsFrame.Visible =
SettingsHolder:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
Settings.BackgroundTransparency =
TweenService:(
Settings,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
i,v , SettingsHolder:()
v.BackgroundTransparency =
TweenService:(
v,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
)
EditBtn.MouseButton1Click:(()
NotificationHolder = .()
NotificationHolder.Name =
NotificationHolder.Parent = SettingsHolder
NotificationHolder.BackgroundColor3 = .(,,)
NotificationHolder.Position = .(-, , -, )
NotificationHolder.Size = .(, , , )
NotificationHolder.AutoButtonColor =
NotificationHolder.Font = .Font.SourceSans
NotificationHolder.Text =
NotificationHolder.TextColor3 = .(, , )
NotificationHolder.TextSize =
NotificationHolder.BackgroundTransparency =
NotificationHolder.Visible =
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
UserChange = .()
UserChangeCorner = .()
UnderBar = .()
UnderBarCorner = .()
UnderBarFrame = .()
Text1 = .()
Text2 = .()
TextBoxFrame = .()
TextBoxFrameCorner = .()
TextBoxFrame1 = .()
TextBoxFrame1Corner = .()
UsernameTextbox = .()
Seperator = .()
HashtagLabel = .()
TagTextbox = .()
ChangeBtn = .()
ChangeCorner = .()
CloseBtn2 = .()
Close2Icon = .()
CloseBtn1 = .()
CloseBtn1Corner = .()
UserChange.Name =
UserChange.Parent = NotificationHolder
UserChange.AnchorPoint = .(, )
UserChange.BackgroundColor3 = .(, , )
UserChange.ClipsDescendants =
UserChange.Position = .(, , , )
UserChange.Size = .(, , , )
UserChange.BackgroundTransparency =
UserChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
UserChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
UserChangeCorner.CornerRadius = .(, )
UserChangeCorner.Name =
UserChangeCorner.Parent = UserChange
UnderBar.Name =
UnderBar.Parent = UserChange
UnderBar.BackgroundColor3 = .(, , )
UnderBar.Position = .(-, , , )
UnderBar.Size = .(, , , )
UnderBarCorner.CornerRadius = .(, )
UnderBarCorner.Name =
UnderBarCorner.Parent = UnderBar
UnderBarFrame.Name =
UnderBarFrame.Parent = UnderBar
UnderBarFrame.BackgroundColor3 = .(, , )
UnderBarFrame.BorderSizePixel =
UnderBarFrame.Position = .(-, , -, )
UnderBarFrame.Size = .(, , , )
Text1.Name =
Text1.Parent = UserChange
Text1.BackgroundColor3 = .(, , )
Text1.BackgroundTransparency =
Text1.Position = .(-, , , )
Text1.Size = .(, , , )
Text1.Font = .Font.GothamSemibold
Text1.Text =
Text1.TextColor3 = .(, , )
Text1.TextSize =
Text2.Name =
Text2.Parent = UserChange
Text2.BackgroundColor3 = .(, , )
Text2.BackgroundTransparency =
Text2.Position = .(-, , , )
Text2.Size = .(, , , )
Text2.Font = .Font.Gotham
Text2.Text =
Text2.TextColor3 = .(, , )
Text2.TextSize =
TextBoxFrame.Name =
TextBoxFrame.Parent = UserChange
TextBoxFrame.AnchorPoint = .(, )
TextBoxFrame.BackgroundColor3 = .(, , )
TextBoxFrame.Position = .(, , , )
TextBoxFrame.Size = .(, , , )
TextBoxFrameCorner.CornerRadius = .(, )
TextBoxFrameCorner.Name =
TextBoxFrameCorner.Parent = TextBoxFrame
TextBoxFrame1.Name =
TextBoxFrame1.Parent = TextBoxFrame
TextBoxFrame1.AnchorPoint = .(, )
TextBoxFrame1.BackgroundColor3 = .(, , )
TextBoxFrame1.Position = .(, , , )
TextBoxFrame1.Size = .(, , , )
TextBoxFrame1Corner.CornerRadius = .(, )
TextBoxFrame1Corner.Name =
TextBoxFrame1Corner.Parent = TextBoxFrame1
UsernameTextbox.Name =
UsernameTextbox.Parent = TextBoxFrame1
UsernameTextbox.BackgroundColor3 = .(, , )
UsernameTextbox.BackgroundTransparency =
UsernameTextbox.Position = .(, , , )
UsernameTextbox.Size = .(, , , )
UsernameTextbox.Font = .Font.Gotham
UsernameTextbox.Text = user
UsernameTextbox.TextColor3 = .(, , )
UsernameTextbox.TextSize =
UsernameTextbox.TextXAlignment = .TextXAlignment.Left
Seperator.Name =
Seperator.Parent = TextBoxFrame1
Seperator.AnchorPoint = .(, )
Seperator.BackgroundColor3 = .(, , )
Seperator.BorderSizePixel =
Seperator.Position = .(, , , )
Seperator.Size = .(, , , )
HashtagLabel.Name =
HashtagLabel.Parent = TextBoxFrame1
HashtagLabel.BackgroundColor3 = .(, , )
HashtagLabel.BackgroundTransparency =
HashtagLabel.Position = .(, , -, )
HashtagLabel.Size = .(, , , )
HashtagLabel.Font = .Font.Gotham
HashtagLabel.Text =
HashtagLabel.TextColor3 = .(, , )
HashtagLabel.TextSize =
TagTextbox.Name =
TagTextbox.Parent = TextBoxFrame1
TagTextbox.BackgroundColor3 = .(, , )
TagTextbox.BackgroundTransparency =
TagTextbox.Position = .(, , -, )
TagTextbox.Size = .(, , , )
TagTextbox.Font = .Font.Gotham
TagTextbox.PlaceholderColor3 = .(, , )
TagTextbox.Text = tag
TagTextbox.TextColor3 = .(, , )
TagTextbox.TextSize =
TagTextbox.TextXAlignment = .TextXAlignment.Left
ChangeBtn.Name =
ChangeBtn.Parent = UserChange
ChangeBtn.BackgroundColor3 = .(, , )
ChangeBtn.Position = .(, , , )
ChangeBtn.Size = .(, , , )
ChangeBtn.Font = .Font.Gotham
ChangeBtn.Text =
ChangeBtn.TextColor3 = .(, , )
ChangeBtn.TextSize =
ChangeBtn.AutoButtonColor =
ChangeBtn.MouseEnter:(()
TweenService:(
ChangeBtn,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(,,)}
):()
)
ChangeBtn.MouseLeave:(()
TweenService:(
ChangeBtn,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
ChangeBtn.MouseButton1Click:(()
user = UsernameTextbox.Text
tag = TagTextbox.Text
UserSettingsPadUser.Text = user
UserSettingsPadUser.Size = .(, UserSettingsPadUser.TextBounds.X + , , )
UserSettingsPadTag.Text = .. tag
UserPanelTag.Text = .. tag
UserPanelUser.Text = user
UserPanelUser.Size = .(, UserPanelUser.TextBounds.X + , , )
UserName.Text = user
UserTag.Text = .. tag
()
UserChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
UserChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
NotificationHolder:()
)
ChangeCorner.CornerRadius = .(, )
ChangeCorner.Name =
ChangeCorner.Parent = ChangeBtn
CloseBtn2.Name =
CloseBtn2.Parent = UserChange
CloseBtn2.BackgroundColor3 = .(, , )
CloseBtn2.BackgroundTransparency =
CloseBtn2.Position = .(, , , )
CloseBtn2.Size = .(, , , )
CloseBtn2.Font = .Font.Gotham
CloseBtn2.Text =
CloseBtn2.TextColor3 = .(, , )
CloseBtn2.TextSize =
Close2Icon.Name =
Close2Icon.Parent = CloseBtn2
Close2Icon.BackgroundColor3 = .(, , )
Close2Icon.BackgroundTransparency =
Close2Icon.Position = .(-, , , )
Close2Icon.Size = .(, , , )
Close2Icon.Image =
Close2Icon.ImageColor3 = .(, , )
CloseBtn1.Name =
CloseBtn1.Parent = UserChange
CloseBtn1.BackgroundColor3 = .(, , )
CloseBtn1.BackgroundTransparency =
CloseBtn1.Position = .(, , , )
CloseBtn1.Size = .(, , , )
CloseBtn1.Font = .Font.Gotham
CloseBtn1.Text =
CloseBtn1.TextColor3 = .(, , )
CloseBtn1.TextSize =
CloseBtn1Corner.CornerRadius = .(, )
CloseBtn1Corner.Name =
CloseBtn1Corner.Parent = CloseBtn1
CloseBtn1.MouseButton1Click:(()
UserChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
UserChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
NotificationHolder:()
)
CloseBtn2.MouseButton1Click:(()
UserChange:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
UserChange,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
TweenService:(
NotificationHolder,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
()
NotificationHolder:()
)
CloseBtn2.MouseEnter:(()
TweenService:(
Close2Icon,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{ImageColor3 = .(,,)}
):()
)
CloseBtn2.MouseLeave:(()
TweenService:(
Close2Icon,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{ImageColor3 = .(, , )}
):()
)
TagTextbox.Changed:(()
TagTextbox.Text = TagTextbox.Text:(,)
)
TagTextbox:():(()
TagTextbox.Text = TagTextbox.Text:(, );
)
UsernameTextbox.Changed:(()
UsernameTextbox.Text = UsernameTextbox.Text:(,)
)
TagTextbox.Focused:(()
TweenService:(
TextBoxFrame,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
TagTextbox.FocusLost:(()
TweenService:(
TextBoxFrame,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
UsernameTextbox.Focused:(()
TweenService:(
TextBoxFrame,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
UsernameTextbox.FocusLost:(()
TweenService:(
TextBoxFrame,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundColor3 = .(, , )}
):()
)
)
DiscordLib:(titletext, desctext, btntext)
NotificationHolderMain = .()
Notification = .()
NotificationCorner = .()
UnderBar = .()
UnderBarCorner = .()
UnderBarFrame = .()
Text1 = .()
Text2 = .()
AlrightBtn = .()
AlrightCorner = .()
NotificationHolderMain.Name =
NotificationHolderMain.Parent = MainFrame
NotificationHolderMain.BackgroundColor3 = .(, , )
NotificationHolderMain.BackgroundTransparency =
NotificationHolderMain.BorderSizePixel =
NotificationHolderMain.Position = .(, , , )
NotificationHolderMain.Size = .(, , , )
NotificationHolderMain.AutoButtonColor =
NotificationHolderMain.Font = .Font.SourceSans
NotificationHolderMain.Text =
NotificationHolderMain.TextColor3 = .(, , )
NotificationHolderMain.TextSize =
TweenService:(
NotificationHolderMain,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
Notification.Name =
Notification.Parent = NotificationHolderMain
Notification.AnchorPoint = .(, )
Notification.BackgroundColor3 = .(, , )
Notification.ClipsDescendants =
Notification.Position = .(, , , )
Notification.Size = .(, , , )
Notification.BackgroundTransparency =
Notification:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quart, , )
TweenService:(
Notification,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{BackgroundTransparency = }
):()
NotificationCorner.CornerRadius = .(, )
NotificationCorner.Name =
NotificationCorner.Parent = Notification
UnderBar.Name =
UnderBar.Parent = Notification
UnderBar.BackgroundColor3 = .(, , )
UnderBar.Position = .(-, , , )
UnderBar.Size = .(, , , )
UnderBarCorner.CornerRadius = .(, )
UnderBarCorner.Name =
UnderBarCorner.Parent = UnderBar
UnderBarFrame.Name =
UnderBarFrame.Parent = UnderBar
UnderBarFrame.BackgroundColor3 = .(, , )
UnderBarFrame.BorderSizePixel =
UnderBarFrame.Position = .(-, , -, )
UnderBarFrame.Size = .(, , , )
Text1.Name =
Text1.Parent = Notification
Text1.BackgroundColor3 = .(, , )
Text1.BackgroundTransparency =
Text1.Position = .(-, , , )
Text1.Size = .(, , , )
Text1.Font = .Font.GothamSemibold
Text1.Text = titletext
Text1.TextColor3 = .(, , )
Text1.TextSize =
Text2.Name =
Text2.Parent = Notification
Text2.BackgroundColor3 = .(, , )
Text2.BackgroundTransparency =
Text2.Position = .(, , , )
Text2.Size = .(, , , )
Text2.Font = .Font.Gotham
Text2.Text = desctext
Text2.TextColor3 = .(, , )
Text2.TextSize =
Text2.TextWrapped =
AlrightBtn.Name =
AlrightBtn.Parent = Notification
AlrightBtn.BackgroundColor3 = .(, , )
AlrightBtn.Position = .(, , , )
AlrightBtn.Size = .(, , , )
AlrightBtn.Font = .Font.Gotham
AlrightBtn.Text = btntext
AlrightBtn.TextColor3 = .(, , )
AlrightBtn.TextSize =
AlrightBtn.AutoButtonColor =
AlrightCorner.CornerRadius = .(, )
AlrightCorner.Name =
AlrightCorner.Parent = AlrightBtn
AlrightBtn.MouseButton1Click:(()
TweenService:(
NotificationHolderMain,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
Notification:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
TweenService:Create(
Notification,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
wait(.2)
NotificationHolderMain:Destroy()
end)
AlrightBtn.MouseEnter:Connect(function()
TweenService:Create(
AlrightBtn,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(103,123,196)}
):Play()
end)
AlrightBtn.MouseLeave:Connect(function()
TweenService:Create(
AlrightBtn,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
):Play()
end)
end
MakeDraggable(TopFrame, MainFrame)
ServersHoldPadding.PaddingLeft = UDim.new(0, 14)
local ServerHold = {}
function ServerHold:Server(text, img)
local fc = false
local currentchanneltoggled = ""
local Server = Instance.new("TextButton")
local ServerBtnCorner = Instance.new("UICorner")
local ServerIco = Instance.new("ImageLabel")
local ServerWhiteFrame = Instance.new("Frame")
local ServerWhiteFrameCorner = Instance.new("UICorner")
Server.Name = text .. "Server"
Server.Parent = ServersHold
Server.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
Server.Position = UDim2.new(0.125, 0, 0, 0)
Server.Size = UDim2.new(0, 47, 0, 47)
Server.AutoButtonColor = false
Server.Font = Enum.Font.Gotham
Server.Text = ""
Server.TextColor3 = Color3.fromRGB(255, 255, 255)
Server.TextSize = 18.000
ServerBtnCorner.CornerRadius = UDim.new(1, 0)
ServerBtnCorner.Name = "ServerCorner"
ServerBtnCorner.Parent = Server
ServerIco.Name = "ServerIco"
ServerIco.Parent = Server
ServerIco.AnchorPoint = Vector2.new(0.5, 0.5)
ServerIco.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ServerIco.BackgroundTransparency = 1.000
ServerIco.Position = UDim2.new(0.489361703, 0, 0.489361703, 0)
ServerIco.Size = UDim2.new(0, 45, 0, 45)
ServerIco.Image = ""
ServerWhiteFrame.Name = "ServerWhiteFrame"
ServerWhiteFrame.Parent = Server
ServerWhiteFrame.AnchorPoint = Vector2.new(0.5, 0.5)
ServerWhiteFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ServerWhiteFrame.Position = UDim2.new(-0.347378343, 0, 0.502659559, 0)
ServerWhiteFrame.Size = UDim2.new(0, 11, 0, 10)
ServerWhiteFrameCorner.CornerRadius = UDim.new(1, 0)
ServerWhiteFrameCorner.Name = "ServerWhiteFrameCorner"
ServerWhiteFrameCorner.Parent = ServerWhiteFrame
ServersHold.CanvasSize = UDim2.new(0, 0, 0, ServersHoldLayout.AbsoluteContentSize.Y)
local ServerFrame = Instance.new("Frame")
local ServerFrame1 = Instance.new("Frame")
local ServerFrame2 = Instance.new("Frame")
local ServerTitleFrame = Instance.new("Frame")
local ServerTitle = Instance.new("TextLabel")
local GlowFrame = Instance.new("Frame")
local Glow = Instance.new("ImageLabel")
local ServerContentFrame = Instance.new("Frame")
local ServerCorner = Instance.new("UICorner")
local ChannelTitleFrame = Instance.new("Frame")
local Hashtag = Instance.new("TextLabel")
local ChannelTitle = Instance.new("TextLabel")
local ChannelContentFrame = Instance.new("Frame")
local GlowChannel = Instance.new("ImageLabel")
local ServerChannelHolder = Instance.new("ScrollingFrame")
local ServerChannelHolderLayout = Instance.new("UIListLayout")
local ServerChannelHolderPadding = Instance.new("UIPadding")
ServerFrame.Name = "ServerFrame"
ServerFrame.Parent = ServersHolder
ServerFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
ServerFrame.BorderSizePixel = 0
ServerFrame.ClipsDescendants = true
ServerFrame.Position = UDim2.new(0.105726875, 0, 1.01262593, 0)
ServerFrame.Size = UDim2.new(0, 609, 0, 373)
ServerFrame.Visible = false
ServerFrame1.Name = "ServerFrame1"
ServerFrame1.Parent = ServerFrame
ServerFrame1.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
ServerFrame1.BorderSizePixel = 0
ServerFrame1.Position = UDim2.new(0, 0, 0.972290039, 0)
ServerFrame1.Size = UDim2.new(0, 12, 0, 10)
ServerFrame2.Name = "ServerFrame2"
ServerFrame2.Parent = ServerFrame
ServerFrame2.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
ServerFrame2.BorderSizePixel = 0
ServerFrame2.Position = UDim2.new(0.980295539, 0, 0.972290039, 0)
ServerFrame2.Size = UDim2.new(0, 12, 0, 9)
ServerTitleFrame.Name = "ServerTitleFrame"
ServerTitleFrame.Parent = ServerFrame
ServerTitleFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
ServerTitleFrame.BackgroundTransparency = 1.000
ServerTitleFrame.BorderSizePixel = 0
ServerTitleFrame.Position = UDim2.new(-0.0010054264, 0, -0.000900391256, 0)
ServerTitleFrame.Size = UDim2.new(0, 180, 0, 40)
ServerTitle.Name = "ServerTitle"
ServerTitle.Parent = ServerTitleFrame
ServerTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ServerTitle.BackgroundTransparency = 1.000
ServerTitle.BorderSizePixel = 0
ServerTitle.Position = UDim2.new(0.0751359761, 0, 0, 0)
ServerTitle.Size = UDim2.new(0, 97, 0, 39)
ServerTitle.Font = Enum.Font.GothamSemibold
ServerTitle.Text = text
ServerTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
ServerTitle.TextSize = 15.000
ServerTitle.TextXAlignment = Enum.TextXAlignment.Left
GlowFrame.Name = "GlowFrame"
GlowFrame.Parent = ServerFrame
GlowFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
GlowFrame.BackgroundTransparency = 1.000
GlowFrame.BorderSizePixel = 0
GlowFrame.Position = UDim2.new(-0.0010054264, 0, -0.000900391256, 0)
GlowFrame.Size = UDim2.new(0, 609, 0, 40)
Glow.Name = "Glow"
Glow.Parent = GlowFrame
Glow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Glow.BackgroundTransparency = 1.000
Glow.BorderSizePixel = 0
Glow.Position = UDim2.new(0, -15, 0, -15)
Glow.Size = UDim2.new(1, 30, 1, 30)
Glow.ZIndex = 0
Glow.Image = "rbxassetid://4996891970"
Glow.ImageColor3 = Color3.fromRGB(15, 15, 15)
Glow.ScaleType = Enum.ScaleType.Slice
Glow.SliceCenter = Rect.new(20, 20, 280, 280)
ServerContentFrame.Name = "ServerContentFrame"
ServerContentFrame.Parent = ServerFrame
ServerContentFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
ServerContentFrame.BackgroundTransparency = 1.000
ServerContentFrame.BorderSizePixel = 0
ServerContentFrame.Position = UDim2.new(-0.0010054264, 0, 0.106338218, 0)
ServerContentFrame.Size = UDim2.new(0, 180, 0, 333)
ServerCorner.CornerRadius = UDim.new(0, 9)
ServerCorner.Name = "ServerCorner"
ServerCorner.Parent = ServerFrame
ChannelTitleFrame.Name = "ChannelTitleFrame"
ChannelTitleFrame.Parent = ServerFrame
ChannelTitleFrame.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
ChannelTitleFrame.BorderSizePixel = 0
ChannelTitleFrame.Position = UDim2.new(0.294561088, 0, -0.000900391256, 0)
ChannelTitleFrame.Size = UDim2.new(0, 429, 0, 40)
Hashtag.Name = "Hashtag"
Hashtag.Parent = ChannelTitleFrame
Hashtag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Hashtag.BackgroundTransparency = 1.000
Hashtag.BorderSizePixel = 0
Hashtag.Position = UDim2.new(0.0279720277, 0, 0, 0)
Hashtag.Size = UDim2.new(0, 19, 0, 39)
Hashtag.Font = Enum.Font.Gotham
Hashtag.Text = "#"
Hashtag.TextColor3 = Color3.fromRGB(114, 118, 125)
Hashtag.TextSize = 25.000
ChannelTitle.Name = "ChannelTitle"
ChannelTitle.Parent = ChannelTitleFrame
ChannelTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ChannelTitle.BackgroundTransparency = 1.000
ChannelTitle.BorderSizePixel = 0
ChannelTitle.Position = UDim2.new(0.0862470865, 0, 0, 0)
ChannelTitle.Size = UDim2.new(0, 95, 0, 39)
ChannelTitle.Font = Enum.Font.GothamSemibold
ChannelTitle.Text = ""
ChannelTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
ChannelTitle.TextSize = 15.000
ChannelTitle.TextXAlignment = Enum.TextXAlignment.Left
ChannelContentFrame.Name = "ChannelContentFrame"
ChannelContentFrame.Parent = ServerFrame
ChannelContentFrame.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
ChannelContentFrame.BorderSizePixel = 0
ChannelContentFrame.ClipsDescendants = true
ChannelContentFrame.Position = UDim2.new(0.294561088, 0, 0.106338218, 0)
ChannelContentFrame.Size = UDim2.new(0, 429, 0, 333)
GlowChannel.Name = "GlowChannel"
GlowChannel.Parent = ChannelContentFrame
GlowChannel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
GlowChannel.BackgroundTransparency = 1.000
GlowChannel.BorderSizePixel = 0
GlowChannel.Position = UDim2.new(0, -33, 0, -91)
GlowChannel.Size = UDim2.new(1.06396091, 30, 0.228228226, 30)
GlowChannel.ZIndex = 0
GlowChannel.Image = "rbxassetid://4996891970"
GlowChannel.ImageColor3 = Color3.fromRGB(15, 15, 15)
GlowChannel.ScaleType = Enum.ScaleType.Slice
GlowChannel.SliceCenter = Rect.new(20, 20, 280, 280)
ServerChannelHolder.Name = "ServerChannelHolder"
ServerChannelHolder.Parent = ServerContentFrame
ServerChannelHolder.Active = true
ServerChannelHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ServerChannelHolder.BackgroundTransparency = 1.000
ServerChannelHolder.BorderSizePixel = 0
ServerChannelHolder.Position = UDim2.new(0.00535549596, 0, 0.0241984241, 0)
ServerChannelHolder.Selectable = false
ServerChannelHolder.Size = UDim2.new(0, 179, 0, 278)
ServerChannelHolder.CanvasSize = UDim2.new(0, 0, 0, 0)
ServerChannelHolder.ScrollBarThickness = 4
ServerChannelHolder.ScrollBarImageColor3 = Color3.fromRGB(18, 19, 21)
ServerChannelHolder.ScrollBarImageTransparency = 1
ServerChannelHolderLayout.Name = "ServerChannelHolderLayout"
ServerChannelHolderLayout.Parent = ServerChannelHolder
ServerChannelHolderLayout.SortOrder = Enum.SortOrder.LayoutOrder
ServerChannelHolderLayout.Padding = UDim.new(0, 4)
ServerChannelHolderPadding.Name = "ServerChannelHolderPadding"
ServerChannelHolderPadding.Parent = ServerChannelHolder
ServerChannelHolderPadding.PaddingLeft = UDim.new(0, 9)
ServerChannelHolder.MouseEnter:Connect(function()
ServerChannelHolder.ScrollBarImageTransparency = 0
end)
ServerChannelHolder.MouseLeave:Connect(function()
ServerChannelHolder.ScrollBarImageTransparency = 1
end)
Server.MouseEnter:Connect(
function()
if currentservertoggled ~= Server.Name then
TweenService:Create(
Server,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
):Play()
TweenService:Create(
ServerBtnCorner,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{CornerRadius = UDim.new(0, 15)}
):Play()
ServerWhiteFrame:TweenSize(
UDim2.new(0, 11, 0, 27),
Enum.EasingDirection.Out,
Enum.EasingStyle.Quart,
.3,
true
)
end
end
)
Server.MouseLeave:Connect(
function()
if currentservertoggled ~= Server.Name then
TweenService:Create(
Server,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(47, 49, 54)}
):Play()
TweenService:Create(
ServerBtnCorner,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{CornerRadius = UDim.new(1, 0)}
):Play()
ServerWhiteFrame:TweenSize(
UDim2.new(0, 11, 0, 10),
Enum.EasingDirection.Out,
Enum.EasingStyle.Quart,
.3,
true
)
end
end
)
Server.MouseButton1Click:Connect(
function()
currentservertoggled = Server.Name
for i, v in next, ServersHolder:GetChildren() do
if v.Name == "ServerFrame" then
v.Visible = false
end
ServerFrame.Visible = true
end
for i, v in next, ServersHold:GetChildren() do
if v.ClassName == "TextButton" then
TweenService:Create(
v,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(47, 49, 54)}
):Play()
TweenService:Create(
Server,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
):Play()
TweenService:Create(
v.ServerCorner,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{CornerRadius = UDim.new(1, 0)}
):Play()
TweenService:Create(
ServerBtnCorner,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{CornerRadius = UDim.new(0, 15)}
):Play()
v.ServerWhiteFrame:TweenSize(
UDim2.new(0, 11, 0, 10),
Enum.EasingDirection.Out,
Enum.EasingStyle.Quart,
.3,
true
)
ServerWhiteFrame:TweenSize(
UDim2.new(0, 11, 0, 46),
Enum.EasingDirection.Out,
Enum.EasingStyle.Quart,
.3,
true
)
end
end
end
)
if img == "" then
Server.Text = string.sub(text, 1, 1)
else
ServerIco.Image = img
end
if fs == false then
TweenService:Create(
Server,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
):Play()
TweenService:Create(
ServerBtnCorner,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{CornerRadius = UDim.new(0, 15)}
):Play()
ServerWhiteFrame:TweenSize(
UDim2.new(0, 11, 0, 46),
Enum.EasingDirection.Out,
Enum.EasingStyle.Quart,
.3,
true
)
ServerFrame.Visible = true
Server.Name = text .. "Server"
currentservertoggled = Server.Name
fs = true
end
local ChannelHold = {}
function ChannelHold:Channel(text)
local ChannelBtn = Instance.new("TextButton")
local ChannelBtnCorner = Instance.new("UICorner")
local ChannelBtnHashtag = Instance.new("TextLabel")
local ChannelBtnTitle = Instance.new("TextLabel")
ChannelBtn.Name = text .. "ChannelBtn"
ChannelBtn.Parent = ServerChannelHolder
ChannelBtn.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
ChannelBtn.BorderSizePixel = 0
ChannelBtn.Position = UDim2.new(0.24118948, 0, 0.578947365, 0)
ChannelBtn.Size = UDim2.new(0, 160, 0, 30)
ChannelBtn.AutoButtonColor = false
ChannelBtn.Font = Enum.Font.SourceSans
ChannelBtn.Text = ""
ChannelBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
ChannelBtn.TextSize = 14.000
ChannelBtnCorner.CornerRadius = UDim.new(0, 6)
ChannelBtnCorner.Name = "ChannelBtnCorner"
ChannelBtnCorner.Parent = ChannelBtn
ChannelBtnHashtag.Name = "ChannelBtnHashtag"
ChannelBtnHashtag.Parent = ChannelBtn
ChannelBtnHashtag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ChannelBtnHashtag.BackgroundTransparency = 1.000
ChannelBtnHashtag.BorderSizePixel = 0
ChannelBtnHashtag.Position = UDim2.new(0.0279720314, 0, 0, 0)
ChannelBtnHashtag.Size = UDim2.new(0, 24, 0, 30)
ChannelBtnHashtag.Font = Enum.Font.Gotham
ChannelBtnHashtag.Text = "#"
ChannelBtnHashtag.TextColor3 = Color3.fromRGB(114, 118, 125)
ChannelBtnHashtag.TextSize = 21.000
ChannelBtnTitle.Name = "ChannelBtnTitle"
ChannelBtnTitle.Parent = ChannelBtn
ChannelBtnTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ChannelBtnTitle.BackgroundTransparency = 1.000
ChannelBtnTitle.BorderSizePixel = 0
ChannelBtnTitle.Position = UDim2.new(0.173747092, 0, -0.166666672, 0)
ChannelBtnTitle.Size = UDim2.new(0, 95, 0, 39)
ChannelBtnTitle.Font = Enum.Font.Gotham
ChannelBtnTitle.Text = text
ChannelBtnTitle.TextColor3 = Color3.fromRGB(114, 118, 125)
ChannelBtnTitle.TextSize = 14.000
ChannelBtnTitle.TextXAlignment = Enum.TextXAlignment.Left
ServerChannelHolder.CanvasSize = UDim2.new(0, 0, 0, ServerChannelHolderLayout.AbsoluteContentSize.Y)
local ChannelHolder = Instance.new("ScrollingFrame")
local ChannelHolderLayout = Instance.new("UIListLayout")
ChannelHolder.Name = "ChannelHolder"
ChannelHolder.Parent = ChannelContentFrame
ChannelHolder.Active = true
ChannelHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ChannelHolder.BackgroundTransparency = 1.000
ChannelHolder.BorderSizePixel = 0
ChannelHolder.Position = UDim2.new(0.0360843192, 0, 0.0241984241, 0)
ChannelHolder.Size = UDim2.new(0, 412, 0, 314)
ChannelHolder.ScrollBarThickness = 6
ChannelHolder.CanvasSize = UDim2.new(0,0,0,0)
ChannelHolder.ScrollBarImageTransparency = 0
ChannelHolder.ScrollBarImageColor3 = Color3.fromRGB(18, 19, 21)
ChannelHolder.Visible = false
ChannelHolder.ClipsDescendants = false
ChannelHolderLayout.Name = "ChannelHolderLayout"
ChannelHolderLayout.Parent = ChannelHolder
ChannelHolderLayout.SortOrder = Enum.SortOrder.LayoutOrder
ChannelHolderLayout.Padding = UDim.new(0, 6)
ChannelBtn.MouseEnter:Connect(function()
if currentchanneltoggled ~= ChannelBtn.Name then
ChannelBtn.BackgroundColor3 = Color3.fromRGB(52,55,60)
ChannelBtnTitle.TextColor3 = Color3.fromRGB(220,221,222)
end
end)
ChannelBtn.MouseLeave:Connect(function()
if currentchanneltoggled ~= ChannelBtn.Name then
ChannelBtn.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
ChannelBtnTitle.TextColor3 = Color3.fromRGB(114, 118, 125)
end
end)
ChannelBtn.MouseButton1Click:Connect(function()
for i, v in next, ChannelContentFrame:GetChildren() do
if v.Name == "ChannelHolder" then
v.Visible = false
end
ChannelHolder.Visible = true
end
for i, v in next, ServerChannelHolder:GetChildren() do
if v.ClassName == "TextButton" then
v.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
v.ChannelBtnTitle.TextColor3 = Color3.fromRGB(114, 118, 125)
end
ServerFrame.Visible = true
end
ChannelTitle.Text = text
ChannelBtn.BackgroundColor3 = Color3.fromRGB(57,60,67)
ChannelBtnTitle.TextColor3 = Color3.fromRGB(255,255,255)
currentchanneltoggled = ChannelBtn.Name
end)
if fc == false then
fc = true
ChannelTitle.Text = text
ChannelBtn.BackgroundColor3 = Color3.fromRGB(57,60,67)
ChannelBtnTitle.TextColor3 = Color3.fromRGB(255,255,255)
currentchanneltoggled = ChannelBtn.Name
ChannelHolder.Visible = true
end
local ChannelContent = {}
function ChannelContent:Button(text,callback)
local Button = Instance.new("TextButton")
local ButtonCorner = Instance.new("UICorner")
Button.Name = "Button"
Button.Parent = ChannelHolder
Button.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
Button.Size = UDim2.new(0, 401, 0, 30)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Gotham
Button.TextColor3 = Color3.fromRGB(255, 255, 255)
Button.TextSize = 14.000
Button.Text = text
ButtonCorner.CornerRadius = UDim.new(0, 4)
ButtonCorner.Name = "ButtonCorner"
ButtonCorner.Parent = Button
Button.MouseEnter:Connect(function()
TweenService:Create(
Button,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(103,123,196)}
):Play()
end)
Button.MouseButton1Click:Connect(function()
pcall(callback)
Button.TextSize = 0
TweenService:Create(
Button,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{TextSize = 14}
):Play()
end)
Button.MouseLeave:Connect(function()
TweenService:Create(
Button,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
):Play()
end)
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
function ChannelContent:Toggle(text,default,callback)
local toggled = false
local Toggle = Instance.new("TextButton")
local ToggleTitle = Instance.new("TextLabel")
local ToggleFrame = Instance.new("Frame")
local ToggleFrameCorner = Instance.new("UICorner")
local ToggleFrameCircle = Instance.new("Frame")
local ToggleFrameCircleCorner = Instance.new("UICorner")
local Icon = Instance.new("ImageLabel")
Toggle.Name = "Toggle"
Toggle.Parent = ChannelHolder
Toggle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
Toggle.BorderSizePixel = 0
Toggle.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
Toggle.Size = UDim2.new(0, 401, 0, 30)
Toggle.AutoButtonColor = false
Toggle.Font = Enum.Font.Gotham
Toggle.Text = ""
Toggle.TextColor3 = Color3.fromRGB(255, 255, 255)
Toggle.TextSize = 14.000
ToggleTitle.Name = "ToggleTitle"
ToggleTitle.Parent = Toggle
ToggleTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ToggleTitle.BackgroundTransparency = 1.000
ToggleTitle.Position = UDim2.new(0, 5, 0, 0)
ToggleTitle.Size = UDim2.new(0, 200, 0, 30)
ToggleTitle.Font = Enum.Font.Gotham
ToggleTitle.Text = text
ToggleTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
ToggleTitle.TextSize = 14.000
ToggleTitle.TextXAlignment = Enum.TextXAlignment.Left
ToggleFrame.Name = "ToggleFrame"
ToggleFrame.Parent = Toggle
ToggleFrame.BackgroundColor3 = Color3.fromRGB(114, 118, 125)
ToggleFrame.Position = UDim2.new(0.900481343, -5, 0.13300018, 0)
ToggleFrame.Size = UDim2.new(0, 40, 0, 21)
ToggleFrameCorner.CornerRadius = UDim.new(1, 8)
ToggleFrameCorner.Name = "ToggleFrameCorner"
ToggleFrameCorner.Parent = ToggleFrame
ToggleFrameCircle.Name = "ToggleFrameCircle"
ToggleFrameCircle.Parent = ToggleFrame
ToggleFrameCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ToggleFrameCircle.Position = UDim2.new(0.234999999, -5, 0.133000001, 0)
ToggleFrameCircle.Size = UDim2.new(0, 15, 0, 15)
ToggleFrameCircleCorner.CornerRadius = UDim.new(1, 0)
ToggleFrameCircleCorner.Name = "ToggleFrameCircleCorner"
ToggleFrameCircleCorner.Parent = ToggleFrameCircle
Icon.Name = "Icon"
Icon.Parent = ToggleFrameCircle
Icon.AnchorPoint = Vector2.new(0.5, 0.5)
Icon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Icon.BackgroundTransparency = 1.000
Icon.BorderColor3 = Color3.fromRGB(27, 42, 53)
Icon.Position = UDim2.new(0, 8, 0, 8)
Icon.Size = UDim2.new(0, 13, 0, 13)
Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
Icon.ImageColor3 = Color3.fromRGB(114, 118, 125)
Toggle.MouseButton1Click:Connect(function()
if toggled == false then
TweenService:Create(
Icon,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{ImageColor3 = Color3.fromRGB(67,181,129)}
):Play()
TweenService:Create(
ToggleFrame,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(67,181,129)}
):Play()
ToggleFrameCircle:TweenPosition(UDim2.new(0.655, -5, 0.133000001, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
TweenService:Create(
Icon,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{ImageTransparency = 1}
):Play()
Icon.Image = "http://www.roblox.com/asset/?id=6023426926"
wait(.1)
TweenService:Create(
Icon,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{ImageTransparency = 0}
):Play()
else
TweenService:Create(
Icon,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{ImageColor3 = Color3.fromRGB(114, 118, 125)}
):Play()
TweenService:Create(
ToggleFrame,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(114, 118, 125)}
):Play()
ToggleFrameCircle:TweenPosition(UDim2.new(0.234999999, -5, 0.133000001, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
TweenService:Create(
Icon,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{ImageTransparency = 1}
):Play()
Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
wait(.1)
TweenService:Create(
Icon,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{ImageTransparency = 0}
):Play()
end
toggled = not toggled
pcall(callback, toggled)
end)
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
function ChannelContent:Slider(text, min, max, start, callback)
local SliderFunc = {}
local dragging = false
local Slider = Instance.new("TextButton")
local SliderTitle = Instance.new("TextLabel")
local SliderFrame = Instance.new("Frame")
local SliderFrameCorner = Instance.new("UICorner")
local CurrentValueFrame = Instance.new("Frame")
local CurrentValueFrameCorner = Instance.new("UICorner")
local Zip = Instance.new("Frame")
local ZipCorner = Instance.new("UICorner")
local ValueBubble = Instance.new("Frame")
local ValueBubbleCorner = Instance.new("UICorner")
local SquareBubble = Instance.new("Frame")
local GlowBubble = Instance.new("ImageLabel")
local ValueLabel = Instance.new("TextLabel")
Slider.Name = "Slider"
Slider.Parent = ChannelHolder
Slider.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
Slider.BorderSizePixel = 0
Slider.Position = UDim2.new(0, 0, 0.216560602, 0)
Slider.Size = UDim2.new(0, 401, 0, 38)
Slider.AutoButtonColor = false
Slider.Font = Enum.Font.Gotham
Slider.Text = ""
Slider.TextColor3 = Color3.fromRGB(255, 255, 255)
Slider.TextSize = 14.000
SliderTitle.Name = "SliderTitle"
SliderTitle.Parent = Slider
SliderTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SliderTitle.BackgroundTransparency = 1.000
SliderTitle.Position = UDim2.new(0, 5, 0, -4)
SliderTitle.Size = UDim2.new(0, 200, 0, 27)
SliderTitle.Font = Enum.Font.Gotham
SliderTitle.Text = text
SliderTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
SliderTitle.TextSize = 14.000
SliderTitle.TextXAlignment = Enum.TextXAlignment.Left
SliderFrame.Name = "SliderFrame"
SliderFrame.Parent = Slider
SliderFrame.AnchorPoint = Vector2.new(0.5, 0.5)
SliderFrame.BackgroundColor3 = Color3.fromRGB(79, 84, 92)
SliderFrame.Position = UDim2.new(0.497999996, 0, 0.757000029, 0)
SliderFrame.Size = UDim2.new(0, 385, 0, 8)
SliderFrameCorner.Name = "SliderFrameCorner"
SliderFrameCorner.Parent = SliderFrame
CurrentValueFrame.Name = "CurrentValueFrame"
CurrentValueFrame.Parent = SliderFrame
CurrentValueFrame.BackgroundColor3 = Color3.fromRGB(114, 137, 218)
CurrentValueFrame.Size = UDim2.new((start or 0) / max, 0, 0, 8)
CurrentValueFrameCorner.Name = "CurrentValueFrameCorner"
CurrentValueFrameCorner.Parent = CurrentValueFrame
Zip.Name = "Zip"
Zip.Parent = SliderFrame
Zip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Zip.Position = UDim2.new((start or 0)/max, -6,-0.644999981, 0)
Zip.Size = UDim2.new(0, 10, 0, 18)
ZipCorner.CornerRadius = UDim.new(0, 3)
ZipCorner.Name = "ZipCorner"
ZipCorner.Parent = Zip
ValueBubble.Name = "ValueBubble"
ValueBubble.Parent = Zip
ValueBubble.AnchorPoint = Vector2.new(0.5, 0.5)
ValueBubble.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
ValueBubble.Position = UDim2.new(0.5, 0, -1.00800002, 0)
ValueBubble.Size = UDim2.new(0, 36, 0, 21)
ValueBubble.Visible = false
Zip.MouseEnter:Connect(function()
if dragging == false then
ValueBubble.Visible = true
end
end)
Zip.MouseLeave:Connect(function()
if dragging == false then
ValueBubble.Visible = false
end
end)
ValueBubbleCorner.CornerRadius = UDim.new(0, 3)
ValueBubbleCorner.Name = "ValueBubbleCorner"
ValueBubbleCorner.Parent = ValueBubble
SquareBubble.Name = "SquareBubble"
SquareBubble.Parent = ValueBubble
SquareBubble.AnchorPoint = Vector2.new(0.5, 0.5)
SquareBubble.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
SquareBubble.BorderSizePixel = 0
SquareBubble.Position = UDim2.new(0.493000001, 0, 0.637999971, 0)
SquareBubble.Rotation = 45.000
SquareBubble.Size = UDim2.new(0, 19, 0, 19)
GlowBubble.Name = "GlowBubble"
GlowBubble.Parent = ValueBubble
GlowBubble.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
GlowBubble.BackgroundTransparency = 1.000
GlowBubble.BorderSizePixel = 0
GlowBubble.Position = UDim2.new(0, -15, 0, -15)
GlowBubble.Size = UDim2.new(1, 30, 1, 30)
GlowBubble.ZIndex = 0
GlowBubble.Image = "rbxassetid://4996891970"
GlowBubble.ImageColor3 = Color3.fromRGB(15, 15, 15)
GlowBubble.ScaleType = Enum.ScaleType.Slice
GlowBubble.SliceCenter = Rect.new(20, 20, 280, 280)
ValueLabel.Name = "ValueLabel"
ValueLabel.Parent = ValueBubble
ValueLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ValueLabel.BackgroundTransparency = 1.000
ValueLabel.Size = UDim2.new(0, 36, 0, 21)
ValueLabel.Font = Enum.Font.Gotham
ValueLabel.Text = tostring(start and math.floor((start / max) * (max - min) + min) or 0)
ValueLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
ValueLabel.TextSize = 10.000
local function move(input)
local pos =
UDim2.new(
math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
-6,
-0.644999981,
0
)
local pos1 =
UDim2.new(
math.clamp((input.Position.X - SliderFrame.AbsolutePosition.X) / SliderFrame.AbsoluteSize.X, 0, 1),
0,
0,
8
)
CurrentValueFrame.Size = pos1
Zip.Position = pos
local value = math.floor(((pos.X.Scale * max) / max) * (max - min) + min)
ValueLabel.Text = tostring(value)
pcall(callback, value)
end
Zip.InputBegan:Connect(
function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
ValueBubble.Visible = true
end
end
)
Zip.InputEnded:Connect(
function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
ValueBubble.Visible = false
end
end
)
game:GetService("UserInputService").InputChanged:Connect(
function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
move(input)
end
end
)
function SliderFunc:Change(tochange)
CurrentValueFrame.Size = UDim2.new((tochange or 0) / max, 0, 0, 8)
Zip.Position = UDim2.new((tochange or 0)/max, -6,-0.644999981, 0)
ValueLabel.Text = tostring(tochange and math.floor((tochange / max) * (max - min) + min) or 0)
pcall(callback, tochange)
end
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
return SliderFunc
end
function ChannelContent:Seperator()
local Seperator1 = Instance.new("Frame")
local Seperator2 = Instance.new("Frame")
Seperator1.Name = "Seperator1"
Seperator1.Parent = ChannelHolder
Seperator1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Seperator1.BackgroundTransparency = 1.000
Seperator1.Position = UDim2.new(0, 0, 0.350318581, 0)
Seperator1.Size = UDim2.new(0, 100, 0, 8)
Seperator2.Name = "Seperator2"
Seperator2.Parent = Seperator1
Seperator2.BackgroundColor3 = Color3.fromRGB(66, 69, 74)
Seperator2.BorderSizePixel = 0
Seperator2.Position = UDim2.new(0, 0, 0, 4)
Seperator2.Size = UDim2.new(0, 401, 0, 1)
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
function ChannelContent:Dropdown(text, list, callback)
local DropFunc = {}
local itemcount = 0
local framesize = 0
local DropTog = false
local Dropdown = Instance.new("Frame")
local DropdownTitle = Instance.new("TextLabel")
local DropdownFrameOutline = Instance.new("Frame")
local DropdownFrameOutlineCorner = Instance.new("UICorner")
local DropdownFrame = Instance.new("Frame")
local DropdownFrameCorner = Instance.new("UICorner")
local CurrentSelectedText = Instance.new("TextLabel")
local ArrowImg = Instance.new("ImageLabel")
local DropdownFrameBtn = Instance.new("TextButton")
Dropdown.Name = "Dropdown"
Dropdown.Parent = ChannelHolder
Dropdown.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDim2.new(0.0796874985, 0, 0.445175439, 0)
Dropdown.Size = UDim2.new(0, 403, 0, 73)
DropdownTitle.Name = "DropdownTitle"
DropdownTitle.Parent = Dropdown
DropdownTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
DropdownTitle.BackgroundTransparency = 1.000
DropdownTitle.Position = UDim2.new(0, 5, 0, 0)
DropdownTitle.Size = UDim2.new(0, 200, 0, 29)
DropdownTitle.Font = Enum.Font.Gotham
DropdownTitle.Text = text
DropdownTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
DropdownTitle.TextSize = 14.000
DropdownTitle.TextXAlignment = Enum.TextXAlignment.Left
DropdownFrameOutline.Name = "DropdownFrameOutline"
DropdownFrameOutline.Parent = DropdownTitle
DropdownFrameOutline.AnchorPoint = Vector2.new(0.5, 0.5)
DropdownFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
DropdownFrameOutline.Position = UDim2.new(0.988442957, 0, 1.6197437, 0)
DropdownFrameOutline.Size = UDim2.new(0, 396, 0, 36)
DropdownFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
DropdownFrameOutlineCorner.Name = "DropdownFrameOutlineCorner"
DropdownFrameOutlineCorner.Parent = DropdownFrameOutline
DropdownFrame.Name = "DropdownFrame"
DropdownFrame.Parent = DropdownTitle
DropdownFrame.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
DropdownFrame.ClipsDescendants = true
DropdownFrame.Position = UDim2.new(0.00999999978, 0, 1.06638527, 0)
DropdownFrame.Selectable = true
DropdownFrame.Size = UDim2.new(0, 392, 0, 32)
DropdownFrameCorner.CornerRadius = UDim.new(0, 3)
DropdownFrameCorner.Name = "DropdownFrameCorner"
DropdownFrameCorner.Parent = DropdownFrame
CurrentSelectedText.Name = "CurrentSelectedText"
CurrentSelectedText.Parent = DropdownFrame
CurrentSelectedText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CurrentSelectedText.BackgroundTransparency = 1.000
CurrentSelectedText.Position = UDim2.new(0.0178571437, 0, 0, 0)
CurrentSelectedText.Size = UDim2.new(0, 193, 0, 32)
CurrentSelectedText.Font = Enum.Font.Gotham
CurrentSelectedText.Text = "..."
CurrentSelectedText.TextColor3 = Color3.fromRGB(212, 212, 212)
CurrentSelectedText.TextSize = 14.000
CurrentSelectedText.TextXAlignment = Enum.TextXAlignment.Left
ArrowImg.Name = "ArrowImg"
ArrowImg.Parent = CurrentSelectedText
ArrowImg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ArrowImg.BackgroundTransparency = 1.000
ArrowImg.Position = UDim2.new(1.84974098, 0, 0.167428851, 0)
ArrowImg.Size = UDim2.new(0, 22, 0, 22)
ArrowImg.Image = "http://www.roblox.com/asset/?id=6034818372"
ArrowImg.ImageColor3 = Color3.fromRGB(212, 212, 212)
DropdownFrameBtn.Name = "DropdownFrameBtn"
DropdownFrameBtn.Parent = DropdownFrame
DropdownFrameBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
DropdownFrameBtn.BackgroundTransparency = 1.000
DropdownFrameBtn.Size = UDim2.new(0, 392, 0, 32)
DropdownFrameBtn.Font = Enum.Font.SourceSans
DropdownFrameBtn.Text = ""
DropdownFrameBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
DropdownFrameBtn.TextSize = 14.000
local DropdownFrameMainOutline = Instance.new("Frame")
local DropdownFrameMainOutlineCorner = Instance.new("UICorner")
local DropdownFrameMain = Instance.new("Frame")
local DropdownFrameMainCorner = Instance.new("UICorner")
local DropItemHolderLabel = Instance.new("TextLabel")
local DropItemHolder = Instance.new("ScrollingFrame")
local DropItemHolderLayout = Instance.new("UIListLayout")
DropdownFrameMainOutline.Name = "DropdownFrameMainOutline"
DropdownFrameMainOutline.Parent = DropdownTitle
DropdownFrameMainOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
DropdownFrameMainOutline.Position = UDim2.new(-0.00155700743, 0, 2.16983342, 0)
DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, 81)
DropdownFrameMainOutline.Visible = false
DropdownFrameMainOutlineCorner.CornerRadius = UDim.new(0, 3)
DropdownFrameMainOutlineCorner.Name = "DropdownFrameMainOutlineCorner"
DropdownFrameMainOutlineCorner.Parent = DropdownFrameMainOutline
DropdownFrameMain.Name = "DropdownFrameMain"
DropdownFrameMain.Parent = DropdownTitle
DropdownFrameMain.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
DropdownFrameMain.ClipsDescendants = true
DropdownFrameMain.Position = UDim2.new(0.00999999978, 0, 2.2568965, 0)
DropdownFrameMain.Selectable = true
DropdownFrameMain.Size = UDim2.new(0, 392, 0, 77)
DropdownFrameMain.Visible = false
DropdownFrameMainCorner.CornerRadius = UDim.new(0, 3)
DropdownFrameMainCorner.Name = "DropdownFrameMainCorner"
DropdownFrameMainCorner.Parent = DropdownFrameMain
DropItemHolderLabel.Name = "ItemHolderLabel"
DropItemHolderLabel.Parent = DropdownFrameMain
DropItemHolderLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
DropItemHolderLabel.BackgroundTransparency = 1.000
DropItemHolderLabel.Position = UDim2.new(0.0178571437, 0, 0, 0)
DropItemHolderLabel.Size = UDim2.new(0, 193, 0, 13)
DropItemHolderLabel.Font = Enum.Font.Gotham
DropItemHolderLabel.Text = ""
DropItemHolderLabel.TextColor3 = Color3.fromRGB(212, 212, 212)
DropItemHolderLabel.TextSize = 14.000
DropItemHolderLabel.TextXAlignment = Enum.TextXAlignment.Left
DropItemHolder.Name = "ItemHolder"
DropItemHolder.Parent = DropItemHolderLabel
DropItemHolder.Active = true
DropItemHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
DropItemHolder.BackgroundTransparency = 1.000
DropItemHolder.Position = UDim2.new(0, 0, 0.215384638, 0)
DropItemHolder.Size = UDim2.new(0, 385, 0, 0)
DropItemHolder.CanvasSize = UDim2.new(0, 0, 0, 0)
DropItemHolder.ScrollBarThickness = 6
DropItemHolder.BorderSizePixel = 0
DropItemHolder.ScrollBarImageColor3 = Color3.fromRGB(28, 29, 32)
DropItemHolderLayout.Name = "ItemHolderLayout"
DropItemHolderLayout.Parent = DropItemHolder
DropItemHolderLayout.SortOrder = Enum.SortOrder.LayoutOrder
DropItemHolderLayout.Padding = UDim.new(0, 0)
DropdownFrameBtn.MouseButton1Click:Connect(function()
if DropTog == false then
DropdownFrameMain.Visible = true
DropdownFrameMainOutline.Visible = true
Dropdown.Size = UDim2.new(0, 403, 0, 73 + DropdownFrameMainOutline.AbsoluteSize.Y)
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
else
Dropdown.Size = UDim2.new(0, 403, 0, 73)
DropdownFrameMain.Visible = false
DropdownFrameMainOutline.Visible = false
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
DropTog = not DropTog
end)
for i,v in next, list do
itemcount = itemcount + 1
if itemcount == 1 then
framesize = 29
elseif itemcount == 2 then
framesize = 58
elseif itemcount >= 3 then
framesize = 87
end
local Item = Instance.new("TextButton")
local ItemCorner = Instance.new("UICorner")
local ItemText = Instance.new("TextLabel")
Item.Name = "Item"
Item.Parent = DropItemHolder
Item.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
Item.Size = UDim2.new(0, 379, 0, 29)
Item.AutoButtonColor = false
Item.Font = Enum.Font.SourceSans
Item.Text = ""
Item.TextColor3 = Color3.fromRGB(0, 0, 0)
Item.TextSize = 14.000
Item.BackgroundTransparency = 1
ItemCorner.CornerRadius = UDim.new(0, 4)
ItemCorner.Name = "ItemCorner"
ItemCorner.Parent = Item
ItemText.Name = "ItemText"
ItemText.Parent = Item
ItemText.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
ItemText.BackgroundTransparency = 1.000
ItemText.Position = UDim2.new(0.0211081803, 0, 0, 0)
ItemText.Size = UDim2.new(0, 192, 0, 29)
ItemText.Font = Enum.Font.Gotham
ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
ItemText.TextSize = 14.000
ItemText.TextXAlignment = Enum.TextXAlignment.Left
ItemText.Text = v
Item.MouseEnter:Connect(function()
ItemText.TextColor3 = Color3.fromRGB(255,255,255)
Item.BackgroundTransparency = 0
end)
Item.MouseLeave:Connect(function()
ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
Item.BackgroundTransparency = 1
end)
Item.MouseButton1Click:Connect(function()
CurrentSelectedText.Text = v
pcall(callback, v)
Dropdown.Size = UDim2.new(0, 403, 0, 73)
DropdownFrameMain.Visible = false
DropdownFrameMainOutline.Visible = false
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
DropTog = not DropTog
end)
DropItemHolder.CanvasSize = UDim2.new(0,0,0,DropItemHolderLayout.AbsoluteContentSize.Y)
DropItemHolder.Size = UDim2.new(0, 385, 0, framesize)
DropdownFrameMain.Size = UDim2.new(0, 392, 0, framesize + 6)
DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, framesize + 10)
end
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
function DropFunc:Clear()
for i,v in next, DropItemHolder:GetChildren() do
if v.Name == "Item" then
v:Destroy()
end
end
CurrentSelectedText.Text = "..."
itemcount = 0
framesize = 0
DropItemHolder.Size = UDim2.new(0, 385, 0, 0)
DropdownFrameMain.Size = UDim2.new(0, 392, 0, 0)
DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, 0)
Dropdown.Size = UDim2.new(0, 403, 0, 73)
DropdownFrameMain.Visible = false
DropdownFrameMainOutline.Visible = false
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
function DropFunc:Add(textadd)
itemcount = itemcount + 1
if itemcount == 1 then
framesize = 29
elseif itemcount == 2 then
framesize = 58
elseif itemcount >= 3 then
framesize = 87
end
local Item = Instance.new("TextButton")
local ItemCorner = Instance.new("UICorner")
local ItemText = Instance.new("TextLabel")
Item.Name = "Item"
Item.Parent = DropItemHolder
Item.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
Item.Size = UDim2.new(0, 379, 0, 29)
Item.AutoButtonColor = false
Item.Font = Enum.Font.SourceSans
Item.Text = ""
Item.TextColor3 = Color3.fromRGB(0, 0, 0)
Item.TextSize = 14.000
Item.BackgroundTransparency = 1
ItemCorner.CornerRadius = UDim.new(0, 4)
ItemCorner.Name = "ItemCorner"
ItemCorner.Parent = Item
ItemText.Name = "ItemText"
ItemText.Parent = Item
ItemText.BackgroundColor3 = Color3.fromRGB(42, 44, 48)
ItemText.BackgroundTransparency = 1.000
ItemText.Position = UDim2.new(0.0211081803, 0, 0, 0)
ItemText.Size = UDim2.new(0, 192, 0, 29)
ItemText.Font = Enum.Font.Gotham
ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
ItemText.TextSize = 14.000
ItemText.TextXAlignment = Enum.TextXAlignment.Left
ItemText.Text = textadd
Item.MouseEnter:Connect(function()
ItemText.TextColor3 = Color3.fromRGB(255,255,255)
Item.BackgroundTransparency = 0
end)
Item.MouseLeave:Connect(function()
ItemText.TextColor3 = Color3.fromRGB(212, 212, 212)
Item.BackgroundTransparency = 1
end)
Item.MouseButton1Click:Connect(function()
CurrentSelectedText.Text = textadd
pcall(callback, textadd)
Dropdown.Size = UDim2.new(0, 403, 0, 73)
DropdownFrameMain.Visible = false
DropdownFrameMainOutline.Visible = false
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
DropTog = not DropTog
end)
DropItemHolder.CanvasSize = UDim2.new(0,0,0,DropItemHolderLayout.AbsoluteContentSize.Y)
DropItemHolder.Size = UDim2.new(0, 385, 0, framesize)
DropdownFrameMain.Size = UDim2.new(0, 392, 0, framesize + 6)
DropdownFrameMainOutline.Size = UDim2.new(0, 396, 0, framesize + 10)
end
return DropFunc
end
function ChannelContent:Colorpicker(text, preset, callback)
local OldToggleColor = Color3.fromRGB(0, 0, 0)
local OldColor = Color3.fromRGB(0, 0, 0)
local OldColorSelectionPosition = nil
local OldHueSelectionPosition = nil
local ColorH, ColorS, ColorV = 1, 1, 1
local RainbowColorPicker = false
local ColorPickerInput = nil
local ColorInput = nil
local HueInput = nil
local Colorpicker = Instance.new("Frame")
local ColorpickerTitle = Instance.new("TextLabel")
local ColorpickerFrameOutline = Instance.new("Frame")
local ColorpickerFrameOutlineCorner = Instance.new("UICorner")
local ColorpickerFrame = Instance.new("Frame")
local ColorpickerFrameCorner = Instance.new("UICorner")
local Color = Instance.new("ImageLabel")
local ColorCorner = Instance.new("UICorner")
local ColorSelection = Instance.new("ImageLabel")
local Hue = Instance.new("ImageLabel")
local HueCorner = Instance.new("UICorner")
local HueGradient = Instance.new("UIGradient")
local HueSelection = Instance.new("ImageLabel")
local PresetClr = Instance.new("Frame")
local PresetClrCorner = Instance.new("UICorner")
Colorpicker.Name = "Colorpicker"
Colorpicker.Parent = ChannelHolder
Colorpicker.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Colorpicker.BackgroundTransparency = 1.000
Colorpicker.Position = UDim2.new(0.0895741582, 0, 0.474232763, 0)
Colorpicker.Size = UDim2.new(0, 403, 0, 175)
ColorpickerTitle.Name = "ColorpickerTitle"
ColorpickerTitle.Parent = Colorpicker
ColorpickerTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ColorpickerTitle.BackgroundTransparency = 1.000
ColorpickerTitle.Position = UDim2.new(0, 5, 0, 0)
ColorpickerTitle.Size = UDim2.new(0, 200, 0, 29)
ColorpickerTitle.Font = Enum.Font.Gotham
ColorpickerTitle.Text = "Colorpicker"
ColorpickerTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
ColorpickerTitle.TextSize = 14.000
ColorpickerTitle.TextXAlignment = Enum.TextXAlignment.Left
ColorpickerFrameOutline.Name = "ColorpickerFrameOutline"
ColorpickerFrameOutline.Parent = ColorpickerTitle
ColorpickerFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
ColorpickerFrameOutline.Position = UDim2.new(-0.00100000005, 0, 0.991999984, 0)
ColorpickerFrameOutline.Size = UDim2.new(0, 238, 0, 139)
ColorpickerFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
ColorpickerFrameOutlineCorner.Name = "ColorpickerFrameOutlineCorner"
ColorpickerFrameOutlineCorner.Parent = ColorpickerFrameOutline
ColorpickerFrame.Name = "ColorpickerFrame"
ColorpickerFrame.Parent = ColorpickerTitle
ColorpickerFrame.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
ColorpickerFrame.ClipsDescendants = true
ColorpickerFrame.Position = UDim2.new(0.00999999978, 0, 1.06638515, 0)
ColorpickerFrame.Selectable = true
ColorpickerFrame.Size = UDim2.new(0, 234, 0, 135)
ColorpickerFrameCorner.CornerRadius = UDim.new(0, 3)
ColorpickerFrameCorner.Name = "ColorpickerFrameCorner"
ColorpickerFrameCorner.Parent = ColorpickerFrame
Color.Name = "Color"
Color.Parent = ColorpickerFrame
Color.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
Color.Position = UDim2.new(0, 10, 0, 10)
Color.Size = UDim2.new(0, 154, 0, 118)
Color.ZIndex = 10
Color.Image = "rbxassetid://4155801252"
ColorCorner.CornerRadius = UDim.new(0, 3)
ColorCorner.Name = "ColorCorner"
ColorCorner.Parent = Color
ColorSelection.Name = "ColorSelection"
ColorSelection.Parent = Color
ColorSelection.AnchorPoint = Vector2.new(0.5, 0.5)
ColorSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ColorSelection.BackgroundTransparency = 1.000
ColorSelection.Position = UDim2.new(preset and select(3, Color3.toHSV(preset)))
ColorSelection.Size = UDim2.new(0, 18, 0, 18)
ColorSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
ColorSelection.ScaleType = Enum.ScaleType.Fit
Hue.Name = "Hue"
Hue.Parent = ColorpickerFrame
Hue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Hue.Position = UDim2.new(0, 171, 0, 10)
Hue.Size = UDim2.new(0, 18, 0, 118)
HueCorner.CornerRadius = UDim.new(0, 3)
HueCorner.Name = "HueCorner"
HueCorner.Parent = Hue
HueGradient.Color = ColorSequence.new {
ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 4)),
ColorSequenceKeypoint.new(0.20, Color3.fromRGB(234, 255, 0)),
ColorSequenceKeypoint.new(0.40, Color3.fromRGB(21, 255, 0)),
ColorSequenceKeypoint.new(0.60, Color3.fromRGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.80, Color3.fromRGB(0, 17, 255)),
ColorSequenceKeypoint.new(0.90, Color3.fromRGB(255, 0, 251)),
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 4))
}
HueGradient.Rotation = 270
HueGradient.Name = "HueGradient"
HueGradient.Parent = Hue
HueSelection.Name = "HueSelection"
HueSelection.Parent = Hue
HueSelection.AnchorPoint = Vector2.new(0.5, 0.5)
HueSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
HueSelection.BackgroundTransparency = 1.000
HueSelection.Position = UDim2.new(0.48, 0, 1 - select(1, Color3.toHSV(preset)))
HueSelection.Size = UDim2.new(0, 18, 0, 18)
HueSelection.Image = "http://www.roblox.com/asset/?id=4805639000"
PresetClr.Name = "PresetClr"
PresetClr.Parent = ColorpickerFrame
PresetClr.BackgroundColor3 = preset
PresetClr.Position = UDim2.new(0.846153855, 0, 0.0740740746, 0)
PresetClr.Size = UDim2.new(0, 25, 0, 25)
PresetClrCorner.CornerRadius = UDim.new(0, 3)
PresetClrCorner.Name = "PresetClrCorner"
PresetClrCorner.Parent = PresetClr
local function UpdateColorPicker(nope)
PresetClr.BackgroundColor3 = Color3.fromHSV(ColorH, ColorS, ColorV)
Color.BackgroundColor3 = Color3.fromHSV(ColorH, 1, 1)
pcall(callback, PresetClr.BackgroundColor3)
end
ColorH =
1 -
(math.clamp(HueSelection.AbsolutePosition.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
Hue.AbsoluteSize.Y)
ColorS =
(math.clamp(ColorSelection.AbsolutePosition.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
Color.AbsoluteSize.X)
ColorV =
1 -
(math.clamp(ColorSelection.AbsolutePosition.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
Color.AbsoluteSize.Y)
PresetClr.BackgroundColor3 = preset
Color.BackgroundColor3 = preset
pcall(callback, PresetClr.BackgroundColor3)
Color.InputBegan:Connect(
function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if ColorInput then
ColorInput:Disconnect()
end
ColorInput =
RunService.RenderStepped:Connect(
function()
local ColorX =
(math.clamp(Mouse.X - Color.AbsolutePosition.X, 0, Color.AbsoluteSize.X) /
Color.AbsoluteSize.X)
local ColorY =
(math.clamp(Mouse.Y - Color.AbsolutePosition.Y, 0, Color.AbsoluteSize.Y) /
Color.AbsoluteSize.Y)
ColorSelection.Position = UDim2.new(ColorX, 0, ColorY, 0)
ColorS = ColorX
ColorV = 1 - ColorY
UpdateColorPicker(true)
end
)
end
end
)
Color.InputEnded:Connect(
function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if ColorInput then
ColorInput:Disconnect()
end
end
end
)
Hue.InputBegan:Connect(
function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if HueInput then
HueInput:Disconnect()
end
HueInput =
RunService.RenderStepped:Connect(
function()
local HueY =
(math.clamp(Mouse.Y - Hue.AbsolutePosition.Y, 0, Hue.AbsoluteSize.Y) /
Hue.AbsoluteSize.Y)
HueSelection.Position = UDim2.new(0.48, 0, HueY, 0)
ColorH = 1 - HueY
UpdateColorPicker(true)
end
)
end
end
)
Hue.InputEnded:Connect(
function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if HueInput then
HueInput:Disconnect()
end
end
end
)
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
function ChannelContent:Textbox(text, placetext, disapper, callback)
local Textbox = Instance.new("Frame")
local TextboxTitle = Instance.new("TextLabel")
local TextboxFrameOutline = Instance.new("Frame")
local TextboxFrameOutlineCorner = Instance.new("UICorner")
local TextboxFrame = Instance.new("Frame")
local TextboxFrameCorner = Instance.new("UICorner")
local TextBox = Instance.new("TextBox")
Textbox.Name = "Textbox"
Textbox.Parent = ChannelHolder
Textbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Textbox.BackgroundTransparency = 1.000
Textbox.Position = UDim2.new(0.0796874985, 0, 0.445175439, 0)
Textbox.Size = UDim2.new(0, 403, 0, 73)
TextboxTitle.Name = "TextboxTitle"
TextboxTitle.Parent = Textbox
TextboxTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextboxTitle.BackgroundTransparency = 1.000
TextboxTitle.Position = UDim2.new(0, 5, 0, 0)
TextboxTitle.Size = UDim2.new(0, 200, 0, 29)
TextboxTitle.Font = Enum.Font.Gotham
TextboxTitle.Text = text
TextboxTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
TextboxTitle.TextSize = 14.000
TextboxTitle.TextXAlignment = Enum.TextXAlignment.Left
TextboxFrameOutline.Name = "TextboxFrameOutline"
TextboxFrameOutline.Parent = TextboxTitle
TextboxFrameOutline.AnchorPoint = Vector2.new(0.5, 0.5)
TextboxFrameOutline.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
TextboxFrameOutline.Position = UDim2.new(0.988442957, 0, 1.6197437, 0)
TextboxFrameOutline.Size = UDim2.new(0, 396, 0, 36)
TextboxFrameOutlineCorner.CornerRadius = UDim.new(0, 3)
TextboxFrameOutlineCorner.Name = "TextboxFrameOutlineCorner"
TextboxFrameOutlineCorner.Parent = TextboxFrameOutline
TextboxFrame.Name = "TextboxFrame"
TextboxFrame.Parent = TextboxTitle
TextboxFrame.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
TextboxFrame.ClipsDescendants = true
TextboxFrame.Position = UDim2.new(0.00999999978, 0, 1.06638527, 0)
TextboxFrame.Selectable = true
TextboxFrame.Size = UDim2.new(0, 392, 0, 32)
TextboxFrameCorner.CornerRadius = UDim.new(0, 3)
TextboxFrameCorner.Name = "TextboxFrameCorner"
TextboxFrameCorner.Parent = TextboxFrame
TextBox.Parent = TextboxFrame
TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextBox.BackgroundTransparency = 1.000
TextBox.Position = UDim2.new(0.0178571437, 0, 0, 0)
TextBox.Size = UDim2.new(0, 377, 0, 32)
TextBox.Font = Enum.Font.Gotham
TextBox.PlaceholderColor3 = Color3.fromRGB(91, 95, 101)
TextBox.PlaceholderText = placetext
TextBox.Text = ""
TextBox.TextColor3 = Color3.fromRGB(193, 195, 197)
TextBox.TextSize = 14.000
TextBox.TextXAlignment = Enum.TextXAlignment.Left
TextBox.Focused:Connect(function()
TweenService:Create(
TextboxFrameOutline,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
):Play()
end)
TextBox.FocusLost:Connect(function(ep)
TweenService:Create(
TextboxFrameOutline,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(37, 40, 43)}
):Play()
if ep then
if #TextBox.Text > 0 then
pcall(callback, TextBox.Text)
if disapper then
TextBox.Text = ""
end
end
end
end)
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
function ChannelContent:Label(text)
local Label = Instance.new("TextButton")
local LabelTitle = Instance.new("TextLabel")
Label.Name = "Label"
Label.Parent = ChannelHolder
Label.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
Label.BorderSizePixel = 0
Label.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
Label.Size = UDim2.new(0, 401, 0, 30)
Label.AutoButtonColor = false
Label.Font = Enum.Font.Gotham
Label.Text = ""
Label.TextColor3 = Color3.fromRGB(255, 255, 255)
Label.TextSize = 14.000
LabelTitle.Name = "LabelTitle"
LabelTitle.Parent = Label
LabelTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
LabelTitle.BackgroundTransparency = 1.000
LabelTitle.Position = UDim2.new(0, 5, 0, 0)
LabelTitle.Size = UDim2.new(0, 200, 0, 30)
LabelTitle.Font = Enum.Font.Gotham
LabelTitle.Text = text
LabelTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
LabelTitle.TextSize = 14.000
LabelTitle.TextXAlignment = Enum.TextXAlignment.Left
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
function ChannelContent:Bind(text, presetbind, callback)
local Key = presetbind.Name
local Keybind = Instance.new("TextButton")
local KeybindTitle = Instance.new("TextLabel")
local KeybindText = Instance.new("TextLabel")
Keybind.Name = "Keybind"
Keybind.Parent = ChannelHolder
Keybind.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
Keybind.BorderSizePixel = 0
Keybind.Position = UDim2.new(0.261979163, 0, 0.190789461, 0)
Keybind.Size = UDim2.new(0, 401, 0, 30)
Keybind.AutoButtonColor = false
Keybind.Font = Enum.Font.Gotham
Keybind.Text = ""
Keybind.TextColor3 = Color3.fromRGB(255, 255, 255)
Keybind.TextSize = 14.000
KeybindTitle.Name = "KeybindTitle"
KeybindTitle.Parent = Keybind
KeybindTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
KeybindTitle.BackgroundTransparency = 1.000
KeybindTitle.Position = UDim2.new(0, 5, 0, 0)
KeybindTitle.Size = UDim2.new(0, 200, 0, 30)
KeybindTitle.Font = Enum.Font.Gotham
KeybindTitle.Text = text
KeybindTitle.TextColor3 = Color3.fromRGB(127, 131, 137)
KeybindTitle.TextSize = 14.000
KeybindTitle.TextXAlignment = Enum.TextXAlignment.Left
KeybindText.Name = "KeybindText"
KeybindText.Parent = Keybind
KeybindText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
KeybindText.BackgroundTransparency = 1.000
KeybindText.Position = UDim2.new(0, 316, 0, 0)
KeybindText.Size = UDim2.new(0, 85, 0, 30)
KeybindText.Font = Enum.Font.Gotham
KeybindText.Text = presetbind.Name
KeybindText.TextColor3 = Color3.fromRGB(127, 131, 137)
KeybindText.TextSize = 14.000
KeybindText.TextXAlignment = Enum.TextXAlignment.Right
Keybind.MouseButton1Click:Connect(function()
KeybindText.Text = "..."
local inputwait = game:GetService("UserInputService").InputBegan:wait()
if inputwait.KeyCode.Name ~= "Unknown" then
KeybindText.Text = inputwait.KeyCode.Name
Key = inputwait.KeyCode.Name
end
end)
game:GetService("UserInputService").InputBegan:connect(
function(current, pressed)
if not pressed then
if current.KeyCode.Name == Key then
pcall(callback)
end
end
end
)
ChannelHolder.CanvasSize = UDim2.new(0,0,0,ChannelHolderLayout.AbsoluteContentSize.Y)
end
return ChannelContent
end
return ChannelHold
end
return ServerHold
end
return DiscordLib
ddddd
Universal