Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("CoreGui"):FindFirstChild("SystemInterface") then
- game:GetService("CoreGui"):FindFirstChild("SystemInterface"):Destroy()
- end
- SystemInterface = Instance.new("ScreenGui")
- SystemInterfaceFrame = Instance.new("ImageButton")
- BackgroundStartUp = Instance.new("TextButton")
- StartUpTexts = Instance.new("ImageLabel")
- Loading = Instance.new("Frame")
- StartUpSound = Instance.new("Sound")
- StartUp = Instance.new("StringValue")
- StartUp.Value = "On"
- Logo = Instance.new("ImageLabel")
- PoweredBy = Instance.new("TextLabel")
- LoadingValue = 0
- LoadingUICorner = Instance.new("UICorner")
- LoadingProgress = Instance.new("TextLabel")
- UserBar = Instance.new("Frame")
- UserBarButton1Home = Instance.new("ImageButton")
- UserBarButton2Min = Instance.new("ImageButton")
- UserBarButton3Destroy = Instance.new("ImageButton")
- TweenService = game:GetService("TweenService")
- UserBarButton1HomeUICorner = Instance.new("UICorner")
- UserBarButton2MinUICorner = Instance.new("UICorner")
- UserBarButton3DestroyUICorner = Instance.new("UICorner")
- OpenMinButton = Instance.new("TextButton")
- OpenMinButtonUICorner = Instance.new("UICorner")
- App1Searcher = Instance.new("ImageButton")
- App1SearcherUICorner = Instance.new("UICorner")
- App2Calculator = Instance.new("ImageButton")
- App2CalculatorUICorner = Instance.new("UICorner")
- App3Settings = Instance.new("ImageButton")
- App3SettingsUICorner = Instance.new("UICorner")
- App4NotePad = Instance.new("ImageButton")
- App4NotePadUICorner = Instance.new("UICorner")
- App5Music = Instance.new("ImageButton")
- App5MusicUICorner = Instance.new("UICorner")
- App6Games = Instance.new("ImageButton")
- App6GamesUICorner = Instance.new("UICorner")
- NotePadFrame = Instance.new("Frame")
- NotePadTextBox = Instance.new("TextBox")
- SystemBar = Instance.new("Frame")
- Clock = Instance.new("TextLabel")
- local FPSLabel = Instance.new("TextLabel")
- local RunService = game:GetService("RunService")
- local RenderStepped = RunService.RenderStepped
- local sec = nil
- local FPS = {}
- PingLabel = Instance.new("TextLabel")
- GPULabel = Instance.new("TextLabel")
- UIGradient_1 = Instance.new("UIGradient")
- AnimationSpeed = 0.5
- Ap1Name = Instance.new("TextLabel")
- Ap2Name = Instance.new("TextLabel")
- Ap3Name = Instance.new("TextLabel")
- Ap4Name = Instance.new("TextLabel")
- Ap5Name = Instance.new("TextLabel")
- Ap6Name = Instance.new("TextLabel")
- SystemInterface.Name = "SystemInterface"
- SystemInterface.Parent = game.CoreGui
- game.CoreGui.SystemInterface.Enabled = true
- SystemInterfaceFrame.Parent = SystemInterface
- SystemInterfaceFrame.Size = UDim2.new(0.5, 0, 0.5, 900)
- SystemInterfaceFrame.Position = UDim2.new(0.25, 0, -0.15, -300)
- SystemInterfaceFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SystemInterfaceFrame.Image = "rbxassetid://16788918234"
- SystemInterfaceFrame.Rotation = -90
- SystemInterfaceFrame.AutoButtonColor = false
- OpenMinButton.Visible = false
- NotePadFrame.Visible = false
- local Frame = ({
- ["01 01"] = "rbxassetid://16779094159",
- [(function(Year)
- local A = math.floor(Year/100)
- local B = math.floor((13+8*A)/25)
- local C = (15-B+A-math.floor(A/4))%30
- local D = (4+A-math.floor(A/4))%7
- local E = (19*(Year%19)+C)%30
- local F = (2*(Year%4)+4*(Year%7)+6*E+D)%7
- local G = (22+E+F)
- if E == 29 and F == 6 then
- return "04 19"
- elseif E == 28 and F == 6 then
- return "04 18"
- elseif 31 < G then
- return ("04 %02d"):format(G-31)
- end
- return ("03 %02d"):format(G)
- end)(tonumber(os.date"%Y"))] = "rbxassetid://16779090090",
- ["10 31"] = "rbxassetid://16779133028",
- ["12 25"] = "rbxassetid://16779174392"
- })[os.date("%m %d")]
- if Frame then
- SystemInterfaceFrame.Image = Frame
- end
- OpenMinButton.Name = "OpenMinButton"
- OpenMinButton.Parent = SystemInterface
- OpenMinButton.BackgroundTransparency = 1
- OpenMinButton.Position = UDim2.new(0, 450, 0, 370)
- OpenMinButton.Size = UDim2.new(0, 50, 0, 50)
- OpenMinButton.AutoButtonColor = false
- OpenMinButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- OpenMinButton.Text = ">"
- OpenMinButton.Rotation = -90
- OpenMinButton.TextSize = 30
- App1Searcher.Parent = SystemInterfaceFrame
- App1Searcher.Size = UDim2.new(0.14, 0, 0.061, 0)
- App1Searcher.Position = UDim2.new(0, 50, 0, 100)
- App1Searcher.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- App1Searcher.BorderSizePixel = 0
- App1Searcher.Image = "rbxassetid://16780566107"
- App1SearcherUICorner.CornerRadius = UDim.new(0, 12)
- App1SearcherUICorner.Parent = App1Searcher
- Ap1Name.Name = "Ap1Name"
- Ap1Name.Parent = App1Searcher
- Ap1Name.BackgroundTransparency = 1
- Ap1Name.Position = UDim2.new(0, 5, 0, 70)
- Ap1Name.Size = UDim2.new(0, 55, 0, 30)
- Ap1Name.TextColor3 = Color3.fromRGB(255, 255, 255)
- Ap1Name.Text = "Browser"
- Ap1Name.TextSize = 10
- Ap1Name.TextWrapped = true
- Ap1Name.TextXAlignment = Enum.TextXAlignment.Center
- Ap1Name.TextYAlignment = Enum.TextYAlignment.Center
- App2Calculator.Parent = SystemInterfaceFrame
- App2Calculator.Size = UDim2.new(0.14, 0, 0.061, 0)
- App2Calculator.Position = UDim2.new(0, 150, 0, 100)
- App2Calculator.BackgroundColor3 = Color3.fromRGB(177, 213, 124)
- App2Calculator.BorderSizePixel = 0
- App2Calculator.Image = "rbxassetid://16780666759"
- App2CalculatorUICorner.CornerRadius = UDim.new(0, 12)
- App2CalculatorUICorner.Parent = App2Calculator
- Ap2Name.Name = "Ap2Name"
- Ap2Name.Parent = App2Calculator
- Ap2Name.BackgroundTransparency = 1
- Ap2Name.Position = UDim2.new(0, 5, 0, 70)
- Ap2Name.Size = UDim2.new(0, 55, 0, 30)
- Ap2Name.TextColor3 = Color3.fromRGB(255, 255, 255)
- Ap2Name.Text = "Calculator"
- Ap2Name.TextSize = 10
- Ap2Name.TextWrapped = true
- Ap2Name.TextXAlignment = Enum.TextXAlignment.Center
- Ap2Name.TextYAlignment = Enum.TextYAlignment.Center
- App3Settings.Parent = SystemInterfaceFrame
- App3Settings.Size = UDim2.new(0.14, 0, 0.061, 0)
- App3Settings.Position = UDim2.new(0, 250, 0, 100)
- App3Settings.BackgroundColor3 = Color3.fromRGB(159, 149, 239)
- App3Settings.BorderSizePixel = 0
- App3Settings.Image = "rbxassetid://16780750379"
- App3SettingsUICorner.CornerRadius = UDim.new(0, 12)
- App3SettingsUICorner.Parent = App3Settings
- Ap3Name.Name = "Ap3Name"
- Ap3Name.Parent = App3Settings
- Ap3Name.BackgroundTransparency = 1
- Ap3Name.Position = UDim2.new(0, 5, 0, 70)
- Ap3Name.Size = UDim2.new(0, 55, 0, 30)
- Ap3Name.TextColor3 = Color3.fromRGB(255, 255, 255)
- Ap3Name.Text = "Settings"
- Ap3Name.TextSize = 10
- Ap3Name.TextWrapped = true
- Ap3Name.TextXAlignment = Enum.TextXAlignment.Center
- Ap3Name.TextYAlignment = Enum.TextYAlignment.Center
- App4NotePad.Parent = SystemInterfaceFrame
- App4NotePad.Size = UDim2.new(0.14, 0, 0.061, 0)
- App4NotePad.Position = UDim2.new(0, 350, 0, 100)
- App4NotePad.BackgroundColor3 = Color3.fromRGB(211, 149, 239)
- App4NotePad.BorderSizePixel = 0
- App4NotePad.Image = "rbxassetid://16780886279"
- App4NotePadUICorner.CornerRadius = UDim.new(0, 12)
- App4NotePadUICorner.Parent = App4NotePad
- Ap4Name.Name = "Ap4Name"
- Ap4Name.Parent = App4NotePad
- Ap4Name.BackgroundTransparency = 1
- Ap4Name.Position = UDim2.new(0, 5, 0, 70)
- Ap4Name.Size = UDim2.new(0, 55, 0, 30)
- Ap4Name.TextColor3 = Color3.fromRGB(255, 255, 255)
- Ap4Name.Text = "NotePad"
- Ap4Name.TextSize = 10
- Ap4Name.TextWrapped = true
- Ap4Name.TextXAlignment = Enum.TextXAlignment.Center
- Ap4Name.TextYAlignment = Enum.TextYAlignment.Center
- App5Music.Parent = SystemInterfaceFrame
- App5Music.Size = UDim2.new(0.14, 0, 0.061, 0)
- App5Music.Position = UDim2.new(0, 50, 0, 200)
- App5Music.BackgroundColor3 = Color3.fromRGB(239, 149, 161)
- App5Music.BorderSizePixel = 0
- App5Music.Image = "rbxassetid://16780940883"
- App5MusicUICorner.CornerRadius = UDim.new(0, 12)
- App5MusicUICorner.Parent = App5Music
- Ap5Name.Name = "Ap5Name"
- Ap5Name.Parent = App5Music
- Ap5Name.BackgroundTransparency = 1
- Ap5Name.Position = UDim2.new(0, 5, 0, 70)
- Ap5Name.Size = UDim2.new(0, 55, 0, 30)
- Ap5Name.TextColor3 = Color3.fromRGB(255, 255, 255)
- Ap5Name.Text = "Music"
- Ap5Name.TextSize = 10
- Ap5Name.TextWrapped = true
- Ap5Name.TextXAlignment = Enum.TextXAlignment.Center
- Ap5Name.TextYAlignment = Enum.TextYAlignment.Center
- App6Games.Parent = SystemInterfaceFrame
- App6Games.Size = UDim2.new(0.14, 0, 0.061, 0)
- App6Games.Position = UDim2.new(0, 150, 0, 200)
- App6Games.BackgroundColor3 = Color3.fromRGB(241, 218, 221)
- App6Games.BorderSizePixel = 0
- App6Games.Image = "rbxassetid://16780978991"
- App6GamesUICorner.CornerRadius = UDim.new(0, 12)
- App6GamesUICorner.Parent = App6Games
- Ap6Name.Name = "Ap5Name"
- Ap6Name.Parent = App6Games
- Ap6Name.BackgroundTransparency = 1
- Ap6Name.Position = UDim2.new(0, 5, 0, 70)
- Ap6Name.Size = UDim2.new(0, 55, 0, 30)
- Ap6Name.TextColor3 = Color3.fromRGB(255, 255, 255)
- Ap6Name.Text = "Games"
- Ap6Name.TextSize = 10
- Ap6Name.TextWrapped = true
- Ap6Name.TextXAlignment = Enum.TextXAlignment.Center
- Ap6Name.TextYAlignment = Enum.TextYAlignment.Center
- NotePadFrame.Parent = SystemInterfaceFrame
- NotePadFrame.Size = UDim2.new(0, 0, 0, 0)
- NotePadFrame.Position = UDim2.new(0, 0, -0.15, -200)
- NotePadFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- NotePadTextBox.Name = "SearchBox"
- NotePadTextBox.Parent = NotePadFrame
- NotePadTextBox.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
- NotePadTextBox.Position = UDim2.new(0, 10, 0, 450)
- NotePadTextBox.Size = UDim2.new(0, 455, 0, 938)
- NotePadTextBox.ClearTextOnFocus = false
- NotePadTextBox.Font = Enum.Font.SourceSansBold
- NotePadTextBox.PlaceholderText = ""
- NotePadTextBox.Text = ""
- NotePadTextBox.TextColor3 = Color3.fromRGB(245, 235, 0)
- NotePadTextBox.TextScaled = false
- NotePadTextBox.TextSize = 35
- NotePadTextBox.TextWrapped = true
- NotePadTextBox.TextXAlignment = Enum.TextXAlignment.Left
- NotePadTextBox.TextYAlignment = Enum.TextYAlignment.Top
- NotePadTextBox.BorderSizePixel = 0
- NotePadTextBox.BackgroundTransparency = 0.5
- UIGradient_1.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(212, 98, 243)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 5, 214))}
- UIGradient_1.Parent = NotePadFrame
- UserBar.Parent = SystemInterfaceFrame
- UserBar.Size = UDim2.new(1, 0, 0.03, 0)
- UserBar.BackgroundTransparency = 0.7
- UserBar.Position = UDim2.new(0, 0, 0, 1022)
- UserBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- UserBar.BorderSizePixel = 0
- SystemBar.Parent = SystemInterfaceFrame
- SystemBar.Size = UDim2.new(1, 0, 0.03, 0)
- SystemBar.Position = UDim2.new(0, 0, 0, 50)
- SystemBar.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- SystemBar.BorderSizePixel = 0
- Clock.Parent = SystemBar
- Clock.Size = UDim2.new(0, 30, 0, 30)
- Clock.Position = UDim2.new(0, 50, 0, 3)
- Clock.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Clock.BackgroundTransparency = 1
- Clock.Text = os.date("%H:%M")
- Clock.TextColor3 = Color3.fromRGB(255, 255, 255)
- Clock.TextSize = 15
- FPSLabel.Name = "FPSLabel"
- FPSLabel.Parent = SystemBar
- FPSLabel.Position = UDim2.new(0, 420, 0, 3)
- FPSLabel.Size = UDim2.new(0, 30, 0, 30)
- FPSLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- FPSLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- FPSLabel.TextSize = 10
- FPSLabel.BackgroundTransparency = 1
- PingLabel.Name = "PingLabel"
- PingLabel.Parent = SystemBar
- PingLabel.Position = UDim2.new(0, 380, 0, 3)
- PingLabel.Size = UDim2.new(0, 30, 0, 30)
- PingLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PingLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- PingLabel.TextSize = 10
- PingLabel.BackgroundTransparency = 1
- GPULabel.Name = "PingLabel"
- GPULabel.Parent = SystemBar
- GPULabel.Position = UDim2.new(0, 340, 0, 3)
- GPULabel.Size = UDim2.new(0, 30, 0, 30)
- GPULabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GPULabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- GPULabel.TextSize = 10
- GPULabel.BackgroundTransparency = 1
- spawn(function()
- while wait() do
- local ping = tonumber(game:GetService("Stats"):FindFirstChild("PerformanceStats").Ping:GetValue())
- local gpu = tonumber(game:GetService("Stats"):FindFirstChild("PerformanceStats").GPU:GetValue())
- gpu = math.floor(gpu)
- ping = math.floor(ping)
- PingLabel.Text = ping.."-P"
- GPULabel.Text = gpu.."-G"
- Clock.Text = os.date("%H:%M")
- end
- end)
- local function fre()
- local fr = tick()
- for index = #FPS,1,-1 do
- FPS[index + 1] = (FPS[index] >= fr - 1) and FPS[index] or nil
- end
- FPS[1] = fr
- local fps = (tick() - sec >= 1 and #FPS) or (#FPS / (tick() - sec))
- fps = math.floor(fps)
- FPSLabel.Text = fps.."-F"
- end
- sec = tick()
- RenderStepped:Connect(fre)
- UserBarButton1Home.Name = "UserBarButton1Home"
- UserBarButton1Home.Parent = UserBar
- UserBarButton1Home.BackgroundTransparency = 1
- UserBarButton1Home.Position = UDim2.new(0, 230, 0, 1)
- UserBarButton1Home.Size = UDim2.new(0, 30, 0, 30)
- UserBarButton1Home.AutoButtonColor = false
- UserBarButton1Home.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- UserBarButton1Home.Image = "rbxassetid://16779334652"
- UserBarButton1HomeUICorner.CornerRadius = UDim.new(0, 12)
- UserBarButton1HomeUICorner.Parent = UserBarButton1Home
- UserBarButton2Min.Name = "UserBarButton1Home"
- UserBarButton2Min.Parent = UserBar
- UserBarButton2Min.BackgroundTransparency = 1
- UserBarButton2Min.Position = UDim2.new(0, 350, 0, 1)
- UserBarButton2Min.Size = UDim2.new(0, 30, 0, 30)
- UserBarButton2Min.AutoButtonColor = false
- UserBarButton2Min.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- UserBarButton2Min.Image = "rbxassetid://16779330632"
- UserBarButton2MinUICorner.CornerRadius = UDim.new(0, 12)
- UserBarButton2MinUICorner.Parent = UserBarButton2Min
- UserBarButton3Destroy.Name = "UserBarButton1Home"
- UserBarButton3Destroy.Parent = UserBar
- UserBarButton3Destroy.BackgroundTransparency = 1
- UserBarButton3Destroy.Position = UDim2.new(0, 100, 0, 1)
- UserBarButton3Destroy.Size = UDim2.new(0, 30, 0, 30)
- UserBarButton3Destroy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- UserBarButton3Destroy.AutoButtonColor = false
- UserBarButton3Destroy.Image = "rbxassetid://16779332635"
- UserBarButton3DestroyUICorner.CornerRadius = UDim.new(0, 12)
- UserBarButton3DestroyUICorner.Parent = UserBarButton3Destroy
- BackgroundStartUp.Parent = SystemInterface
- BackgroundStartUp.Size = UDim2.new(0.5, 0, 0.5, 900)
- BackgroundStartUp.Position = UDim2.new(0.25, 0, -0.15, -300)
- BackgroundStartUp.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- BackgroundStartUp.Rotation = -90
- BackgroundStartUp.Text = ""
- BackgroundStartUp.AutoButtonColor = false
- StartUpTexts.Parent = BackgroundStartUp
- StartUpTexts.Size = UDim2.new(1, 0, 0.5, 0)
- StartUpTexts.Position = UDim2.new(0, 0, 0, 300)
- StartUpTexts.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- StartUpTexts.Image = "rbxassetid://16778031596"
- StartUpTexts.BorderSizePixel = 0
- Logo.Parent = StartUpTexts
- Logo.Size = UDim2.new(0.25, 0, 0.2, 0)
- Logo.Position = UDim2.new(0, 350, 0, 500)
- Logo.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Logo.Image = "rbxassetid://16778374607"
- Logo.BorderSizePixel = 0
- PoweredBy.Parent = StartUpTexts
- PoweredBy.BackgroundTransparency = 1
- PoweredBy.Position = UDim2.new(0, 150, 0, 500)
- PoweredBy.Size = UDim2.new(0.25, 0, 0.2, 0)
- PoweredBy.Font = Enum.Font.SourceSansBold
- PoweredBy.Text = "Powered By ECCS"
- PoweredBy.TextColor3 = Color3.fromRGB(255, 255, 255)
- PoweredBy.TextSize = 50
- Loading.Parent = StartUpTexts
- Loading.Size = UDim2.new(0, 0, 0.01, 0)
- Loading.Position = UDim2.new(0, 100, 0, 300)
- Loading.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- LoadingUICorner.CornerRadius = UDim.new(0, 12)
- LoadingUICorner.Parent = Loading
- LoadingProgress.Parent = StartUpTexts
- LoadingProgress.BackgroundTransparency = 1
- LoadingProgress.Position = UDim2.new(0, 180, 0, 320)
- LoadingProgress.Size = UDim2.new(0.25, 0, 0.2, 0)
- LoadingProgress.Font = Enum.Font.SourceSansBold
- LoadingProgress.Text = LoadingValue.."/100"
- LoadingProgress.TextColor3 = Color3.fromRGB(255, 255, 255)
- LoadingProgress.TextSize = 30
- spawn(function()
- while wait() do
- LoadingValue = LoadingValue + 1
- LoadingProgress.Text = LoadingValue.."/100"
- if LoadingValue == 100 then
- BackgroundStartUp:Destroy()
- end
- end
- end)
- Loading:TweenSize(UDim2.new(0.6, 0, 0.01, 0), "Out", "Linear", 5)
- function createfolders(path)
- local pathtbl = string.split(path, "/")
- for i, v in pairs(pathtbl) do
- if i == 1 then
- if not isfolder(v) then
- makefolder(v)
- end
- else
- local newpath = pathtbl[1]
- for i2=2, i-1 do
- newpath = newpath.. "/" ..pathtbl[i2]
- end
- newpath = newpath.. "/" ..v
- if not isfolder(newpath) then
- makefolder(newpath)
- end
- end
- end
- end
- if not isfolder("ECCS_OS") then
- createfolders("ECCS_OS/System/Files")
- end
- if not isfile("ECCS_OS/System/Files/StartUp.ECCS") then
- writefile("ECCS_OS/System/Files/StartUp.ECCS", ""..StartUp.Value)
- end
- if not isfile("ECCS_OS/System/Files/NotePad.ECCS") then
- writefile("ECCS_OS/System/Files/NotePad.ECCS", "")
- end
- local ReadStartUp = readfile("ECCS_OS/System/Files/StartUp.ECCS")
- StartUp.Value = ReadStartUp
- if StartUp.Value == "On" then
- writefile("ECCS_OS/System/Files/StartUp.ECCS", "Off")
- else
- if StartUp.Value == "Off" then
- BackgroundStartUp:Destroy()
- end
- end
- UserBarButton1Home.MouseButton1Click:Connect(function()
- NotePadFrame:TweenSize(UDim2.new(0, 0, 0, 0),"InOut","Sine",AnimationSpeed)
- end)
- UserBarButton3Destroy.MouseButton1Click:Connect(function()
- SystemInterface:Destroy()
- end)
- App4NotePad.MouseButton1Click:Connect(function()
- NotePadFrame.Visible = true
- NotePadFrame:TweenSize(UDim2.new(1, 0, 0.5, 900),"InOut","Sine",AnimationSpeed)
- end)
- UserBarButton2Min.MouseButton1Click:Connect(function()
- SystemInterfaceFrame:TweenPosition(UDim2.new(0.25, 0, 1, -300),"InOut","Sine",AnimationSpeed)
- end)
- OpenMinButton.MouseButton1Click:Connect(function()
- SystemInterfaceFrame:TweenPosition(UDim2.new(0.25, 0, -0.15, -300),"InOut","Sine",AnimationSpeed)
- end)
- spawn(function()
- while wait(1) do
- writefile("ECCS_OS/System/Files/NotePad.ECCS", ""..NotePadTextBox.Text)
- end
- end)
- spawn(function()
- while wait() do
- if SystemInterfaceFrame.Position == UDim2.new(0.25, 0, 1, -300) then
- OpenMinButton.Visible = true
- else
- OpenMinButton.Visible = false
- end
- if NotePadFrame.Size == UDim2.new(1, 0, 0.5, 900) then
- NotePadTextBox.Visible = true
- else
- NotePadTextBox.Visible = false
- end
- end
- end)
- function setHoverTransparency(Out, to, obj)
- Out = Out or obj.BackgroundTransparency
- obj.MouseEnter:Connect(function()
- TweenService:Create(obj, TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
- BackgroundTransparency = to
- }):Play()
- end)
- obj.MouseLeave:Connect(function()
- TweenService:Create(obj, TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {
- BackgroundTransparency = Out
- }):Play()
- end)
- end
- local ReadNote = readfile("ECCS_OS/System/Files/NotePad.ECCS")
- NotePadTextBox.Text = ReadNote
- setHoverTransparency(nil, 0.2, UserBarButton1Home)
- setHoverTransparency(nil, 0.2, UserBarButton3Destroy)
- setHoverTransparency(nil, 0.2, UserBarButton2Min)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement