Advertisement
ERROR_CODE

Settings

Jan 30th, 2024 (edited)
4,155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.33 KB | None | 0 0
  1. if game:GetService("CoreGui"):FindFirstChild("UIGui") then
  2. game:GetService("CoreGui"):FindFirstChild("UIGui"):Destroy()
  3. end
  4. local UIGui = Instance.new("ScreenGui")
  5. local SettingsFrameBackground = Instance.new("Frame")
  6. local SettingsFrameBackgroundUICorner = Instance.new("UICorner")
  7. local SettingsFrame = Instance.new("ImageLabel")
  8. local SettingsFrameUICorner = Instance.new("UICorner")
  9. local PlayerIcon_2 = Instance.new("ImageLabel")
  10. local PlayerIconUI_2 = Instance.new("UICorner")
  11. local PlayerIconBackground_2 = Instance.new("Frame")
  12. local PlayerIconBackgroundUI_2 = Instance.new("UICorner")
  13. local SetAvatarTextBox = Instance.new("TextBox")
  14. local SetAvatarTextBoxUICorner = Instance.new("UICorner")
  15. local SettingsFrame_2 = Instance.new("Frame")
  16. local SettingsFrameUICorner_2 = Instance.new("UICorner")
  17. local SetNameTextBox = Instance.new("TextBox")
  18. local SetNameTextBoxUICorner = Instance.new("UICorner")
  19. local UsernameTextLabel = Instance.new("TextLabel")
  20. local ClearDataButtonBackground = Instance.new("Frame")
  21. local ClearDataButtonBackgroundUICorner = Instance.new("UICorner")
  22. local ClearDataButton = Instance.new("TextButton")
  23. local ClearDataButtonUICorner = Instance.new("UICorner")
  24. local WriteDataButtonBackground = Instance.new("Frame")
  25. local WriteDataButtonBackgroundUICorner = Instance.new("UICorner")
  26. local WriteDataButton = Instance.new("TextButton")
  27. local WriteDataButtonUICorner = Instance.new("UICorner")
  28.  
  29. UIGui.Name = "UIGui"
  30. UIGui.Parent = game.CoreGui
  31. game.CoreGui.UIGui.Enabled = true
  32.  
  33. SettingsFrameBackground.Name = "SettingsFrameBackground"
  34. SettingsFrameBackground.Parent = UIGui
  35. SettingsFrameBackground.AnchorPoint = Vector2.new(0.5, 0.5)
  36. SettingsFrameBackground.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
  37. SettingsFrameBackground.Position = UDim2.new(0.5, 0, 0.5, 0)
  38. SettingsFrameBackground.Size = UDim2.new(0, 400, 0, 255)
  39.  
  40. SettingsFrameBackgroundUICorner.CornerRadius = UDim.new(0, 15)
  41. SettingsFrameBackgroundUICorner.Parent = SettingsFrameBackground
  42.  
  43. SettingsFrame.Name = "SettingsFrame"
  44. SettingsFrame.Parent = SettingsFrameBackground
  45. SettingsFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  46. SettingsFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  47. SettingsFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  48. SettingsFrame.Size = UDim2.new(0, 395, 0, 250)
  49. SettingsFrame.Image = "rbxassetid://16139853631"
  50.  
  51. SettingsFrameUICorner.CornerRadius = UDim.new(0, 15)
  52. SettingsFrameUICorner.Parent = SettingsFrame
  53.  
  54. SettingsFrame_2.Name = "SettingsFrame_2"
  55. SettingsFrame_2.Parent = SettingsFrame
  56. SettingsFrame_2.BackgroundTransparency = 0.4
  57. SettingsFrame_2.AnchorPoint = Vector2.new(0.5, 0.5)
  58. SettingsFrame_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  59. SettingsFrame_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  60. SettingsFrame_2.Size = UDim2.new(0, 395, 0, 250)
  61.  
  62. SettingsFrameUICorner_2.CornerRadius = UDim.new(0, 15)
  63. SettingsFrameUICorner_2.Parent = SettingsFrame_2
  64.  
  65. SetAvatarTextBox.Name = "SetAvatarTextBox"
  66. SetAvatarTextBox.Parent = SettingsFrame_2
  67. SetAvatarTextBox.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
  68. SetAvatarTextBox.BackgroundTransparency = 0.4
  69. SetAvatarTextBox.Position = UDim2.new(0.0055, 0, 0.01, 0)
  70. SetAvatarTextBox.Size = UDim2.new(0, 390, 0, 25)
  71. SetAvatarTextBox.ClearTextOnFocus = false
  72. SetAvatarTextBox.Font = Enum.Font.SourceSansBold
  73. SetAvatarTextBox.PlaceholderText = "Avatar Id here"
  74. SetAvatarTextBox.Text = ""
  75. SetAvatarTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  76. SetAvatarTextBox.TextTransparency = 0
  77. SetAvatarTextBox.TextScaled = true
  78. SetAvatarTextBox.TextSize = 14.000
  79. SetAvatarTextBox.TextWrapped = true
  80.  
  81. SetAvatarTextBoxUICorner.CornerRadius = UDim.new(0, 15)
  82. SetAvatarTextBoxUICorner.Parent = SetAvatarTextBox
  83.  
  84. PlayerIconBackground_2.Name = "PlayerIconBackground_2"
  85. PlayerIconBackground_2.Parent = SettingsFrame_2
  86. PlayerIconBackground_2.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
  87. PlayerIconBackground_2.Position = UDim2.new(0.4, 0, 0.15, 0)
  88. PlayerIconBackground_2.Size = UDim2.new(0, 70, 0, 70)
  89.  
  90. PlayerIconBackgroundUI_2.Parent = PlayerIconBackground_2
  91. PlayerIconBackgroundUI_2.CornerRadius = UDim.new(0.5, 0)
  92.  
  93. PlayerIcon_2.Name = "PlayerIcon_2"
  94. PlayerIcon_2.Parent = PlayerIconBackground_2
  95. PlayerIcon_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  96. PlayerIcon_2.Position = UDim2.new(0.026, 0, 0.025, 0)
  97. PlayerIcon_2.Size = UDim2.new(0, 66, 0, 66)
  98. PlayerIcon_2.Image = "rbxassetid://15980315949"
  99.  
  100. PlayerIconUI_2.Parent = PlayerIcon_2
  101. PlayerIconUI_2.CornerRadius = UDim.new(0.5, 0)
  102.  
  103. SetNameTextBox.Name = "SetNameTextBox"
  104. SetNameTextBox.Parent = SettingsFrame_2
  105. SetNameTextBox.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
  106. SetNameTextBox.BackgroundTransparency = 0.4
  107. SetNameTextBox.Position = UDim2.new(0.0055, 0, 0.45, 0)
  108. SetNameTextBox.Size = UDim2.new(0, 390, 0, 25)
  109. SetNameTextBox.ClearTextOnFocus = false
  110. SetNameTextBox.Font = Enum.Font.SourceSansBold
  111. SetNameTextBox.PlaceholderText = "Username here"
  112. SetNameTextBox.Text = ""
  113. SetNameTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  114. SetNameTextBox.TextTransparency = 0
  115. SetNameTextBox.TextScaled = true
  116. SetNameTextBox.TextSize = 14.000
  117. SetNameTextBox.TextWrapped = true
  118.  
  119. SetNameTextBoxUICorner.CornerRadius = UDim.new(0, 15)
  120. SetNameTextBoxUICorner.Parent = SetNameTextBox
  121.  
  122. UsernameTextLabel.Name = "UsernameTextLabel"
  123. UsernameTextLabel.Parent = SettingsFrame_2
  124. UsernameTextLabel.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
  125. UsernameTextLabel.BackgroundTransparency = 1
  126. UsernameTextLabel.Position = UDim2.new(0.0055, 0, 0.58, 0)
  127. UsernameTextLabel.Size = UDim2.new(0, 390, 0, 40)
  128. UsernameTextLabel.Font = Enum.Font.SourceSansBold
  129. UsernameTextLabel.Text = game.Players.LocalPlayer.DisplayName
  130. UsernameTextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  131. UsernameTextLabel.TextScaled = true
  132. UsernameTextLabel.TextSize = 14.000
  133. UsernameTextLabel.TextXAlignment = Enum.TextXAlignment.Center
  134. UsernameTextLabel.TextYAlignment = Enum.TextYAlignment.Center
  135. UsernameTextLabel.TextWrapped = true
  136.  
  137. ClearDataButtonBackground.Name = "ClearDataButtonBackground"
  138. ClearDataButtonBackground.Parent = SettingsFrame_2
  139. ClearDataButtonBackground.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
  140. ClearDataButtonBackground.Position = UDim2.new(0.0055, 0, 0.78, 0)
  141. ClearDataButtonBackground.Size = UDim2.new(0, 180, 0, 50)
  142.  
  143. ClearDataButtonBackgroundUICorner.Parent = ClearDataButtonBackground
  144. ClearDataButtonBackgroundUICorner.CornerRadius = UDim.new(0, 15)
  145.  
  146. WriteDataButtonBackground.Name = "WriteDataButtonBackground"
  147. WriteDataButtonBackground.Parent = SettingsFrame_2
  148. WriteDataButtonBackground.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
  149. WriteDataButtonBackground.Position = UDim2.new(0.54, 0, 0.78, 0)
  150. WriteDataButtonBackground.Size = UDim2.new(0, 180, 0, 50)
  151.  
  152. WriteDataButtonBackgroundUICorner.Parent = WriteDataButtonBackground
  153. WriteDataButtonBackgroundUICorner.CornerRadius = UDim.new(0, 15)
  154.  
  155. ClearDataButton.Name = "ClearDataButton"
  156. ClearDataButton.Parent = ClearDataButtonBackground
  157. ClearDataButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  158. ClearDataButton.Position = UDim2.new(0.013, 0, 0.052, 0)
  159. ClearDataButton.Size = UDim2.new(0, 175, 0, 45)
  160. ClearDataButton.AutoButtonColor = false
  161. ClearDataButton.Font = Enum.Font.SourceSansBold
  162. ClearDataButton.Text = "Delete Folder"
  163. ClearDataButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  164. ClearDataButton.TextSize = 14.000
  165. ClearDataButton.TextScaled = true
  166. ClearDataButton.TextWrapped = true
  167.  
  168. ClearDataButtonUICorner.CornerRadius = UDim.new(0, 12)
  169. ClearDataButtonUICorner.Parent = ClearDataButton
  170.  
  171. WriteDataButton.Name = "WriteDataButton"
  172. WriteDataButton.Parent = WriteDataButtonBackground
  173. WriteDataButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  174. WriteDataButton.Position = UDim2.new(0.013, 0, 0.052, 0)
  175. WriteDataButton.Size = UDim2.new(0, 175, 0, 45)
  176. WriteDataButton.AutoButtonColor = false
  177. WriteDataButton.Font = Enum.Font.SourceSansBold
  178. WriteDataButton.Text = "Boot Folder"
  179. WriteDataButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  180. WriteDataButton.TextSize = 14.000
  181. WriteDataButton.TextScaled = true
  182. WriteDataButton.TextWrapped = true
  183.  
  184. WriteDataButtonUICorner.CornerRadius = UDim.new(0, 12)
  185. WriteDataButtonUICorner.Parent = WriteDataButton
  186.  
  187.  
  188. ClearDataButton.MouseButton1Click:Connect(function()
  189. delfolder("ECCS_V3")
  190. end)
  191.  
  192. WriteDataButton.MouseButton1Click:Connect(function()
  193. if not isfile("ECCS_V3/CoreSystem/Files/ECCSV3EDITOR.ECCS") and isfile("ECCS_V3/CoreSystem/Files/ECCSV3Player.ECCS") and isfolder("ECCS_V3") then
  194. delfolder("ECCS_V3")
  195. end
  196.  
  197. createfolders("ECCS_V3/CoreSystem/Files")
  198.  
  199. if not isfile("ECCS_V3/CoreSystem/Files/ECCSV3EDITOR.ECCS") then
  200. writefile("ECCS_V3/CoreSystem/Files/ECCSV3EDITOR.ECCS", ""..EditorTextBox.Text)
  201. end
  202.  
  203. if not isfile("ECCS_V3/CoreSystem/Files/ECCSV3Player.ECCS") then
  204. writefile("ECCS_V3/CoreSystem/Files/ECCSV3Player.ECCS", " ")
  205. end
  206.  
  207. end)
  208.  
  209.  
  210. spawn(function()
  211. repeat
  212. wait()
  213. if SetAvatarTextBox.Text == "" then
  214. PlayerIcon_2.Image = "https://www.roblox.com/headshot-thumbnail/image?userId="..game.Players.LocalPlayer.UserId .."&width=999&height=999&format=png"
  215. else
  216. if SetAvatarTextBox.Text ~= "" then
  217. PlayerIcon_2.Image = "rbxassetid://"..SetAvatarTextBox.Text
  218. end
  219. end
  220. until
  221. PlayerIcon_2 == nil
  222. end)
  223.  
  224. spawn(function()
  225. repeat
  226. wait()
  227. if SetNameTextBox.Text == "" then
  228. UsernameTextLabel.Text = game.Players.LocalPlayer.DisplayName
  229. else
  230. if SetNameTextBox.Text ~= "" then
  231. UsernameTextLabel.Text = SetNameTextBox.Text
  232. end
  233. end
  234. until
  235. PlayerIcon_2 == nil
  236. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement