3247 lines
118 KiB
Text
3247 lines
118 KiB
Text
|
local DiscordLib = {}
|
||
|
local UserInputService = game:GetService("UserInputService")
|
||
|
local TweenService = game:GetService("TweenService")
|
||
|
local RunService = game:GetService("RunService")
|
||
|
local LocalPlayer = game:GetService("Players").LocalPlayer
|
||
|
local Mouse = LocalPlayer:GetMouse()
|
||
|
local HttpService = game:GetService("HttpService")
|
||
|
local pfp
|
||
|
local user
|
||
|
local tag
|
||
|
local userinfo = {}
|
||
|
|
||
|
pcall(function()
|
||
|
userinfo = HttpService:JSONDecode(readfile("discordlibinfo.txt"));
|
||
|
end)
|
||
|
|
||
|
pfp = userinfo["pfp"] or "https://www.roblox.com/headshot-thumbnail/image?userId=".. game.Players.LocalPlayer.UserId .."&width=420&height=420&format=png"
|
||
|
user = userinfo["user"] or game.Players.LocalPlayer.Name
|
||
|
tag = userinfo["tag"] or tostring(math.random(1000,9999))
|
||
|
|
||
|
local function SaveInfo()
|
||
|
userinfo["pfp"] = pfp
|
||
|
userinfo["user"] = user
|
||
|
userinfo["tag"] = tag
|
||
|
writefile("discordlibinfo.txt", HttpService:JSONEncode(userinfo));
|
||
|
end
|
||
|
|
||
|
local function MakeDraggable(topbarobject, object)
|
||
|
local Dragging = nil
|
||
|
local DragInput = nil
|
||
|
local DragStart = nil
|
||
|
local StartPosition = nil
|
||
|
|
||
|
local function Update(input)
|
||
|
local Delta = input.Position - DragStart
|
||
|
local pos =
|
||
|
UDim2.new(
|
||
|
StartPosition.X.Scale,
|
||
|
StartPosition.X.Offset + Delta.X,
|
||
|
StartPosition.Y.Scale,
|
||
|
StartPosition.Y.Offset + Delta.Y
|
||
|
)
|
||
|
object.Position = pos
|
||
|
end
|
||
|
|
||
|
topbarobject.InputBegan:Connect(
|
||
|
function(input)
|
||
|
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
|
||
|
Dragging = true
|
||
|
DragStart = input.Position
|
||
|
StartPosition = object.Position
|
||
|
|
||
|
input.Changed:Connect(
|
||
|
function()
|
||
|
if input.UserInputState == Enum.UserInputState.End then
|
||
|
Dragging = false
|
||
|
end
|
||
|
end
|
||
|
)
|
||
|
end
|
||
|
end
|
||
|
)
|
||
|
|
||
|
topbarobject.InputChanged:Connect(
|
||
|
function(input)
|
||
|
if
|
||
|
input.UserInputType == Enum.UserInputType.MouseMovement or
|
||
|
input.UserInputType == Enum.UserInputType.Touch
|
||
|
then
|
||
|
DragInput = input
|
||
|
end
|
||
|
end
|
||
|
)
|
||
|
|
||
|
UserInputService.InputChanged:Connect(
|
||
|
function(input)
|
||
|
if input == DragInput and Dragging then
|
||
|
Update(input)
|
||
|
end
|
||
|
end
|
||
|
)
|
||
|
end
|
||
|
|
||
|
local Discord = Instance.new("ScreenGui")
|
||
|
Discord.Name = "Discord"
|
||
|
Discord.Parent = game.CoreGui
|
||
|
Discord.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
|
||
|
|
||
|
function DiscordLib:Window(text)
|
||
|
local currentservertoggled = ""
|
||
|
local minimized = false
|
||
|
local fs = false
|
||
|
local settingsopened = false
|
||
|
local MainFrame = Instance.new("Frame")
|
||
|
local TopFrame = Instance.new("Frame")
|
||
|
local Title = Instance.new("TextLabel")
|
||
|
local CloseBtn = Instance.new("TextButton")
|
||
|
local CloseIcon = Instance.new("ImageLabel")
|
||
|
local MinimizeBtn = Instance.new("TextButton")
|
||
|
local MinimizeIcon = Instance.new("ImageLabel")
|
||
|
local ServersHolder = Instance.new("Folder")
|
||
|
local Userpad = Instance.new("Frame")
|
||
|
local UserIcon = Instance.new("Frame")
|
||
|
local UserIconCorner = Instance.new("UICorner")
|
||
|
local UserImage = Instance.new("ImageLabel")
|
||
|
local UserCircleImage = Instance.new("ImageLabel")
|
||
|
local UserName = Instance.new("TextLabel")
|
||
|
local UserTag = Instance.new("TextLabel")
|
||
|
local ServersHoldFrame = Instance.new("Frame")
|
||
|
local ServersHold = Instance.new("ScrollingFrame")
|
||
|
local ServersHoldLayout = Instance.new("UIListLayout")
|
||
|
local ServersHoldPadding = Instance.new("UIPadding")
|
||
|
local TopFrameHolder = Instance.new("Frame")
|
||
|
|
||
|
MainFrame.Name = "MainFrame"
|
||
|
MainFrame.Parent = Discord
|
||
|
MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
MainFrame.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
|
||
|
MainFrame.BorderSizePixel = 0
|
||
|
MainFrame.ClipsDescendants = true
|
||
|
MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
|
||
|
MainFrame.Size = UDim2.new(0, 681, 0, 396)
|
||
|
|
||
|
TopFrame.Name = "TopFrame"
|
||
|
TopFrame.Parent = MainFrame
|
||
|
TopFrame.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
|
||
|
TopFrame.BackgroundTransparency = 1.000
|
||
|
TopFrame.BorderSizePixel = 0
|
||
|
TopFrame.Position = UDim2.new(-0.000658480625, 0, 0, 0)
|
||
|
TopFrame.Size = UDim2.new(0, 681, 0, 22)
|
||
|
|
||
|
TopFrameHolder.Name = "TopFrameHolder"
|
||
|
TopFrameHolder.Parent = TopFrame
|
||
|
TopFrameHolder.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
|
||
|
TopFrameHolder.BackgroundTransparency = 1.000
|
||
|
TopFrameHolder.BorderSizePixel = 0
|
||
|
TopFrameHolder.Position = UDim2.new(-0.000658480625, 0, 0, 0)
|
||
|
TopFrameHolder.Size = UDim2.new(0, 681, 0, 22)
|
||
|
|
||
|
Title.Name = "Title"
|
||
|
Title.Parent = TopFrame
|
||
|
Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
Title.BackgroundTransparency = 1.000
|
||
|
Title.Position = UDim2.new(0.0102790017, 0, 0, 0)
|
||
|
Title.Size = UDim2.new(0, 192, 0, 23)
|
||
|
Title.Font = Enum.Font.Gotham
|
||
|
Title.Text = text
|
||
|
Title.TextColor3 = Color3.fromRGB(99, 102, 109)
|
||
|
Title.TextSize = 13.000
|
||
|
Title.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
CloseBtn.Name = "CloseBtn"
|
||
|
CloseBtn.Parent = TopFrame
|
||
|
CloseBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
|
||
|
CloseBtn.BackgroundTransparency = 0
|
||
|
CloseBtn.Position = UDim2.new(0.959063113, 0, -0.0169996787, 0)
|
||
|
CloseBtn.Size = UDim2.new(0, 28, 0, 22)
|
||
|
CloseBtn.Font = Enum.Font.Gotham
|
||
|
CloseBtn.Text = ""
|
||
|
CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
CloseBtn.TextSize = 14.000
|
||
|
CloseBtn.BorderSizePixel = 0
|
||
|
CloseBtn.AutoButtonColor = false
|
||
|
|
||
|
CloseIcon.Name = "CloseIcon"
|
||
|
CloseIcon.Parent = CloseBtn
|
||
|
CloseIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
CloseIcon.BackgroundTransparency = 1.000
|
||
|
CloseIcon.Position = UDim2.new(0.189182192, 0, 0.128935531, 0)
|
||
|
CloseIcon.Size = UDim2.new(0, 17, 0, 17)
|
||
|
CloseIcon.Image = "http://www.roblox.com/asset/?id=6035047409"
|
||
|
CloseIcon.ImageColor3 = Color3.fromRGB(220, 221, 222)
|
||
|
|
||
|
MinimizeBtn.Name = "MinimizeButton"
|
||
|
MinimizeBtn.Parent = TopFrame
|
||
|
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
|
||
|
MinimizeBtn.BackgroundTransparency = 0
|
||
|
MinimizeBtn.Position = UDim2.new(0.917947114, 0, -0.0169996787, 0)
|
||
|
MinimizeBtn.Size = UDim2.new(0, 28, 0, 22)
|
||
|
MinimizeBtn.Font = Enum.Font.Gotham
|
||
|
MinimizeBtn.Text = ""
|
||
|
MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
MinimizeBtn.TextSize = 14.000
|
||
|
MinimizeBtn.BorderSizePixel = 0
|
||
|
MinimizeBtn.AutoButtonColor = false
|
||
|
|
||
|
MinimizeIcon.Name = "MinimizeLabel"
|
||
|
MinimizeIcon.Parent = MinimizeBtn
|
||
|
MinimizeIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
MinimizeIcon.BackgroundTransparency = 1.000
|
||
|
MinimizeIcon.Position = UDim2.new(0.189182192, 0, 0.128935531, 0)
|
||
|
MinimizeIcon.Size = UDim2.new(0, 17, 0, 17)
|
||
|
MinimizeIcon.Image = "http://www.roblox.com/asset/?id=6035067836"
|
||
|
MinimizeIcon.ImageColor3 = Color3.fromRGB(220, 221, 222)
|
||
|
|
||
|
ServersHolder.Name = "ServersHolder"
|
||
|
ServersHolder.Parent = TopFrameHolder
|
||
|
|
||
|
Userpad.Name = "Userpad"
|
||
|
Userpad.Parent = TopFrameHolder
|
||
|
Userpad.BackgroundColor3 = Color3.fromRGB(41, 43, 47)
|
||
|
Userpad.BorderSizePixel = 0
|
||
|
Userpad.Position = UDim2.new(0.106243297, 0, 15.9807148, 0)
|
||
|
Userpad.Size = UDim2.new(0, 179, 0, 43)
|
||
|
|
||
|
UserIcon.Name = "UserIcon"
|
||
|
UserIcon.Parent = Userpad
|
||
|
UserIcon.BackgroundColor3 = Color3.fromRGB(31, 33, 36)
|
||
|
UserIcon.BorderSizePixel = 0
|
||
|
UserIcon.Position = UDim2.new(0.0340000018, 0, 0.123999998, 0)
|
||
|
UserIcon.Size = UDim2.new(0, 32, 0, 32)
|
||
|
|
||
|
UserIconCorner.CornerRadius = UDim.new(1, 8)
|
||
|
UserIconCorner.Name = "UserIconCorner"
|
||
|
UserIconCorner.Parent = UserIcon
|
||
|
|
||
|
UserImage.Name = "UserImage"
|
||
|
UserImage.Parent = UserIcon
|
||
|
UserImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserImage.BackgroundTransparency = 1.000
|
||
|
UserImage.Size = UDim2.new(0, 32, 0, 32)
|
||
|
UserImage.Image = pfp
|
||
|
|
||
|
UserCircleImage.Name = "UserImage"
|
||
|
UserCircleImage.Parent = UserImage
|
||
|
UserCircleImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserCircleImage.BackgroundTransparency = 1.000
|
||
|
UserCircleImage.Size = UDim2.new(0, 32, 0, 32)
|
||
|
UserCircleImage.Image = "rbxassetid://4031889928"
|
||
|
UserCircleImage.ImageColor3 = Color3.fromRGB(41, 43, 47)
|
||
|
|
||
|
UserName.Name = "UserName"
|
||
|
UserName.Parent = Userpad
|
||
|
UserName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserName.BackgroundTransparency = 1.000
|
||
|
UserName.BorderSizePixel = 0
|
||
|
UserName.Position = UDim2.new(0.230000004, 0, 0.115999997, 0)
|
||
|
UserName.Size = UDim2.new(0, 98, 0, 17)
|
||
|
UserName.Font = Enum.Font.GothamSemibold
|
||
|
UserName.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserName.TextSize = 13.000
|
||
|
UserName.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
UserName.ClipsDescendants = true
|
||
|
|
||
|
UserTag.Name = "UserTag"
|
||
|
UserTag.Parent = Userpad
|
||
|
UserTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserTag.BackgroundTransparency = 1.000
|
||
|
UserTag.BorderSizePixel = 0
|
||
|
UserTag.Position = UDim2.new(0.230000004, 0, 0.455000013, 0)
|
||
|
UserTag.Size = UDim2.new(0, 95, 0, 17)
|
||
|
UserTag.Font = Enum.Font.Gotham
|
||
|
UserTag.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserTag.TextSize = 13.000
|
||
|
UserTag.TextTransparency = 0.300
|
||
|
UserTag.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
UserName.Text = user
|
||
|
UserTag.Text = "#" .. tag
|
||
|
|
||
|
ServersHoldFrame.Name = "ServersHoldFrame"
|
||
|
ServersHoldFrame.Parent = MainFrame
|
||
|
ServersHoldFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
ServersHoldFrame.BackgroundTransparency = 1.000
|
||
|
ServersHoldFrame.BorderColor3 = Color3.fromRGB(27, 42, 53)
|
||
|
ServersHoldFrame.Size = UDim2.new(0, 71, 0, 396)
|
||
|
|
||
|
ServersHold.Name = "ServersHold"
|
||
|
ServersHold.Parent = ServersHoldFrame
|
||
|
ServersHold.Active = true
|
||
|
ServersHold.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
ServersHold.BackgroundTransparency = 1.000
|
||
|
ServersHold.BorderSizePixel = 0
|
||
|
ServersHold.Position = UDim2.new(-0.000359333731, 0, 0.0580808073, 0)
|
||
|
ServersHold.Size = UDim2.new(0, 71, 0, 373)
|
||
|
ServersHold.ScrollBarThickness = 1
|
||
|
ServersHold.ScrollBarImageTransparency = 1
|
||
|
ServersHold.CanvasSize = UDim2.new(0, 0, 0, 0)
|
||
|
|
||
|
ServersHoldLayout.Name = "ServersHoldLayout"
|
||
|
ServersHoldLayout.Parent = ServersHold
|
||
|
ServersHoldLayout.SortOrder = Enum.SortOrder.LayoutOrder
|
||
|
ServersHoldLayout.Padding = UDim.new(0, 7)
|
||
|
|
||
|
ServersHoldPadding.Name = "ServersHoldPadding"
|
||
|
ServersHoldPadding.Parent = ServersHold
|
||
|
|
||
|
CloseBtn.MouseButton1Click:Connect(
|
||
|
function()
|
||
|
MainFrame:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
|
||
|
end
|
||
|
)
|
||
|
|
||
|
CloseBtn.MouseEnter:Connect(
|
||
|
function()
|
||
|
CloseBtn.BackgroundColor3 = Color3.fromRGB(240, 71, 71)
|
||
|
end
|
||
|
)
|
||
|
|
||
|
CloseBtn.MouseLeave:Connect(
|
||
|
function()
|
||
|
CloseBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
|
||
|
end
|
||
|
)
|
||
|
|
||
|
MinimizeBtn.MouseEnter:Connect(
|
||
|
function()
|
||
|
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(40, 43, 46)
|
||
|
end
|
||
|
)
|
||
|
|
||
|
MinimizeBtn.MouseLeave:Connect(
|
||
|
function()
|
||
|
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
|
||
|
end
|
||
|
)
|
||
|
|
||
|
MinimizeBtn.MouseButton1Click:Connect(
|
||
|
function()
|
||
|
if minimized == false then
|
||
|
MainFrame:TweenSize(
|
||
|
UDim2.new(0, 681, 0, 22),
|
||
|
Enum.EasingDirection.Out,
|
||
|
Enum.EasingStyle.Quart,
|
||
|
.3,
|
||
|
true
|
||
|
)
|
||
|
else
|
||
|
MainFrame:TweenSize(
|
||
|
UDim2.new(0, 681, 0, 396),
|
||
|
Enum.EasingDirection.Out,
|
||
|
Enum.EasingStyle.Quart,
|
||
|
.3,
|
||
|
true
|
||
|
)
|
||
|
end
|
||
|
minimized = not minimized
|
||
|
end
|
||
|
)
|
||
|
|
||
|
local SettingsOpenBtn = Instance.new("TextButton")
|
||
|
local SettingsOpenBtnIco = Instance.new("ImageLabel")
|
||
|
|
||
|
SettingsOpenBtn.Name = "SettingsOpenBtn"
|
||
|
SettingsOpenBtn.Parent = Userpad
|
||
|
SettingsOpenBtn.BackgroundColor3 = Color3.fromRGB(53, 56, 62)
|
||
|
SettingsOpenBtn.BackgroundTransparency = 1.000
|
||
|
SettingsOpenBtn.Position = UDim2.new(0.849161983, 0, 0.279069781, 0)
|
||
|
SettingsOpenBtn.Size = UDim2.new(0, 18, 0, 18)
|
||
|
SettingsOpenBtn.Font = Enum.Font.SourceSans
|
||
|
SettingsOpenBtn.Text = ""
|
||
|
SettingsOpenBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
|
||
|
SettingsOpenBtn.TextSize = 14.000
|
||
|
|
||
|
SettingsOpenBtnIco.Name = "SettingsOpenBtnIco"
|
||
|
SettingsOpenBtnIco.Parent = SettingsOpenBtn
|
||
|
SettingsOpenBtnIco.BackgroundColor3 = Color3.fromRGB(220, 220, 220)
|
||
|
SettingsOpenBtnIco.BackgroundTransparency = 1.000
|
||
|
SettingsOpenBtnIco.Size = UDim2.new(0, 18, 0, 18)
|
||
|
SettingsOpenBtnIco.Image = "http://www.roblox.com/asset/?id=6031280882"
|
||
|
SettingsOpenBtnIco.ImageColor3 = Color3.fromRGB(220, 220, 220)
|
||
|
local SettingsFrame = Instance.new("Frame")
|
||
|
local Settings = Instance.new("Frame")
|
||
|
local SettingsHolder = Instance.new("Frame")
|
||
|
local CloseSettingsBtn = Instance.new("TextButton")
|
||
|
local CloseSettingsBtnCorner = Instance.new("UICorner")
|
||
|
local CloseSettingsBtnCircle = Instance.new("Frame")
|
||
|
local CloseSettingsBtnCircleCorner = Instance.new("UICorner")
|
||
|
local CloseSettingsBtnIcon = Instance.new("ImageLabel")
|
||
|
local TextLabel = Instance.new("TextLabel")
|
||
|
local UserPanel = Instance.new("Frame")
|
||
|
local UserSettingsPad = Instance.new("Frame")
|
||
|
local UserSettingsPadCorner = Instance.new("UICorner")
|
||
|
local UsernameText = Instance.new("TextLabel")
|
||
|
local UserSettingsPadUserTag = Instance.new("Frame")
|
||
|
local UserSettingsPadUser = Instance.new("TextLabel")
|
||
|
local UserSettingsPadUserTagLayout = Instance.new("UIListLayout")
|
||
|
local UserSettingsPadTag = Instance.new("TextLabel")
|
||
|
local EditBtn = Instance.new("TextButton")
|
||
|
local EditBtnCorner = Instance.new("UICorner")
|
||
|
local UserPanelUserIcon = Instance.new("TextButton")
|
||
|
local UserPanelUserImage = Instance.new("ImageLabel")
|
||
|
local UserPanelUserCircle = Instance.new("ImageLabel")
|
||
|
local BlackFrame = Instance.new("Frame")
|
||
|
local BlackFrameCorner = Instance.new("UICorner")
|
||
|
local ChangeAvatarText = Instance.new("TextLabel")
|
||
|
local SearchIcoFrame = Instance.new("Frame")
|
||
|
local SearchIcoFrameCorner = Instance.new("UICorner")
|
||
|
local SearchIco = Instance.new("ImageLabel")
|
||
|
local UserPanelUserTag = Instance.new("Frame")
|
||
|
local UserPanelUser = Instance.new("TextLabel")
|
||
|
local UserPanelUserTagLayout = Instance.new("UIListLayout")
|
||
|
local UserPanelTag = Instance.new("TextLabel")
|
||
|
local UserPanelCorner = Instance.new("UICorner")
|
||
|
local LeftFrame = Instance.new("Frame")
|
||
|
local MyAccountBtn = Instance.new("TextButton")
|
||
|
local MyAccountBtnCorner = Instance.new("UICorner")
|
||
|
local MyAccountBtnTitle = Instance.new("TextLabel")
|
||
|
local SettingsTitle = Instance.new("TextLabel")
|
||
|
local DiscordInfo = Instance.new("TextLabel")
|
||
|
local CurrentSettingOpen = Instance.new("TextLabel")
|
||
|
|
||
|
SettingsFrame.Name = "SettingsFrame"
|
||
|
SettingsFrame.Parent = MainFrame
|
||
|
SettingsFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
|
||
|
SettingsFrame.BackgroundTransparency = 1.000
|
||
|
SettingsFrame.Size = UDim2.new(0, 681, 0, 396)
|
||
|
SettingsFrame.Visible = false
|
||
|
|
||
|
Settings.Name = "Settings"
|
||
|
Settings.Parent = SettingsFrame
|
||
|
Settings.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
|
||
|
Settings.BorderSizePixel = 0
|
||
|
Settings.Position = UDim2.new(0, 0, 0.0530303046, 0)
|
||
|
Settings.Size = UDim2.new(0, 681, 0, 375)
|
||
|
|
||
|
SettingsHolder.Name = "SettingsHolder"
|
||
|
SettingsHolder.Parent = Settings
|
||
|
SettingsHolder.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
SettingsHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
SettingsHolder.BackgroundTransparency = 1.000
|
||
|
SettingsHolder.ClipsDescendants = true
|
||
|
SettingsHolder.Position = UDim2.new(0.49926579, 0, 0.498666674, 0)
|
||
|
SettingsHolder.Size = UDim2.new(0, 0, 0, 0)
|
||
|
|
||
|
CloseSettingsBtn.Name = "CloseSettingsBtn"
|
||
|
CloseSettingsBtn.Parent = SettingsHolder
|
||
|
CloseSettingsBtn.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
CloseSettingsBtn.BackgroundColor3 = Color3.fromRGB(113, 117, 123)
|
||
|
CloseSettingsBtn.Position = UDim2.new(0.952967286, 0, 0.0853333324, 0)
|
||
|
CloseSettingsBtn.Selectable = false
|
||
|
CloseSettingsBtn.Size = UDim2.new(0, 30, 0, 30)
|
||
|
CloseSettingsBtn.AutoButtonColor = false
|
||
|
CloseSettingsBtn.Font = Enum.Font.SourceSans
|
||
|
CloseSettingsBtn.Text = ""
|
||
|
CloseSettingsBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
|
||
|
CloseSettingsBtn.TextSize = 14.000
|
||
|
|
||
|
CloseSettingsBtnCorner.CornerRadius = UDim.new(1, 0)
|
||
|
CloseSettingsBtnCorner.Name = "CloseSettingsBtnCorner"
|
||
|
CloseSettingsBtnCorner.Parent = CloseSettingsBtn
|
||
|
|
||
|
CloseSettingsBtnCircle.Name = "CloseSettingsBtnCircle"
|
||
|
CloseSettingsBtnCircle.Parent = CloseSettingsBtn
|
||
|
CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
|
||
|
CloseSettingsBtnCircle.Position = UDim2.new(0.0879999995, 0, 0.118000001, 0)
|
||
|
CloseSettingsBtnCircle.Size = UDim2.new(0, 24, 0, 24)
|
||
|
|
||
|
CloseSettingsBtnCircleCorner.CornerRadius = UDim.new(1, 0)
|
||
|
CloseSettingsBtnCircleCorner.Name = "CloseSettingsBtnCircleCorner"
|
||
|
CloseSettingsBtnCircleCorner.Parent = CloseSettingsBtnCircle
|
||
|
|
||
|
CloseSettingsBtnIcon.Name = "CloseSettingsBtnIcon"
|
||
|
CloseSettingsBtnIcon.Parent = CloseSettingsBtnCircle
|
||
|
CloseSettingsBtnIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
CloseSettingsBtnIcon.BackgroundTransparency = 1.000
|
||
|
CloseSettingsBtnIcon.Position = UDim2.new(0, 2, 0, 2)
|
||
|
CloseSettingsBtnIcon.Size = UDim2.new(0, 19, 0, 19)
|
||
|
CloseSettingsBtnIcon.Image = "http://www.roblox.com/asset/?id=6035047409"
|
||
|
CloseSettingsBtnIcon.ImageColor3 = Color3.fromRGB(222, 222, 222)
|
||
|
|
||
|
CloseSettingsBtn.MouseButton1Click:Connect(function()
|
||
|
settingsopened = false
|
||
|
TopFrameHolder.Visible = true
|
||
|
ServersHoldFrame.Visible = true
|
||
|
SettingsHolder:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
|
||
|
TweenService:Create(
|
||
|
Settings,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
for i,v in next, SettingsHolder:GetChildren() do
|
||
|
TweenService:Create(
|
||
|
v,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
end
|
||
|
wait(.3)
|
||
|
SettingsFrame.Visible = false
|
||
|
end)
|
||
|
|
||
|
CloseSettingsBtn.MouseEnter:Connect(function()
|
||
|
CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(72,76,82)
|
||
|
end)
|
||
|
|
||
|
CloseSettingsBtn.MouseLeave:Connect(function()
|
||
|
CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
|
||
|
end)
|
||
|
|
||
|
UserInputService.InputBegan:Connect(
|
||
|
function(io, p)
|
||
|
if io.KeyCode == Enum.KeyCode.RightControl then
|
||
|
if settingsopened == true then
|
||
|
settingsopened = false
|
||
|
TopFrameHolder.Visible = true
|
||
|
ServersHoldFrame.Visible = true
|
||
|
SettingsHolder:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
|
||
|
TweenService:Create(
|
||
|
Settings,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
for i,v in next, SettingsHolder:GetChildren() do
|
||
|
TweenService:Create(
|
||
|
v,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
end
|
||
|
wait(.3)
|
||
|
SettingsFrame.Visible = false
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
)
|
||
|
|
||
|
TextLabel.Parent = CloseSettingsBtn
|
||
|
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
TextLabel.BackgroundTransparency = 1.000
|
||
|
TextLabel.Position = UDim2.new(-0.0666666701, 0, 1.06666672, 0)
|
||
|
TextLabel.Size = UDim2.new(0, 34, 0, 22)
|
||
|
TextLabel.Font = Enum.Font.GothamSemibold
|
||
|
TextLabel.Text = "rightctrl"
|
||
|
TextLabel.TextColor3 = Color3.fromRGB(113, 117, 123)
|
||
|
TextLabel.TextSize = 11.000
|
||
|
|
||
|
UserPanel.Name = "UserPanel"
|
||
|
UserPanel.Parent = SettingsHolder
|
||
|
UserPanel.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
|
||
|
UserPanel.Position = UDim2.new(0.365638763, 0, 0.130666673, 0)
|
||
|
UserPanel.Size = UDim2.new(0, 362, 0, 164)
|
||
|
|
||
|
UserSettingsPad.Name = "UserSettingsPad"
|
||
|
UserSettingsPad.Parent = UserPanel
|
||
|
UserSettingsPad.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
|
||
|
UserSettingsPad.Position = UDim2.new(0.0331491716, 0, 0.568140388, 0)
|
||
|
UserSettingsPad.Size = UDim2.new(0, 337, 0, 56)
|
||
|
|
||
|
UserSettingsPadCorner.Name = "UserSettingsPadCorner"
|
||
|
UserSettingsPadCorner.Parent = UserSettingsPad
|
||
|
|
||
|
UsernameText.Name = "UsernameText"
|
||
|
UsernameText.Parent = UserSettingsPad
|
||
|
UsernameText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UsernameText.BackgroundTransparency = 1.000
|
||
|
UsernameText.Position = UDim2.new(0.0419999994, 0, 0.154714286, 0)
|
||
|
UsernameText.Size = UDim2.new(0, 65, 0, 19)
|
||
|
UsernameText.Font = Enum.Font.GothamBold
|
||
|
UsernameText.Text = "USERNAME"
|
||
|
UsernameText.TextColor3 = Color3.fromRGB(126, 130, 136)
|
||
|
UsernameText.TextSize = 11.000
|
||
|
UsernameText.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
UserSettingsPadUserTag.Name = "UserSettingsPadUserTag"
|
||
|
UserSettingsPadUserTag.Parent = UserSettingsPad
|
||
|
UserSettingsPadUserTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserSettingsPadUserTag.BackgroundTransparency = 1.000
|
||
|
UserSettingsPadUserTag.Position = UDim2.new(0.0419999994, 0, 0.493999988, 0)
|
||
|
UserSettingsPadUserTag.Size = UDim2.new(0, 65, 0, 19)
|
||
|
|
||
|
UserSettingsPadUser.Name = "UserSettingsPadUser"
|
||
|
UserSettingsPadUser.Parent = UserSettingsPadUserTag
|
||
|
UserSettingsPadUser.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserSettingsPadUser.BackgroundTransparency = 1.000
|
||
|
UserSettingsPadUser.Font = Enum.Font.Gotham
|
||
|
UserSettingsPadUser.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserSettingsPadUser.TextSize = 13.000
|
||
|
UserSettingsPadUser.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
UserSettingsPadUser.Text = user
|
||
|
UserSettingsPadUser.Size = UDim2.new(0, UserSettingsPadUser.TextBounds.X + 2, 0, 19)
|
||
|
|
||
|
UserSettingsPadUserTagLayout.Name = "UserSettingsPadUserTagLayout"
|
||
|
UserSettingsPadUserTagLayout.Parent = UserSettingsPadUserTag
|
||
|
UserSettingsPadUserTagLayout.FillDirection = Enum.FillDirection.Horizontal
|
||
|
UserSettingsPadUserTagLayout.SortOrder = Enum.SortOrder.LayoutOrder
|
||
|
|
||
|
UserSettingsPadTag.Name = "UserSettingsPadTag"
|
||
|
UserSettingsPadTag.Parent = UserSettingsPadUserTag
|
||
|
UserSettingsPadTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserSettingsPadTag.BackgroundTransparency = 1.000
|
||
|
UserSettingsPadTag.Position = UDim2.new(0.0419999994, 0, 0.493999988, 0)
|
||
|
UserSettingsPadTag.Size = UDim2.new(0, 65, 0, 19)
|
||
|
UserSettingsPadTag.Font = Enum.Font.Gotham
|
||
|
UserSettingsPadTag.Text = "#" .. tag
|
||
|
UserSettingsPadTag.TextColor3 = Color3.fromRGB(184, 186, 189)
|
||
|
UserSettingsPadTag.TextSize = 13.000
|
||
|
UserSettingsPadTag.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
EditBtn.Name = "EditBtn"
|
||
|
EditBtn.Parent = UserSettingsPad
|
||
|
EditBtn.BackgroundColor3 = Color3.fromRGB(116, 127, 141)
|
||
|
EditBtn.Position = UDim2.new(0.797671914, 0, 0.232142866, 0)
|
||
|
EditBtn.Size = UDim2.new(0, 55, 0, 30)
|
||
|
EditBtn.Font = Enum.Font.Gotham
|
||
|
EditBtn.Text = "Edit"
|
||
|
EditBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
EditBtn.TextSize = 14.000
|
||
|
EditBtn.AutoButtonColor = false
|
||
|
|
||
|
EditBtn.MouseEnter:Connect(function()
|
||
|
TweenService:Create(
|
||
|
EditBtn,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundColor3 = Color3.fromRGB(104,114,127)}
|
||
|
):Play()
|
||
|
end)
|
||
|
|
||
|
EditBtn.MouseLeave:Connect(function()
|
||
|
TweenService:Create(
|
||
|
EditBtn,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundColor3 = Color3.fromRGB(116, 127, 141)}
|
||
|
):Play()
|
||
|
end)
|
||
|
|
||
|
EditBtnCorner.CornerRadius = UDim.new(0, 3)
|
||
|
EditBtnCorner.Name = "EditBtnCorner"
|
||
|
EditBtnCorner.Parent = EditBtn
|
||
|
|
||
|
UserPanelUserIcon.Name = "UserPanelUserIcon"
|
||
|
UserPanelUserIcon.Parent = UserPanel
|
||
|
UserPanelUserIcon.BackgroundColor3 = Color3.fromRGB(31, 33, 36)
|
||
|
UserPanelUserIcon.BorderSizePixel = 0
|
||
|
UserPanelUserIcon.Position = UDim2.new(0.0340000018, 0, 0.074000001, 0)
|
||
|
UserPanelUserIcon.Size = UDim2.new(0, 71, 0, 71)
|
||
|
UserPanelUserIcon.AutoButtonColor = false
|
||
|
UserPanelUserIcon.Text = ""
|
||
|
|
||
|
UserPanelUserImage.Name = "UserPanelUserImage"
|
||
|
UserPanelUserImage.Parent = UserPanelUserIcon
|
||
|
UserPanelUserImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserPanelUserImage.BackgroundTransparency = 1.000
|
||
|
UserPanelUserImage.Size = UDim2.new(0, 71, 0, 71)
|
||
|
UserPanelUserImage.Image = pfp
|
||
|
|
||
|
UserPanelUserCircle.Name = "UserPanelUserCircle"
|
||
|
UserPanelUserCircle.Parent = UserPanelUserImage
|
||
|
UserPanelUserCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserPanelUserCircle.BackgroundTransparency = 1.000
|
||
|
UserPanelUserCircle.Size = UDim2.new(0, 71, 0, 71)
|
||
|
UserPanelUserCircle.Image = "rbxassetid://4031889928"
|
||
|
UserPanelUserCircle.ImageColor3 = Color3.fromRGB(47, 49, 54)
|
||
|
|
||
|
BlackFrame.Name = "BlackFrame"
|
||
|
BlackFrame.Parent = UserPanelUserIcon
|
||
|
BlackFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
|
||
|
BlackFrame.BackgroundTransparency = 0.400
|
||
|
BlackFrame.BorderSizePixel = 0
|
||
|
BlackFrame.Size = UDim2.new(0, 71, 0, 71)
|
||
|
BlackFrame.Visible = false
|
||
|
|
||
|
BlackFrameCorner.CornerRadius = UDim.new(1, 8)
|
||
|
BlackFrameCorner.Name = "BlackFrameCorner"
|
||
|
BlackFrameCorner.Parent = BlackFrame
|
||
|
|
||
|
ChangeAvatarText.Name = "ChangeAvatarText"
|
||
|
ChangeAvatarText.Parent = BlackFrame
|
||
|
ChangeAvatarText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
ChangeAvatarText.BackgroundTransparency = 1.000
|
||
|
ChangeAvatarText.Size = UDim2.new(0, 71, 0, 71)
|
||
|
ChangeAvatarText.Font = Enum.Font.GothamBold
|
||
|
ChangeAvatarText.Text = "CHAGNE AVATAR"
|
||
|
ChangeAvatarText.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
ChangeAvatarText.TextSize = 11.000
|
||
|
ChangeAvatarText.TextWrapped = true
|
||
|
|
||
|
SearchIcoFrame.Name = "SearchIcoFrame"
|
||
|
SearchIcoFrame.Parent = UserPanelUserIcon
|
||
|
SearchIcoFrame.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
|
||
|
SearchIcoFrame.Position = UDim2.new(0.657999992, 0, 0, 0)
|
||
|
SearchIcoFrame.Size = UDim2.new(0, 20, 0, 20)
|
||
|
|
||
|
SearchIcoFrameCorner.CornerRadius = UDim.new(1, 8)
|
||
|
SearchIcoFrameCorner.Name = "SearchIcoFrameCorner"
|
||
|
SearchIcoFrameCorner.Parent = SearchIcoFrame
|
||
|
|
||
|
SearchIco.Name = "SearchIco"
|
||
|
SearchIco.Parent = SearchIcoFrame
|
||
|
SearchIco.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
SearchIco.BackgroundTransparency = 1.000
|
||
|
SearchIco.Position = UDim2.new(0.150000006, 0, 0.100000001, 0)
|
||
|
SearchIco.Size = UDim2.new(0, 15, 0, 15)
|
||
|
SearchIco.Image = "http://www.roblox.com/asset/?id=6034407084"
|
||
|
SearchIco.ImageColor3 = Color3.fromRGB(114, 118, 125)
|
||
|
|
||
|
UserPanelUserIcon.MouseEnter:Connect(function()
|
||
|
BlackFrame.Visible = true
|
||
|
end)
|
||
|
|
||
|
UserPanelUserIcon.MouseLeave:Connect(function()
|
||
|
BlackFrame.Visible = false
|
||
|
end)
|
||
|
|
||
|
UserPanelUserIcon.MouseButton1Click:Connect(function()
|
||
|
local NotificationHolder = Instance.new("TextButton")
|
||
|
NotificationHolder.Name = "NotificationHolder"
|
||
|
NotificationHolder.Parent = SettingsHolder
|
||
|
NotificationHolder.BackgroundColor3 = Color3.fromRGB(22,22,22)
|
||
|
NotificationHolder.Position = UDim2.new(-0.00881057233, 0, -0.00266666664, 0)
|
||
|
NotificationHolder.Size = UDim2.new(0, 687, 0, 375)
|
||
|
NotificationHolder.AutoButtonColor = false
|
||
|
NotificationHolder.Font = Enum.Font.SourceSans
|
||
|
NotificationHolder.Text = ""
|
||
|
NotificationHolder.TextColor3 = Color3.fromRGB(0, 0, 0)
|
||
|
NotificationHolder.TextSize = 14.000
|
||
|
NotificationHolder.BackgroundTransparency = 1
|
||
|
NotificationHolder.Visible = true
|
||
|
TweenService:Create(
|
||
|
NotificationHolder,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 0.2}
|
||
|
):Play()
|
||
|
|
||
|
|
||
|
|
||
|
local AvatarChange = Instance.new("Frame")
|
||
|
local UserChangeCorner = Instance.new("UICorner")
|
||
|
local UnderBar = Instance.new("Frame")
|
||
|
local UnderBarCorner = Instance.new("UICorner")
|
||
|
local UnderBarFrame = Instance.new("Frame")
|
||
|
local Text1 = Instance.new("TextLabel")
|
||
|
local Text2 = Instance.new("TextLabel")
|
||
|
local TextBoxFrame = Instance.new("Frame")
|
||
|
local TextBoxFrameCorner = Instance.new("UICorner")
|
||
|
local TextBoxFrame1 = Instance.new("Frame")
|
||
|
local TextBoxFrame1Corner = Instance.new("UICorner")
|
||
|
local AvatarTextbox = Instance.new("TextBox")
|
||
|
local ChangeBtn = Instance.new("TextButton")
|
||
|
local ChangeCorner = Instance.new("UICorner")
|
||
|
local CloseBtn2 = Instance.new("TextButton")
|
||
|
local Close2Icon = Instance.new("ImageLabel")
|
||
|
local CloseBtn1 = Instance.new("TextButton")
|
||
|
local CloseBtn1Corner = Instance.new("UICorner")
|
||
|
local ResetBtn = Instance.new("TextButton")
|
||
|
local ResetCorner = Instance.new("UICorner")
|
||
|
|
||
|
|
||
|
AvatarChange.Name = "AvatarChange"
|
||
|
AvatarChange.Parent = NotificationHolder
|
||
|
AvatarChange.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
AvatarChange.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
|
||
|
AvatarChange.ClipsDescendants = true
|
||
|
AvatarChange.Position = UDim2.new(0.513071597, 0, 0.4746176, 0)
|
||
|
AvatarChange.Size = UDim2.new(0, 0, 0, 0)
|
||
|
AvatarChange.BackgroundTransparency = 1
|
||
|
|
||
|
AvatarChange:TweenSize(UDim2.new(0, 346, 0, 198), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
|
||
|
TweenService:Create(
|
||
|
AvatarChange,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 0}
|
||
|
):Play()
|
||
|
|
||
|
|
||
|
UserChangeCorner.CornerRadius = UDim.new(0, 5)
|
||
|
UserChangeCorner.Name = "UserChangeCorner"
|
||
|
UserChangeCorner.Parent = AvatarChange
|
||
|
|
||
|
UnderBar.Name = "UnderBar"
|
||
|
UnderBar.Parent = AvatarChange
|
||
|
UnderBar.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
|
||
|
UnderBar.Position = UDim2.new(-0.000297061284, 0, 0.945048928, 0)
|
||
|
UnderBar.Size = UDim2.new(0, 346, 0, 13)
|
||
|
|
||
|
UnderBarCorner.CornerRadius = UDim.new(0, 5)
|
||
|
UnderBarCorner.Name = "UnderBarCorner"
|
||
|
UnderBarCorner.Parent = UnderBar
|
||
|
|
||
|
UnderBarFrame.Name = "UnderBarFrame"
|
||
|
UnderBarFrame.Parent = UnderBar
|
||
|
UnderBarFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
|
||
|
UnderBarFrame.BorderSizePixel = 0
|
||
|
UnderBarFrame.Position = UDim2.new(-0.000297061284, 0, -2.53846145, 0)
|
||
|
UnderBarFrame.Size = UDim2.new(0, 346, 0, 39)
|
||
|
|
||
|
Text1.Name = "Text1"
|
||
|
Text1.Parent = AvatarChange
|
||
|
Text1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
Text1.BackgroundTransparency = 1.000
|
||
|
Text1.Position = UDim2.new(-0.000594122568, 0, 0.0202020202, 0)
|
||
|
Text1.Size = UDim2.new(0, 346, 0, 68)
|
||
|
Text1.Font = Enum.Font.GothamSemibold
|
||
|
Text1.Text = "Change your avatar"
|
||
|
Text1.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
Text1.TextSize = 20.000
|
||
|
|
||
|
Text2.Name = "Text2"
|
||
|
Text2.Parent = AvatarChange
|
||
|
Text2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
Text2.BackgroundTransparency = 1.000
|
||
|
Text2.Position = UDim2.new(-0.000594122568, 0, 0.141587839, 0)
|
||
|
Text2.Size = UDim2.new(0, 346, 0, 63)
|
||
|
Text2.Font = Enum.Font.Gotham
|
||
|
Text2.Text = "Enter your new profile in a Roblox decal link."
|
||
|
Text2.TextColor3 = Color3.fromRGB(171, 172, 176)
|
||
|
Text2.TextSize = 14.000
|
||
|
|
||
|
TextBoxFrame.Name = "TextBoxFrame"
|
||
|
TextBoxFrame.Parent = AvatarChange
|
||
|
TextBoxFrame.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
TextBoxFrame.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
|
||
|
TextBoxFrame.Position = UDim2.new(0.49710983, 0, 0.560606062, 0)
|
||
|
TextBoxFrame.Size = UDim2.new(0, 319, 0, 38)
|
||
|
|
||
|
TextBoxFrameCorner.CornerRadius = UDim.new(0, 3)
|
||
|
TextBoxFrameCorner.Name = "TextBoxFrameCorner"
|
||
|
TextBoxFrameCorner.Parent = TextBoxFrame
|
||
|
|
||
|
TextBoxFrame1.Name = "TextBoxFrame1"
|
||
|
TextBoxFrame1.Parent = TextBoxFrame
|
||
|
TextBoxFrame1.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
TextBoxFrame1.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
|
||
|
TextBoxFrame1.ClipsDescendants = true
|
||
|
TextBoxFrame1.Position = UDim2.new(0.5, 0, 0.5, 0)
|
||
|
TextBoxFrame1.Size = UDim2.new(0, 317, 0, 36)
|
||
|
|
||
|
TextBoxFrame1Corner.CornerRadius = UDim.new(0, 3)
|
||
|
TextBoxFrame1Corner.Name = "TextBoxFrame1Corner"
|
||
|
TextBoxFrame1Corner.Parent = TextBoxFrame1
|
||
|
|
||
|
AvatarTextbox.Name = "AvatarTextbox"
|
||
|
AvatarTextbox.Parent = TextBoxFrame1
|
||
|
AvatarTextbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
AvatarTextbox.BackgroundTransparency = 1.000
|
||
|
AvatarTextbox.Position = UDim2.new(0.0378548913, 0, 0, 0)
|
||
|
AvatarTextbox.Size = UDim2.new(0, 293, 0, 37)
|
||
|
AvatarTextbox.Font = Enum.Font.Gotham
|
||
|
AvatarTextbox.Text = ""
|
||
|
AvatarTextbox.TextColor3 = Color3.fromRGB(193, 195, 197)
|
||
|
AvatarTextbox.TextSize = 14.000
|
||
|
AvatarTextbox.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
ChangeBtn.Name = "ChangeBtn"
|
||
|
ChangeBtn.Parent = AvatarChange
|
||
|
ChangeBtn.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
|
||
|
ChangeBtn.Position = UDim2.new(0.749670506, 0, 0.823232353, 0)
|
||
|
ChangeBtn.Size = UDim2.new(0, 76, 0, 27)
|
||
|
ChangeBtn.Font = Enum.Font.Gotham
|
||
|
ChangeBtn.Text = "Change"
|
||
|
ChangeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
ChangeBtn.TextSize = 13.000
|
||
|
ChangeBtn.AutoButtonColor = false
|
||
|
|
||
|
ChangeBtn.MouseEnter:Connect(function()
|
||
|
TweenService:Create(
|
||
|
ChangeBtn,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundColor3 = Color3.fromRGB(103,123,196)}
|
||
|
):Play()
|
||
|
end)
|
||
|
|
||
|
ChangeBtn.MouseLeave:Connect(function()
|
||
|
TweenService:Create(
|
||
|
ChangeBtn,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
|
||
|
):Play()
|
||
|
end)
|
||
|
|
||
|
ChangeBtn.MouseButton1Click:Connect(function()
|
||
|
pfp = tostring(AvatarTextbox.Text)
|
||
|
UserImage.Image = pfp
|
||
|
UserPanelUserImage.Image = pfp
|
||
|
SaveInfo()
|
||
|
|
||
|
AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
|
||
|
TweenService:Create(
|
||
|
AvatarChange,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
TweenService:Create(
|
||
|
NotificationHolder,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
wait(.2)
|
||
|
NotificationHolder:Destroy()
|
||
|
end)
|
||
|
|
||
|
|
||
|
|
||
|
ChangeCorner.CornerRadius = UDim.new(0, 4)
|
||
|
ChangeCorner.Name = "ChangeCorner"
|
||
|
ChangeCorner.Parent = ChangeBtn
|
||
|
|
||
|
CloseBtn2.Name = "CloseBtn2"
|
||
|
CloseBtn2.Parent = AvatarChange
|
||
|
CloseBtn2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
CloseBtn2.BackgroundTransparency = 1.000
|
||
|
CloseBtn2.Position = UDim2.new(0.898000002, 0, 0, 0)
|
||
|
CloseBtn2.Size = UDim2.new(0, 26, 0, 26)
|
||
|
CloseBtn2.Font = Enum.Font.Gotham
|
||
|
CloseBtn2.Text = ""
|
||
|
CloseBtn2.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
CloseBtn2.TextSize = 14.000
|
||
|
|
||
|
Close2Icon.Name = "Close2Icon"
|
||
|
Close2Icon.Parent = CloseBtn2
|
||
|
Close2Icon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
Close2Icon.BackgroundTransparency = 1.000
|
||
|
Close2Icon.Position = UDim2.new(-0.0384615399, 0, 0.312910825, 0)
|
||
|
Close2Icon.Size = UDim2.new(0, 25, 0, 25)
|
||
|
Close2Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
|
||
|
Close2Icon.ImageColor3 = Color3.fromRGB(119, 122, 127)
|
||
|
|
||
|
CloseBtn1.Name = "CloseBtn1"
|
||
|
CloseBtn1.Parent = AvatarChange
|
||
|
CloseBtn1.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
|
||
|
CloseBtn1.BackgroundTransparency = 1.000
|
||
|
CloseBtn1.Position = UDim2.new(0.495000005, 0, 0.823000014, 0)
|
||
|
CloseBtn1.Size = UDim2.new(0, 76, 0, 27)
|
||
|
CloseBtn1.Font = Enum.Font.Gotham
|
||
|
CloseBtn1.Text = "Close"
|
||
|
CloseBtn1.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
CloseBtn1.TextSize = 13.000
|
||
|
|
||
|
CloseBtn1Corner.CornerRadius = UDim.new(0, 4)
|
||
|
CloseBtn1Corner.Name = "CloseBtn1Corner"
|
||
|
CloseBtn1Corner.Parent = CloseBtn1
|
||
|
|
||
|
ResetBtn.Name = "ResetBtn"
|
||
|
ResetBtn.Parent = AvatarChange
|
||
|
ResetBtn.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
|
||
|
ResetBtn.BackgroundTransparency = 1.000
|
||
|
ResetBtn.Position = UDim2.new(0.260895967, 0, 0.823000014, 0)
|
||
|
ResetBtn.Size = UDim2.new(0, 76, 0, 27)
|
||
|
ResetBtn.Font = Enum.Font.Gotham
|
||
|
ResetBtn.Text = "Reset"
|
||
|
ResetBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
ResetBtn.TextSize = 13.000
|
||
|
|
||
|
ResetBtn.MouseButton1Click:Connect(function()
|
||
|
pfp = "https://www.roblox.com/headshot-thumbnail/image?userId=".. game.Players.LocalPlayer.UserId .."&width=420&height=420&format=png"
|
||
|
UserImage.Image = pfp
|
||
|
UserPanelUserImage.Image = pfp
|
||
|
SaveInfo()
|
||
|
|
||
|
AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
|
||
|
TweenService:Create(
|
||
|
AvatarChange,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
TweenService:Create(
|
||
|
NotificationHolder,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
wait(.2)
|
||
|
NotificationHolder:Destroy()
|
||
|
end)
|
||
|
|
||
|
ResetCorner.CornerRadius = UDim.new(0, 4)
|
||
|
ResetCorner.Name = "ResetCorner"
|
||
|
ResetCorner.Parent = ResetBtn
|
||
|
|
||
|
CloseBtn1.MouseButton1Click:Connect(function()
|
||
|
AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
|
||
|
TweenService:Create(
|
||
|
AvatarChange,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
TweenService:Create(
|
||
|
NotificationHolder,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
wait(.2)
|
||
|
NotificationHolder:Destroy()
|
||
|
end)
|
||
|
|
||
|
CloseBtn2.MouseButton1Click:Connect(function()
|
||
|
AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
|
||
|
TweenService:Create(
|
||
|
AvatarChange,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
TweenService:Create(
|
||
|
NotificationHolder,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 1}
|
||
|
):Play()
|
||
|
wait(.2)
|
||
|
NotificationHolder:Destroy()
|
||
|
end)
|
||
|
|
||
|
CloseBtn2.MouseEnter:Connect(function()
|
||
|
TweenService:Create(
|
||
|
Close2Icon,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{ImageColor3 = Color3.fromRGB(210,210,210)}
|
||
|
):Play()
|
||
|
end)
|
||
|
|
||
|
CloseBtn2.MouseLeave:Connect(function()
|
||
|
TweenService:Create(
|
||
|
Close2Icon,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{ImageColor3 = Color3.fromRGB(119, 122, 127)}
|
||
|
):Play()
|
||
|
end)
|
||
|
|
||
|
|
||
|
AvatarTextbox.Focused:Connect(function()
|
||
|
TweenService:Create(
|
||
|
TextBoxFrame,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
|
||
|
):Play()
|
||
|
end)
|
||
|
|
||
|
AvatarTextbox.FocusLost:Connect(function()
|
||
|
TweenService:Create(
|
||
|
TextBoxFrame,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundColor3 = Color3.fromRGB(37, 40, 43)}
|
||
|
):Play()
|
||
|
end)
|
||
|
|
||
|
|
||
|
end)
|
||
|
|
||
|
UserPanelUserTag.Name = "UserPanelUserTag"
|
||
|
UserPanelUserTag.Parent = UserPanel
|
||
|
UserPanelUserTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserPanelUserTag.BackgroundTransparency = 1.000
|
||
|
UserPanelUserTag.Position = UDim2.new(0.271143615, 0, 0.231804818, 0)
|
||
|
UserPanelUserTag.Size = UDim2.new(0, 113, 0, 19)
|
||
|
|
||
|
UserPanelUser.Name = "UserPanelUser"
|
||
|
UserPanelUser.Parent = UserPanelUserTag
|
||
|
UserPanelUser.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserPanelUser.BackgroundTransparency = 1.000
|
||
|
UserPanelUser.Font = Enum.Font.GothamSemibold
|
||
|
UserPanelUser.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserPanelUser.TextSize = 17.000
|
||
|
UserPanelUser.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
UserPanelUser.Text = user
|
||
|
UserPanelUser.Size = UDim2.new(0, UserPanelUser.TextBounds.X + 2, 0, 19)
|
||
|
|
||
|
|
||
|
UserPanelUserTagLayout.Name = "UserPanelUserTagLayout"
|
||
|
UserPanelUserTagLayout.Parent = UserPanelUserTag
|
||
|
UserPanelUserTagLayout.FillDirection = Enum.FillDirection.Horizontal
|
||
|
UserPanelUserTagLayout.SortOrder = Enum.SortOrder.LayoutOrder
|
||
|
|
||
|
UserPanelTag.Name = "UserPanelTag"
|
||
|
UserPanelTag.Parent = UserPanelUserTag
|
||
|
UserPanelTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UserPanelTag.BackgroundTransparency = 1.000
|
||
|
UserPanelTag.Position = UDim2.new(0.0419999994, 0, 0.493999988, 0)
|
||
|
UserPanelTag.Size = UDim2.new(0, 65, 0, 19)
|
||
|
UserPanelTag.Font = Enum.Font.Gotham
|
||
|
UserPanelTag.Text = "#" .. tag
|
||
|
UserPanelTag.TextColor3 = Color3.fromRGB(184, 186, 189)
|
||
|
UserPanelTag.TextSize = 17.000
|
||
|
UserPanelTag.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
UserPanelCorner.Name = "UserPanelCorner"
|
||
|
UserPanelCorner.Parent = UserPanel
|
||
|
|
||
|
LeftFrame.Name = "LeftFrame"
|
||
|
LeftFrame.Parent = SettingsHolder
|
||
|
LeftFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
|
||
|
LeftFrame.BorderSizePixel = 0
|
||
|
LeftFrame.Position = UDim2.new(0, 0, -0.000303059904, 0)
|
||
|
LeftFrame.Size = UDim2.new(0, 233, 0, 375)
|
||
|
|
||
|
MyAccountBtn.Name = "MyAccountBtn"
|
||
|
MyAccountBtn.Parent = LeftFrame
|
||
|
MyAccountBtn.BackgroundColor3 = Color3.fromRGB(57, 60, 67)
|
||
|
MyAccountBtn.BorderSizePixel = 0
|
||
|
MyAccountBtn.Position = UDim2.new(0.271232396, 0, 0.101614028, 0)
|
||
|
MyAccountBtn.Size = UDim2.new(0, 160, 0, 30)
|
||
|
MyAccountBtn.AutoButtonColor = false
|
||
|
MyAccountBtn.Font = Enum.Font.SourceSans
|
||
|
MyAccountBtn.Text = ""
|
||
|
MyAccountBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
|
||
|
MyAccountBtn.TextSize = 14.000
|
||
|
|
||
|
MyAccountBtnCorner.CornerRadius = UDim.new(0, 6)
|
||
|
MyAccountBtnCorner.Name = "MyAccountBtnCorner"
|
||
|
MyAccountBtnCorner.Parent = MyAccountBtn
|
||
|
|
||
|
MyAccountBtnTitle.Name = "MyAccountBtnTitle"
|
||
|
MyAccountBtnTitle.Parent = MyAccountBtn
|
||
|
MyAccountBtnTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
MyAccountBtnTitle.BackgroundTransparency = 1.000
|
||
|
MyAccountBtnTitle.BorderSizePixel = 0
|
||
|
MyAccountBtnTitle.Position = UDim2.new(0.0759999976, 0, -0.166999996, 0)
|
||
|
MyAccountBtnTitle.Size = UDim2.new(0, 95, 0, 39)
|
||
|
MyAccountBtnTitle.Font = Enum.Font.GothamSemibold
|
||
|
MyAccountBtnTitle.Text = "My Account"
|
||
|
MyAccountBtnTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
MyAccountBtnTitle.TextSize = 14.000
|
||
|
MyAccountBtnTitle.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
SettingsTitle.Name = "SettingsTitle"
|
||
|
SettingsTitle.Parent = LeftFrame
|
||
|
SettingsTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
SettingsTitle.BackgroundTransparency = 1.000
|
||
|
SettingsTitle.Position = UDim2.new(0.308999985, 0, 0.0450000018, 0)
|
||
|
SettingsTitle.Size = UDim2.new(0, 65, 0, 19)
|
||
|
SettingsTitle.Font = Enum.Font.GothamBlack
|
||
|
SettingsTitle.Text = "SETTINGS"
|
||
|
SettingsTitle.TextColor3 = Color3.fromRGB(142, 146, 152)
|
||
|
SettingsTitle.TextSize = 11.000
|
||
|
SettingsTitle.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
DiscordInfo.Name = "DiscordInfo"
|
||
|
DiscordInfo.Parent = LeftFrame
|
||
|
DiscordInfo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
DiscordInfo.BackgroundTransparency = 1.000
|
||
|
DiscordInfo.Position = UDim2.new(0.304721028, 0, 0.821333349, 0)
|
||
|
DiscordInfo.Size = UDim2.new(0, 133, 0, 44)
|
||
|
DiscordInfo.Font = Enum.Font.Gotham
|
||
|
DiscordInfo.Text = "Stable 1.0.0 (00001) Host 0.0.0.1 Roblox Lua Engine "
|
||
|
DiscordInfo.TextColor3 = Color3.fromRGB(101, 108, 116)
|
||
|
DiscordInfo.TextSize = 13.000
|
||
|
DiscordInfo.TextWrapped = true
|
||
|
DiscordInfo.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
DiscordInfo.TextYAlignment = Enum.TextYAlignment.Top
|
||
|
|
||
|
CurrentSettingOpen.Name = "CurrentSettingOpen"
|
||
|
CurrentSettingOpen.Parent = LeftFrame
|
||
|
CurrentSettingOpen.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
CurrentSettingOpen.BackgroundTransparency = 1.000
|
||
|
CurrentSettingOpen.Position = UDim2.new(1.07294846, 0, 0.0450000018, 0)
|
||
|
CurrentSettingOpen.Size = UDim2.new(0, 65, 0, 19)
|
||
|
CurrentSettingOpen.Font = Enum.Font.GothamBlack
|
||
|
CurrentSettingOpen.Text = "MY ACCOUNT"
|
||
|
CurrentSettingOpen.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
CurrentSettingOpen.TextSize = 14.000
|
||
|
CurrentSettingOpen.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
|
||
|
SettingsOpenBtn.MouseButton1Click:Connect(function ()
|
||
|
settingsopened = true
|
||
|
TopFrameHolder.Visible = false
|
||
|
ServersHoldFrame.Visible = false
|
||
|
SettingsFrame.Visible = true
|
||
|
SettingsHolder:TweenSize(UDim2.new(0, 681, 0, 375), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
|
||
|
Settings.BackgroundTransparency = 1
|
||
|
TweenService:Create(
|
||
|
Settings,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 0}
|
||
|
):Play()
|
||
|
for i,v in next, SettingsHolder:GetChildren() do
|
||
|
v.BackgroundTransparency = 1
|
||
|
TweenService:Create(
|
||
|
v,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 0}
|
||
|
):Play()
|
||
|
end
|
||
|
end)
|
||
|
|
||
|
EditBtn.MouseButton1Click:Connect(function()
|
||
|
local NotificationHolder = Instance.new("TextButton")
|
||
|
NotificationHolder.Name = "NotificationHolder"
|
||
|
NotificationHolder.Parent = SettingsHolder
|
||
|
NotificationHolder.BackgroundColor3 = Color3.fromRGB(22,22,22)
|
||
|
NotificationHolder.Position = UDim2.new(-0.00881057233, 0, -0.00266666664, 0)
|
||
|
NotificationHolder.Size = UDim2.new(0, 687, 0, 375)
|
||
|
NotificationHolder.AutoButtonColor = false
|
||
|
NotificationHolder.Font = Enum.Font.SourceSans
|
||
|
NotificationHolder.Text = ""
|
||
|
NotificationHolder.TextColor3 = Color3.fromRGB(0, 0, 0)
|
||
|
NotificationHolder.TextSize = 14.000
|
||
|
NotificationHolder.BackgroundTransparency = 1
|
||
|
NotificationHolder.Visible = true
|
||
|
TweenService:Create(
|
||
|
NotificationHolder,
|
||
|
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 0.2}
|
||
|
):Play()
|
||
|
|
||
|
local UserChange = Instance.new("Frame")
|
||
|
local UserChangeCorner = Instance.new("UICorner")
|
||
|
local UnderBar = Instance.new("Frame")
|
||
|
local UnderBarCorner = Instance.new("UICorner")
|
||
|
local UnderBarFrame = Instance.new("Frame")
|
||
|
local Text1 = Instance.new("TextLabel")
|
||
|
local Text2 = Instance.new("TextLabel")
|
||
|
local TextBoxFrame = Instance.new("Frame")
|
||
|
local TextBoxFrameCorner = Instance.new("UICorner")
|
||
|
local TextBoxFrame1 = Instance.new("Frame")
|
||
|
local TextBoxFrame1Corner = Instance.new("UICorner")
|
||
|
local UsernameTextbox = Instance.new("TextBox")
|
||
|
local Seperator = Instance.new("Frame")
|
||
|
local HashtagLabel = Instance.new("TextLabel")
|
||
|
local TagTextbox = Instance.new("TextBox")
|
||
|
local ChangeBtn = Instance.new("TextButton")
|
||
|
local ChangeCorner = Instance.new("UICorner")
|
||
|
local CloseBtn2 = Instance.new("TextButton")
|
||
|
local Close2Icon = Instance.new("ImageLabel")
|
||
|
local CloseBtn1 = Instance.new("TextButton")
|
||
|
local CloseBtn1Corner = Instance.new("UICorner")
|
||
|
|
||
|
UserChange.Name = "UserChange"
|
||
|
UserChange.Parent = NotificationHolder
|
||
|
UserChange.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
UserChange.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
|
||
|
UserChange.ClipsDescendants = true
|
||
|
UserChange.Position = UDim2.new(0.513071597, 0, 0.4746176, 0)
|
||
|
UserChange.Size = UDim2.new(0, 0, 0, 0)
|
||
|
UserChange.BackgroundTransparency = 1
|
||
|
|
||
|
UserChange:TweenSize(UDim2.new(0, 346, 0, 198), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
|
||
|
TweenService:Create(
|
||
|
UserChange,
|
||
|
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
|
||
|
{BackgroundTransparency = 0}
|
||
|
):Play()
|
||
|
|
||
|
UserChangeCorner.CornerRadius = UDim.new(0, 5)
|
||
|
UserChangeCorner.Name = "UserChangeCorner"
|
||
|
UserChangeCorner.Parent = UserChange
|
||
|
|
||
|
UnderBar.Name = "UnderBar"
|
||
|
UnderBar.Parent = UserChange
|
||
|
UnderBar.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
|
||
|
UnderBar.Position = UDim2.new(-0.000297061284, 0, 0.945048928, 0)
|
||
|
UnderBar.Size = UDim2.new(0, 346, 0, 13)
|
||
|
|
||
|
UnderBarCorner.CornerRadius = UDim.new(0, 5)
|
||
|
UnderBarCorner.Name = "UnderBarCorner"
|
||
|
UnderBarCorner.Parent = UnderBar
|
||
|
|
||
|
UnderBarFrame.Name = "UnderBarFrame"
|
||
|
UnderBarFrame.Parent = UnderBar
|
||
|
UnderBarFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
|
||
|
UnderBarFrame.BorderSizePixel = 0
|
||
|
UnderBarFrame.Position = UDim2.new(-0.000297061284, 0, -2.53846145, 0)
|
||
|
UnderBarFrame.Size = UDim2.new(0, 346, 0, 39)
|
||
|
|
||
|
Text1.Name = "Text1"
|
||
|
Text1.Parent = UserChange
|
||
|
Text1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
Text1.BackgroundTransparency = 1.000
|
||
|
Text1.Position = UDim2.new(-0.000594122568, 0, 0.0202020202, 0)
|
||
|
Text1.Size = UDim2.new(0, 346, 0, 68)
|
||
|
Text1.Font = Enum.Font.GothamSemibold
|
||
|
Text1.Text = "Change your username"
|
||
|
Text1.TextColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
Text1.TextSize = 20.000
|
||
|
|
||
|
Text2.Name = "Text2"
|
||
|
Text2.Parent = UserChange
|
||
|
Text2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
Text2.BackgroundTransparency = 1.000
|
||
|
Text2.Position = UDim2.new(-0.000594122568, 0, 0.141587839, 0)
|
||
|
Text2.Size = UDim2.new(0, 346, 0, 63)
|
||
|
Text2.Font = Enum.Font.Gotham
|
||
|
Text2.Text = "Enter your new username."
|
||
|
Text2.TextColor3 = Color3.fromRGB(171, 172, 176)
|
||
|
Text2.TextSize = 14.000
|
||
|
|
||
|
TextBoxFrame.Name = "TextBoxFrame"
|
||
|
TextBoxFrame.Parent = UserChange
|
||
|
TextBoxFrame.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
TextBoxFrame.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
|
||
|
TextBoxFrame.Position = UDim2.new(0.49710983, 0, 0.560606062, 0)
|
||
|
TextBoxFrame.Size = UDim2.new(0, 319, 0, 38)
|
||
|
|
||
|
TextBoxFrameCorner.CornerRadius = UDim.new(0, 3)
|
||
|
TextBoxFrameCorner.Name = "TextBoxFrameCorner"
|
||
|
TextBoxFrameCorner.Parent = TextBoxFrame
|
||
|
|
||
|
TextBoxFrame1.Name = "TextBoxFrame1"
|
||
|
TextBoxFrame1.Parent = TextBoxFrame
|
||
|
TextBoxFrame1.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
TextBoxFrame1.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
|
||
|
TextBoxFrame1.Position = UDim2.new(0.5, 0, 0.5, 0)
|
||
|
TextBoxFrame1.Size = UDim2.new(0, 317, 0, 36)
|
||
|
|
||
|
TextBoxFrame1Corner.CornerRadius = UDim.new(0, 3)
|
||
|
TextBoxFrame1Corner.Name = "TextBoxFrame1Corner"
|
||
|
TextBoxFrame1Corner.Parent = TextBoxFrame1
|
||
|
|
||
|
UsernameTextbox.Name = "UsernameTextbox"
|
||
|
UsernameTextbox.Parent = TextBoxFrame1
|
||
|
UsernameTextbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
|
||
|
UsernameTextbox.BackgroundTransparency = 1.000
|
||
|
UsernameTextbox.Position = UDim2.new(0.0378548913, 0, 0, 0)
|
||
|
UsernameTextbox.Size = UDim2.new(0, 221, 0, 37)
|
||
|
UsernameTextbox.Font = Enum.Font.Gotham
|
||
|
UsernameTextbox.Text = user
|
||
|
UsernameTextbox.TextColor3 = Color3.fromRGB(193, 195, 197)
|
||
|
UsernameTextbox.TextSize = 14.000
|
||
|
UsernameTextbox.TextXAlignment = Enum.TextXAlignment.Left
|
||
|
|
||
|
Seperator.Name = "Seperator"
|
||
|
Seperator.Parent = TextBoxFrame1
|
||
|
Seperator.AnchorPoint = Vector2.new(0.5, 0.5)
|
||
|
Seperator.BackgroundColor3 = Color3.fromRGB(64, 68, 73)
|
||
|
Seperator.BorderSizePixel = 0
|
||
|
Seperator.Position = UDim2.new(0.753000021, 0, 0.500999987, 0)
|
||
|
Seperator.Size = UDim2.new(0, 1, 0, 25)
|
||
|