Advertisement
ERROR_CODE

ECCS Operation System

Mar 17th, 2024 (edited)
548
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.81 KB | None | 0 0
  1. if game:GetService("CoreGui"):FindFirstChild("SystemInterface") then
  2. game:GetService("CoreGui"):FindFirstChild("SystemInterface"):Destroy()
  3. end
  4. SystemInterface = Instance.new("ScreenGui")
  5. SystemInterfaceFrame = Instance.new("ImageButton")
  6. BackgroundStartUp = Instance.new("TextButton")
  7. StartUpTexts = Instance.new("ImageLabel")
  8. Loading = Instance.new("Frame")
  9. StartUpSound = Instance.new("Sound")
  10. StartUp = Instance.new("StringValue")
  11. StartUp.Value = "On"
  12. Logo = Instance.new("ImageLabel")
  13. PoweredBy = Instance.new("TextLabel")
  14. LoadingValue = 0
  15. LoadingUICorner = Instance.new("UICorner")
  16. LoadingProgress = Instance.new("TextLabel")
  17. UserBar = Instance.new("Frame")
  18. UserBarButton1Home = Instance.new("ImageButton")
  19. UserBarButton2Min = Instance.new("ImageButton")
  20. UserBarButton3Destroy = Instance.new("ImageButton")
  21. TweenService = game:GetService("TweenService")
  22. UserBarButton1HomeUICorner = Instance.new("UICorner")
  23. UserBarButton2MinUICorner = Instance.new("UICorner")
  24. UserBarButton3DestroyUICorner = Instance.new("UICorner")
  25. OpenMinButton = Instance.new("TextButton")
  26. OpenMinButtonUICorner = Instance.new("UICorner")
  27. App1Searcher = Instance.new("ImageButton")
  28. App1SearcherUICorner = Instance.new("UICorner")
  29. App2Calculator = Instance.new("ImageButton")
  30. App2CalculatorUICorner = Instance.new("UICorner")
  31. App3Settings = Instance.new("ImageButton")
  32. App3SettingsUICorner = Instance.new("UICorner")
  33. App4NotePad = Instance.new("ImageButton")
  34. App4NotePadUICorner = Instance.new("UICorner")
  35. App5Music = Instance.new("ImageButton")
  36. App5MusicUICorner = Instance.new("UICorner")
  37. App6Games = Instance.new("ImageButton")
  38. App6GamesUICorner = Instance.new("UICorner")
  39. NotePadFrame = Instance.new("Frame")
  40. NotePadTextBox = Instance.new("TextBox")
  41. SystemBar = Instance.new("Frame")
  42. Clock = Instance.new("TextLabel")
  43. local FPSLabel = Instance.new("TextLabel")
  44. local RunService = game:GetService("RunService")
  45. local RenderStepped = RunService.RenderStepped
  46. local sec = nil
  47. local FPS = {}
  48. PingLabel = Instance.new("TextLabel")
  49. GPULabel = Instance.new("TextLabel")
  50. UIGradient_1 = Instance.new("UIGradient")
  51. AnimationSpeed = 0.5
  52. Ap1Name = Instance.new("TextLabel")
  53. Ap2Name = Instance.new("TextLabel")
  54. Ap3Name = Instance.new("TextLabel")
  55. Ap4Name = Instance.new("TextLabel")
  56. Ap5Name = Instance.new("TextLabel")
  57. Ap6Name = Instance.new("TextLabel")
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. SystemInterface.Name = "SystemInterface"
  69. SystemInterface.Parent = game.CoreGui
  70. game.CoreGui.SystemInterface.Enabled = true
  71.  
  72. SystemInterfaceFrame.Parent = SystemInterface
  73. SystemInterfaceFrame.Size = UDim2.new(0.5, 0, 0.5, 900)
  74. SystemInterfaceFrame.Position = UDim2.new(0.25, 0, -0.15, -300)
  75. SystemInterfaceFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  76. SystemInterfaceFrame.Image = "rbxassetid://16788918234"
  77. SystemInterfaceFrame.Rotation = -90
  78. SystemInterfaceFrame.AutoButtonColor = false
  79.  
  80. OpenMinButton.Visible = false
  81. NotePadFrame.Visible = false
  82.  
  83. local Frame = ({
  84. ["01 01"] = "rbxassetid://16779094159",
  85. [(function(Year)
  86. local A = math.floor(Year/100)
  87. local B = math.floor((13+8*A)/25)
  88. local C = (15-B+A-math.floor(A/4))%30
  89. local D = (4+A-math.floor(A/4))%7
  90. local E = (19*(Year%19)+C)%30
  91. local F = (2*(Year%4)+4*(Year%7)+6*E+D)%7
  92. local G = (22+E+F)
  93. if E == 29 and F == 6 then
  94. return "04 19"
  95. elseif E == 28 and F == 6 then
  96. return "04 18"
  97. elseif 31 < G then
  98. return ("04 %02d"):format(G-31)
  99. end
  100. return ("03 %02d"):format(G)
  101. end)(tonumber(os.date"%Y"))] = "rbxassetid://16779090090",
  102. ["10 31"] = "rbxassetid://16779133028",
  103. ["12 25"] = "rbxassetid://16779174392"
  104. })[os.date("%m %d")]
  105. if Frame then
  106. SystemInterfaceFrame.Image = Frame
  107. end
  108.  
  109. OpenMinButton.Name = "OpenMinButton"
  110. OpenMinButton.Parent = SystemInterface
  111. OpenMinButton.BackgroundTransparency = 1
  112. OpenMinButton.Position = UDim2.new(0, 450, 0, 370)
  113. OpenMinButton.Size = UDim2.new(0, 50, 0, 50)
  114. OpenMinButton.AutoButtonColor = false
  115. OpenMinButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  116. OpenMinButton.Text = ">"
  117. OpenMinButton.Rotation = -90
  118. OpenMinButton.TextSize = 30
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153. App1Searcher.Parent = SystemInterfaceFrame
  154. App1Searcher.Size = UDim2.new(0.14, 0, 0.061, 0)
  155. App1Searcher.Position = UDim2.new(0, 50, 0, 100)
  156. App1Searcher.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  157. App1Searcher.BorderSizePixel = 0
  158. App1Searcher.Image = "rbxassetid://16780566107"
  159.  
  160. App1SearcherUICorner.CornerRadius = UDim.new(0, 12)
  161. App1SearcherUICorner.Parent = App1Searcher
  162.  
  163. Ap1Name.Name = "Ap1Name"
  164. Ap1Name.Parent = App1Searcher
  165. Ap1Name.BackgroundTransparency = 1
  166. Ap1Name.Position = UDim2.new(0, 5, 0, 70)
  167. Ap1Name.Size = UDim2.new(0, 55, 0, 30)
  168. Ap1Name.TextColor3 = Color3.fromRGB(255, 255, 255)
  169. Ap1Name.Text = "Browser"
  170. Ap1Name.TextSize = 10
  171. Ap1Name.TextWrapped = true
  172. Ap1Name.TextXAlignment = Enum.TextXAlignment.Center
  173. Ap1Name.TextYAlignment = Enum.TextYAlignment.Center
  174.  
  175. App2Calculator.Parent = SystemInterfaceFrame
  176. App2Calculator.Size = UDim2.new(0.14, 0, 0.061, 0)
  177. App2Calculator.Position = UDim2.new(0, 150, 0, 100)
  178. App2Calculator.BackgroundColor3 = Color3.fromRGB(177, 213, 124)
  179. App2Calculator.BorderSizePixel = 0
  180. App2Calculator.Image = "rbxassetid://16780666759"
  181.  
  182. App2CalculatorUICorner.CornerRadius = UDim.new(0, 12)
  183. App2CalculatorUICorner.Parent = App2Calculator
  184.  
  185. Ap2Name.Name = "Ap2Name"
  186. Ap2Name.Parent = App2Calculator
  187. Ap2Name.BackgroundTransparency = 1
  188. Ap2Name.Position = UDim2.new(0, 5, 0, 70)
  189. Ap2Name.Size = UDim2.new(0, 55, 0, 30)
  190. Ap2Name.TextColor3 = Color3.fromRGB(255, 255, 255)
  191. Ap2Name.Text = "Calculator"
  192. Ap2Name.TextSize = 10
  193. Ap2Name.TextWrapped = true
  194. Ap2Name.TextXAlignment = Enum.TextXAlignment.Center
  195. Ap2Name.TextYAlignment = Enum.TextYAlignment.Center
  196.  
  197. App3Settings.Parent = SystemInterfaceFrame
  198. App3Settings.Size = UDim2.new(0.14, 0, 0.061, 0)
  199. App3Settings.Position = UDim2.new(0, 250, 0, 100)
  200. App3Settings.BackgroundColor3 = Color3.fromRGB(159, 149, 239)
  201. App3Settings.BorderSizePixel = 0
  202. App3Settings.Image = "rbxassetid://16780750379"
  203.  
  204. App3SettingsUICorner.CornerRadius = UDim.new(0, 12)
  205. App3SettingsUICorner.Parent = App3Settings
  206.  
  207. Ap3Name.Name = "Ap3Name"
  208. Ap3Name.Parent = App3Settings
  209. Ap3Name.BackgroundTransparency = 1
  210. Ap3Name.Position = UDim2.new(0, 5, 0, 70)
  211. Ap3Name.Size = UDim2.new(0, 55, 0, 30)
  212. Ap3Name.TextColor3 = Color3.fromRGB(255, 255, 255)
  213. Ap3Name.Text = "Settings"
  214. Ap3Name.TextSize = 10
  215. Ap3Name.TextWrapped = true
  216. Ap3Name.TextXAlignment = Enum.TextXAlignment.Center
  217. Ap3Name.TextYAlignment = Enum.TextYAlignment.Center
  218.  
  219. App4NotePad.Parent = SystemInterfaceFrame
  220. App4NotePad.Size = UDim2.new(0.14, 0, 0.061, 0)
  221. App4NotePad.Position = UDim2.new(0, 350, 0, 100)
  222. App4NotePad.BackgroundColor3 = Color3.fromRGB(211, 149, 239)
  223. App4NotePad.BorderSizePixel = 0
  224. App4NotePad.Image = "rbxassetid://16780886279"
  225.  
  226. App4NotePadUICorner.CornerRadius = UDim.new(0, 12)
  227. App4NotePadUICorner.Parent = App4NotePad
  228.  
  229. Ap4Name.Name = "Ap4Name"
  230. Ap4Name.Parent = App4NotePad
  231. Ap4Name.BackgroundTransparency = 1
  232. Ap4Name.Position = UDim2.new(0, 5, 0, 70)
  233. Ap4Name.Size = UDim2.new(0, 55, 0, 30)
  234. Ap4Name.TextColor3 = Color3.fromRGB(255, 255, 255)
  235. Ap4Name.Text = "NotePad"
  236. Ap4Name.TextSize = 10
  237. Ap4Name.TextWrapped = true
  238. Ap4Name.TextXAlignment = Enum.TextXAlignment.Center
  239. Ap4Name.TextYAlignment = Enum.TextYAlignment.Center
  240.  
  241. App5Music.Parent = SystemInterfaceFrame
  242. App5Music.Size = UDim2.new(0.14, 0, 0.061, 0)
  243. App5Music.Position = UDim2.new(0, 50, 0, 200)
  244. App5Music.BackgroundColor3 = Color3.fromRGB(239, 149, 161)
  245. App5Music.BorderSizePixel = 0
  246. App5Music.Image = "rbxassetid://16780940883"
  247.  
  248. App5MusicUICorner.CornerRadius = UDim.new(0, 12)
  249. App5MusicUICorner.Parent = App5Music
  250.  
  251. Ap5Name.Name = "Ap5Name"
  252. Ap5Name.Parent = App5Music
  253. Ap5Name.BackgroundTransparency = 1
  254. Ap5Name.Position = UDim2.new(0, 5, 0, 70)
  255. Ap5Name.Size = UDim2.new(0, 55, 0, 30)
  256. Ap5Name.TextColor3 = Color3.fromRGB(255, 255, 255)
  257. Ap5Name.Text = "Music"
  258. Ap5Name.TextSize = 10
  259. Ap5Name.TextWrapped = true
  260. Ap5Name.TextXAlignment = Enum.TextXAlignment.Center
  261. Ap5Name.TextYAlignment = Enum.TextYAlignment.Center
  262.  
  263. App6Games.Parent = SystemInterfaceFrame
  264. App6Games.Size = UDim2.new(0.14, 0, 0.061, 0)
  265. App6Games.Position = UDim2.new(0, 150, 0, 200)
  266. App6Games.BackgroundColor3 = Color3.fromRGB(241, 218, 221)
  267. App6Games.BorderSizePixel = 0
  268. App6Games.Image = "rbxassetid://16780978991"
  269.  
  270. App6GamesUICorner.CornerRadius = UDim.new(0, 12)
  271. App6GamesUICorner.Parent = App6Games
  272.  
  273. Ap6Name.Name = "Ap5Name"
  274. Ap6Name.Parent = App6Games
  275. Ap6Name.BackgroundTransparency = 1
  276. Ap6Name.Position = UDim2.new(0, 5, 0, 70)
  277. Ap6Name.Size = UDim2.new(0, 55, 0, 30)
  278. Ap6Name.TextColor3 = Color3.fromRGB(255, 255, 255)
  279. Ap6Name.Text = "Games"
  280. Ap6Name.TextSize = 10
  281. Ap6Name.TextWrapped = true
  282. Ap6Name.TextXAlignment = Enum.TextXAlignment.Center
  283. Ap6Name.TextYAlignment = Enum.TextYAlignment.Center
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302. NotePadFrame.Parent = SystemInterfaceFrame
  303. NotePadFrame.Size = UDim2.new(0, 0, 0, 0)
  304. NotePadFrame.Position = UDim2.new(0, 0, -0.15, -200)
  305. NotePadFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  306.  
  307. NotePadTextBox.Name = "SearchBox"
  308. NotePadTextBox.Parent = NotePadFrame
  309. NotePadTextBox.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
  310. NotePadTextBox.Position = UDim2.new(0, 10, 0, 450)
  311. NotePadTextBox.Size = UDim2.new(0, 455, 0, 938)
  312. NotePadTextBox.ClearTextOnFocus = false
  313. NotePadTextBox.Font = Enum.Font.SourceSansBold
  314. NotePadTextBox.PlaceholderText = ""
  315. NotePadTextBox.Text = ""
  316. NotePadTextBox.TextColor3 = Color3.fromRGB(245, 235, 0)
  317. NotePadTextBox.TextScaled = false
  318. NotePadTextBox.TextSize = 35
  319. NotePadTextBox.TextWrapped = true
  320. NotePadTextBox.TextXAlignment = Enum.TextXAlignment.Left
  321. NotePadTextBox.TextYAlignment = Enum.TextYAlignment.Top
  322. NotePadTextBox.BorderSizePixel = 0
  323. NotePadTextBox.BackgroundTransparency = 0.5
  324.  
  325. UIGradient_1.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(212, 98, 243)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 5, 214))}
  326. UIGradient_1.Parent = NotePadFrame
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383. UserBar.Parent = SystemInterfaceFrame
  384. UserBar.Size = UDim2.new(1, 0, 0.03, 0)
  385. UserBar.BackgroundTransparency = 0.7
  386. UserBar.Position = UDim2.new(0, 0, 0, 1022)
  387. UserBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  388. UserBar.BorderSizePixel = 0
  389.  
  390. SystemBar.Parent = SystemInterfaceFrame
  391. SystemBar.Size = UDim2.new(1, 0, 0.03, 0)
  392. SystemBar.Position = UDim2.new(0, 0, 0, 50)
  393. SystemBar.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  394. SystemBar.BorderSizePixel = 0
  395.  
  396. Clock.Parent = SystemBar
  397. Clock.Size = UDim2.new(0, 30, 0, 30)
  398. Clock.Position = UDim2.new(0, 50, 0, 3)
  399. Clock.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  400. Clock.BackgroundTransparency = 1
  401. Clock.Text = os.date("%H:%M")
  402. Clock.TextColor3 = Color3.fromRGB(255, 255, 255)
  403. Clock.TextSize = 15
  404.  
  405. FPSLabel.Name = "FPSLabel"
  406. FPSLabel.Parent = SystemBar
  407. FPSLabel.Position = UDim2.new(0, 420, 0, 3)
  408. FPSLabel.Size = UDim2.new(0, 30, 0, 30)
  409. FPSLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  410. FPSLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  411. FPSLabel.TextSize = 10
  412. FPSLabel.BackgroundTransparency = 1
  413.  
  414. PingLabel.Name = "PingLabel"
  415. PingLabel.Parent = SystemBar
  416. PingLabel.Position = UDim2.new(0, 380, 0, 3)
  417. PingLabel.Size = UDim2.new(0, 30, 0, 30)
  418. PingLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  419. PingLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  420. PingLabel.TextSize = 10
  421. PingLabel.BackgroundTransparency = 1
  422.  
  423. GPULabel.Name = "PingLabel"
  424. GPULabel.Parent = SystemBar
  425. GPULabel.Position = UDim2.new(0, 340, 0, 3)
  426. GPULabel.Size = UDim2.new(0, 30, 0, 30)
  427. GPULabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  428. GPULabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  429. GPULabel.TextSize = 10
  430. GPULabel.BackgroundTransparency = 1
  431.  
  432. spawn(function()
  433. while wait() do
  434. local ping = tonumber(game:GetService("Stats"):FindFirstChild("PerformanceStats").Ping:GetValue())
  435. local gpu = tonumber(game:GetService("Stats"):FindFirstChild("PerformanceStats").GPU:GetValue())
  436. gpu = math.floor(gpu)
  437. ping = math.floor(ping)
  438. PingLabel.Text = ping.."-P"
  439. GPULabel.Text = gpu.."-G"
  440. Clock.Text = os.date("%H:%M")
  441. end
  442. end)
  443.  
  444. local function fre()
  445. local fr = tick()
  446. for index = #FPS,1,-1 do
  447. FPS[index + 1] = (FPS[index] >= fr - 1) and FPS[index] or nil
  448. end
  449. FPS[1] = fr
  450. local fps = (tick() - sec >= 1 and #FPS) or (#FPS / (tick() - sec))
  451. fps = math.floor(fps)
  452. FPSLabel.Text = fps.."-F"
  453. end
  454. sec = tick()
  455. RenderStepped:Connect(fre)
  456.  
  457. UserBarButton1Home.Name = "UserBarButton1Home"
  458. UserBarButton1Home.Parent = UserBar
  459. UserBarButton1Home.BackgroundTransparency = 1
  460. UserBarButton1Home.Position = UDim2.new(0, 230, 0, 1)
  461. UserBarButton1Home.Size = UDim2.new(0, 30, 0, 30)
  462. UserBarButton1Home.AutoButtonColor = false
  463. UserBarButton1Home.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  464. UserBarButton1Home.Image = "rbxassetid://16779334652"
  465.  
  466. UserBarButton1HomeUICorner.CornerRadius = UDim.new(0, 12)
  467. UserBarButton1HomeUICorner.Parent = UserBarButton1Home
  468.  
  469. UserBarButton2Min.Name = "UserBarButton1Home"
  470. UserBarButton2Min.Parent = UserBar
  471. UserBarButton2Min.BackgroundTransparency = 1
  472. UserBarButton2Min.Position = UDim2.new(0, 350, 0, 1)
  473. UserBarButton2Min.Size = UDim2.new(0, 30, 0, 30)
  474. UserBarButton2Min.AutoButtonColor = false
  475. UserBarButton2Min.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  476. UserBarButton2Min.Image = "rbxassetid://16779330632"
  477.  
  478. UserBarButton2MinUICorner.CornerRadius = UDim.new(0, 12)
  479. UserBarButton2MinUICorner.Parent = UserBarButton2Min
  480.  
  481. UserBarButton3Destroy.Name = "UserBarButton1Home"
  482. UserBarButton3Destroy.Parent = UserBar
  483. UserBarButton3Destroy.BackgroundTransparency = 1
  484. UserBarButton3Destroy.Position = UDim2.new(0, 100, 0, 1)
  485. UserBarButton3Destroy.Size = UDim2.new(0, 30, 0, 30)
  486. UserBarButton3Destroy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  487. UserBarButton3Destroy.AutoButtonColor = false
  488. UserBarButton3Destroy.Image = "rbxassetid://16779332635"
  489.  
  490. UserBarButton3DestroyUICorner.CornerRadius = UDim.new(0, 12)
  491. UserBarButton3DestroyUICorner.Parent = UserBarButton3Destroy
  492.  
  493.  
  494.  
  495.  
  496. BackgroundStartUp.Parent = SystemInterface
  497. BackgroundStartUp.Size = UDim2.new(0.5, 0, 0.5, 900)
  498. BackgroundStartUp.Position = UDim2.new(0.25, 0, -0.15, -300)
  499. BackgroundStartUp.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  500. BackgroundStartUp.Rotation = -90
  501. BackgroundStartUp.Text = ""
  502. BackgroundStartUp.AutoButtonColor = false
  503.  
  504. StartUpTexts.Parent = BackgroundStartUp
  505. StartUpTexts.Size = UDim2.new(1, 0, 0.5, 0)
  506. StartUpTexts.Position = UDim2.new(0, 0, 0, 300)
  507. StartUpTexts.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  508. StartUpTexts.Image = "rbxassetid://16778031596"
  509. StartUpTexts.BorderSizePixel = 0
  510.  
  511. Logo.Parent = StartUpTexts
  512. Logo.Size = UDim2.new(0.25, 0, 0.2, 0)
  513. Logo.Position = UDim2.new(0, 350, 0, 500)
  514. Logo.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  515. Logo.Image = "rbxassetid://16778374607"
  516. Logo.BorderSizePixel = 0
  517.  
  518. PoweredBy.Parent = StartUpTexts
  519. PoweredBy.BackgroundTransparency = 1
  520. PoweredBy.Position = UDim2.new(0, 150, 0, 500)
  521. PoweredBy.Size = UDim2.new(0.25, 0, 0.2, 0)
  522. PoweredBy.Font = Enum.Font.SourceSansBold
  523. PoweredBy.Text = "Powered By ECCS"
  524. PoweredBy.TextColor3 = Color3.fromRGB(255, 255, 255)
  525. PoweredBy.TextSize = 50
  526.  
  527. Loading.Parent = StartUpTexts
  528. Loading.Size = UDim2.new(0, 0, 0.01, 0)
  529. Loading.Position = UDim2.new(0, 100, 0, 300)
  530. Loading.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  531.  
  532. LoadingUICorner.CornerRadius = UDim.new(0, 12)
  533. LoadingUICorner.Parent = Loading
  534.  
  535. LoadingProgress.Parent = StartUpTexts
  536. LoadingProgress.BackgroundTransparency = 1
  537. LoadingProgress.Position = UDim2.new(0, 180, 0, 320)
  538. LoadingProgress.Size = UDim2.new(0.25, 0, 0.2, 0)
  539. LoadingProgress.Font = Enum.Font.SourceSansBold
  540. LoadingProgress.Text = LoadingValue.."/100"
  541. LoadingProgress.TextColor3 = Color3.fromRGB(255, 255, 255)
  542. LoadingProgress.TextSize = 30
  543.  
  544. spawn(function()
  545. while wait() do
  546. LoadingValue = LoadingValue + 1
  547. LoadingProgress.Text = LoadingValue.."/100"
  548. if LoadingValue == 100 then
  549. BackgroundStartUp:Destroy()
  550. end
  551. end
  552. end)
  553. Loading:TweenSize(UDim2.new(0.6, 0, 0.01, 0), "Out", "Linear", 5)
  554.  
  555. function createfolders(path)
  556.  local pathtbl = string.split(path, "/")
  557.  for i, v in pairs(pathtbl) do
  558.   if i == 1 then
  559.    if not isfolder(v) then
  560.     makefolder(v)
  561.    end
  562.   else
  563.    local newpath = pathtbl[1]
  564.    for i2=2, i-1 do
  565.     newpath = newpath.. "/" ..pathtbl[i2]
  566.    end
  567.    newpath = newpath.. "/" ..v
  568.    if not isfolder(newpath) then
  569.     makefolder(newpath)
  570.    end
  571.   end
  572.  end
  573. end
  574.  
  575. if not isfolder("ECCS_OS") then
  576. createfolders("ECCS_OS/System/Files")
  577. end
  578.  
  579.  
  580. if not isfile("ECCS_OS/System/Files/StartUp.ECCS") then
  581. writefile("ECCS_OS/System/Files/StartUp.ECCS", ""..StartUp.Value)
  582. end
  583.  
  584. if not isfile("ECCS_OS/System/Files/NotePad.ECCS") then
  585. writefile("ECCS_OS/System/Files/NotePad.ECCS", "")
  586. end
  587.  
  588. local ReadStartUp = readfile("ECCS_OS/System/Files/StartUp.ECCS")
  589. StartUp.Value = ReadStartUp
  590.  
  591. if StartUp.Value == "On" then
  592. writefile("ECCS_OS/System/Files/StartUp.ECCS", "Off")
  593. else
  594. if StartUp.Value == "Off" then
  595. BackgroundStartUp:Destroy()
  596. end
  597. end
  598.  
  599. UserBarButton1Home.MouseButton1Click:Connect(function()
  600. NotePadFrame:TweenSize(UDim2.new(0, 0, 0, 0),"InOut","Sine",AnimationSpeed)
  601. end)
  602.  
  603. UserBarButton3Destroy.MouseButton1Click:Connect(function()
  604. SystemInterface:Destroy()
  605. end)
  606.  
  607. App4NotePad.MouseButton1Click:Connect(function()
  608. NotePadFrame.Visible = true
  609. NotePadFrame:TweenSize(UDim2.new(1, 0, 0.5, 900),"InOut","Sine",AnimationSpeed)
  610. end)
  611.  
  612. UserBarButton2Min.MouseButton1Click:Connect(function()
  613. SystemInterfaceFrame:TweenPosition(UDim2.new(0.25, 0, 1, -300),"InOut","Sine",AnimationSpeed)
  614. end)
  615.  
  616. OpenMinButton.MouseButton1Click:Connect(function()
  617. SystemInterfaceFrame:TweenPosition(UDim2.new(0.25, 0, -0.15, -300),"InOut","Sine",AnimationSpeed)
  618. end)
  619.  
  620. spawn(function()
  621. while wait(1) do
  622. writefile("ECCS_OS/System/Files/NotePad.ECCS", ""..NotePadTextBox.Text)
  623. end
  624. end)
  625.  
  626.  
  627.  
  628. spawn(function()
  629. while wait() do
  630. if SystemInterfaceFrame.Position == UDim2.new(0.25, 0, 1, -300) then
  631. OpenMinButton.Visible = true
  632. else
  633. OpenMinButton.Visible = false
  634. end
  635. if NotePadFrame.Size == UDim2.new(1, 0, 0.5, 900) then
  636. NotePadTextBox.Visible = true
  637. else
  638. NotePadTextBox.Visible = false
  639. end
  640. end
  641. end)
  642.  
  643. function setHoverTransparency(Out, to, obj)
  644.     Out = Out or obj.BackgroundTransparency
  645.    
  646.     obj.MouseEnter:Connect(function()
  647.  
  648.         TweenService:Create(obj, TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
  649.             BackgroundTransparency = to
  650. }):Play()
  651.  
  652.     end)
  653.    
  654.     obj.MouseLeave:Connect(function()
  655.  
  656.         TweenService:Create(obj, TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
  657.            BackgroundTransparency = Out
  658.  }):Play()
  659.  
  660.     end)
  661. end
  662.  local ReadNote = readfile("ECCS_OS/System/Files/NotePad.ECCS")
  663. NotePadTextBox.Text = ReadNote
  664.  
  665. setHoverTransparency(nil, 0.2, UserBarButton1Home)
  666. setHoverTransparency(nil, 0.2, UserBarButton3Destroy)
  667. setHoverTransparency(nil, 0.2, UserBarButton2Min)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement