Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("CoreGui"):FindFirstChild("UIGui") then
- game:GetService("CoreGui"):FindFirstChild("UIGui"):Destroy()
- end
- local UIGui = Instance.new("ScreenGui")
- local SettingsFrameBackground = Instance.new("Frame")
- local SettingsFrameBackgroundUICorner = Instance.new("UICorner")
- local SettingsFrame = Instance.new("ImageLabel")
- local SettingsFrameUICorner = Instance.new("UICorner")
- local PlayerIcon_2 = Instance.new("ImageLabel")
- local PlayerIconUI_2 = Instance.new("UICorner")
- local PlayerIconBackground_2 = Instance.new("Frame")
- local PlayerIconBackgroundUI_2 = Instance.new("UICorner")
- local SetAvatarTextBox = Instance.new("TextBox")
- local SetAvatarTextBoxUICorner = Instance.new("UICorner")
- local SettingsFrame_2 = Instance.new("Frame")
- local SettingsFrameUICorner_2 = Instance.new("UICorner")
- local SetNameTextBox = Instance.new("TextBox")
- local SetNameTextBoxUICorner = Instance.new("UICorner")
- local UsernameTextLabel = Instance.new("TextLabel")
- local ClearDataButtonBackground = Instance.new("Frame")
- local ClearDataButtonBackgroundUICorner = Instance.new("UICorner")
- local ClearDataButton = Instance.new("TextButton")
- local ClearDataButtonUICorner = Instance.new("UICorner")
- local WriteDataButtonBackground = Instance.new("Frame")
- local WriteDataButtonBackgroundUICorner = Instance.new("UICorner")
- local WriteDataButton = Instance.new("TextButton")
- local WriteDataButtonUICorner = Instance.new("UICorner")
- UIGui.Name = "UIGui"
- UIGui.Parent = game.CoreGui
- game.CoreGui.UIGui.Enabled = true
- SettingsFrameBackground.Name = "SettingsFrameBackground"
- SettingsFrameBackground.Parent = UIGui
- SettingsFrameBackground.AnchorPoint = Vector2.new(0.5, 0.5)
- SettingsFrameBackground.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- SettingsFrameBackground.Position = UDim2.new(0.5, 0, 0.5, 0)
- SettingsFrameBackground.Size = UDim2.new(0, 400, 0, 255)
- SettingsFrameBackgroundUICorner.CornerRadius = UDim.new(0, 15)
- SettingsFrameBackgroundUICorner.Parent = SettingsFrameBackground
- SettingsFrame.Name = "SettingsFrame"
- SettingsFrame.Parent = SettingsFrameBackground
- SettingsFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- SettingsFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- SettingsFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- SettingsFrame.Size = UDim2.new(0, 395, 0, 250)
- SettingsFrame.Image = "rbxassetid://16139853631"
- SettingsFrameUICorner.CornerRadius = UDim.new(0, 15)
- SettingsFrameUICorner.Parent = SettingsFrame
- SettingsFrame_2.Name = "SettingsFrame_2"
- SettingsFrame_2.Parent = SettingsFrame
- SettingsFrame_2.BackgroundTransparency = 0.4
- SettingsFrame_2.AnchorPoint = Vector2.new(0.5, 0.5)
- SettingsFrame_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- SettingsFrame_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- SettingsFrame_2.Size = UDim2.new(0, 395, 0, 250)
- SettingsFrameUICorner_2.CornerRadius = UDim.new(0, 15)
- SettingsFrameUICorner_2.Parent = SettingsFrame_2
- SetAvatarTextBox.Name = "SetAvatarTextBox"
- SetAvatarTextBox.Parent = SettingsFrame_2
- SetAvatarTextBox.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- SetAvatarTextBox.BackgroundTransparency = 0.4
- SetAvatarTextBox.Position = UDim2.new(0.0055, 0, 0.01, 0)
- SetAvatarTextBox.Size = UDim2.new(0, 390, 0, 25)
- SetAvatarTextBox.ClearTextOnFocus = false
- SetAvatarTextBox.Font = Enum.Font.SourceSansBold
- SetAvatarTextBox.PlaceholderText = "Avatar Id here"
- SetAvatarTextBox.Text = ""
- SetAvatarTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- SetAvatarTextBox.TextTransparency = 0
- SetAvatarTextBox.TextScaled = true
- SetAvatarTextBox.TextSize = 14.000
- SetAvatarTextBox.TextWrapped = true
- SetAvatarTextBoxUICorner.CornerRadius = UDim.new(0, 15)
- SetAvatarTextBoxUICorner.Parent = SetAvatarTextBox
- PlayerIconBackground_2.Name = "PlayerIconBackground_2"
- PlayerIconBackground_2.Parent = SettingsFrame_2
- PlayerIconBackground_2.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- PlayerIconBackground_2.Position = UDim2.new(0.4, 0, 0.15, 0)
- PlayerIconBackground_2.Size = UDim2.new(0, 70, 0, 70)
- PlayerIconBackgroundUI_2.Parent = PlayerIconBackground_2
- PlayerIconBackgroundUI_2.CornerRadius = UDim.new(0.5, 0)
- PlayerIcon_2.Name = "PlayerIcon_2"
- PlayerIcon_2.Parent = PlayerIconBackground_2
- PlayerIcon_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- PlayerIcon_2.Position = UDim2.new(0.026, 0, 0.025, 0)
- PlayerIcon_2.Size = UDim2.new(0, 66, 0, 66)
- PlayerIcon_2.Image = "rbxassetid://15980315949"
- PlayerIconUI_2.Parent = PlayerIcon_2
- PlayerIconUI_2.CornerRadius = UDim.new(0.5, 0)
- SetNameTextBox.Name = "SetNameTextBox"
- SetNameTextBox.Parent = SettingsFrame_2
- SetNameTextBox.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- SetNameTextBox.BackgroundTransparency = 0.4
- SetNameTextBox.Position = UDim2.new(0.0055, 0, 0.45, 0)
- SetNameTextBox.Size = UDim2.new(0, 390, 0, 25)
- SetNameTextBox.ClearTextOnFocus = false
- SetNameTextBox.Font = Enum.Font.SourceSansBold
- SetNameTextBox.PlaceholderText = "Username here"
- SetNameTextBox.Text = ""
- SetNameTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- SetNameTextBox.TextTransparency = 0
- SetNameTextBox.TextScaled = true
- SetNameTextBox.TextSize = 14.000
- SetNameTextBox.TextWrapped = true
- SetNameTextBoxUICorner.CornerRadius = UDim.new(0, 15)
- SetNameTextBoxUICorner.Parent = SetNameTextBox
- UsernameTextLabel.Name = "UsernameTextLabel"
- UsernameTextLabel.Parent = SettingsFrame_2
- UsernameTextLabel.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- UsernameTextLabel.BackgroundTransparency = 1
- UsernameTextLabel.Position = UDim2.new(0.0055, 0, 0.58, 0)
- UsernameTextLabel.Size = UDim2.new(0, 390, 0, 40)
- UsernameTextLabel.Font = Enum.Font.SourceSansBold
- UsernameTextLabel.Text = game.Players.LocalPlayer.DisplayName
- UsernameTextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- UsernameTextLabel.TextScaled = true
- UsernameTextLabel.TextSize = 14.000
- UsernameTextLabel.TextXAlignment = Enum.TextXAlignment.Center
- UsernameTextLabel.TextYAlignment = Enum.TextYAlignment.Center
- UsernameTextLabel.TextWrapped = true
- ClearDataButtonBackground.Name = "ClearDataButtonBackground"
- ClearDataButtonBackground.Parent = SettingsFrame_2
- ClearDataButtonBackground.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- ClearDataButtonBackground.Position = UDim2.new(0.0055, 0, 0.78, 0)
- ClearDataButtonBackground.Size = UDim2.new(0, 180, 0, 50)
- ClearDataButtonBackgroundUICorner.Parent = ClearDataButtonBackground
- ClearDataButtonBackgroundUICorner.CornerRadius = UDim.new(0, 15)
- WriteDataButtonBackground.Name = "WriteDataButtonBackground"
- WriteDataButtonBackground.Parent = SettingsFrame_2
- WriteDataButtonBackground.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- WriteDataButtonBackground.Position = UDim2.new(0.54, 0, 0.78, 0)
- WriteDataButtonBackground.Size = UDim2.new(0, 180, 0, 50)
- WriteDataButtonBackgroundUICorner.Parent = WriteDataButtonBackground
- WriteDataButtonBackgroundUICorner.CornerRadius = UDim.new(0, 15)
- ClearDataButton.Name = "ClearDataButton"
- ClearDataButton.Parent = ClearDataButtonBackground
- ClearDataButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ClearDataButton.Position = UDim2.new(0.013, 0, 0.052, 0)
- ClearDataButton.Size = UDim2.new(0, 175, 0, 45)
- ClearDataButton.AutoButtonColor = false
- ClearDataButton.Font = Enum.Font.SourceSansBold
- ClearDataButton.Text = "Delete Folder"
- ClearDataButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ClearDataButton.TextSize = 14.000
- ClearDataButton.TextScaled = true
- ClearDataButton.TextWrapped = true
- ClearDataButtonUICorner.CornerRadius = UDim.new(0, 12)
- ClearDataButtonUICorner.Parent = ClearDataButton
- WriteDataButton.Name = "WriteDataButton"
- WriteDataButton.Parent = WriteDataButtonBackground
- WriteDataButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- WriteDataButton.Position = UDim2.new(0.013, 0, 0.052, 0)
- WriteDataButton.Size = UDim2.new(0, 175, 0, 45)
- WriteDataButton.AutoButtonColor = false
- WriteDataButton.Font = Enum.Font.SourceSansBold
- WriteDataButton.Text = "Boot Folder"
- WriteDataButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- WriteDataButton.TextSize = 14.000
- WriteDataButton.TextScaled = true
- WriteDataButton.TextWrapped = true
- WriteDataButtonUICorner.CornerRadius = UDim.new(0, 12)
- WriteDataButtonUICorner.Parent = WriteDataButton
- ClearDataButton.MouseButton1Click:Connect(function()
- delfolder("ECCS_V3")
- end)
- WriteDataButton.MouseButton1Click:Connect(function()
- if not isfile("ECCS_V3/CoreSystem/Files/ECCSV3EDITOR.ECCS") and isfile("ECCS_V3/CoreSystem/Files/ECCSV3Player.ECCS") and isfolder("ECCS_V3") then
- delfolder("ECCS_V3")
- end
- createfolders("ECCS_V3/CoreSystem/Files")
- if not isfile("ECCS_V3/CoreSystem/Files/ECCSV3EDITOR.ECCS") then
- writefile("ECCS_V3/CoreSystem/Files/ECCSV3EDITOR.ECCS", ""..EditorTextBox.Text)
- end
- if not isfile("ECCS_V3/CoreSystem/Files/ECCSV3Player.ECCS") then
- writefile("ECCS_V3/CoreSystem/Files/ECCSV3Player.ECCS", " ")
- end
- end)
- spawn(function()
- repeat
- wait()
- if SetAvatarTextBox.Text == "" then
- PlayerIcon_2.Image = "https://www.roblox.com/headshot-thumbnail/image?userId="..game.Players.LocalPlayer.UserId .."&width=999&height=999&format=png"
- else
- if SetAvatarTextBox.Text ~= "" then
- PlayerIcon_2.Image = "rbxassetid://"..SetAvatarTextBox.Text
- end
- end
- until
- PlayerIcon_2 == nil
- end)
- spawn(function()
- repeat
- wait()
- if SetNameTextBox.Text == "" then
- UsernameTextLabel.Text = game.Players.LocalPlayer.DisplayName
- else
- if SetNameTextBox.Text ~= "" then
- UsernameTextLabel.Text = SetNameTextBox.Text
- end
- end
- until
- PlayerIcon_2 == nil
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement