Run it
Copy the script and paste it into your executor.
Players = :()
LocalPlayer = Players.LocalPlayer
PlayerGui = LocalPlayer:()
TweenService = :()
UserInputService = :()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = PlayerGui
ScreenGui.ResetOnSpawn =
MainFrame = .()
MainFrame.Size = .(, , , )
MainFrame.Position = .(, , , )
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Draggable =
MainFrame.ClipsDescendants =
MainFrame.Parent = ScreenGui
UICorner_Main = .()
UICorner_Main.CornerRadius = .(, )
UICorner_Main.Parent = MainFrame
UIStroke_Main = .()
UIStroke_Main.Color = .(, , )
UIStroke_Main.Transparency =
UIStroke_Main.Thickness =
UIStroke_Main.Parent = MainFrame
TitleBar = .()
TitleBar.Size = .(, , , )
TitleBar.Position = .(, , , )
TitleBar.BackgroundColor3 = .(, , )
TitleBar.BorderSizePixel =
TitleBar.Parent = MainFrame
UIGradient_Title = .()
UIGradient_Title.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
})
UIGradient_Title.Rotation =
UIGradient_Title.Transparency = NumberSequence.(, )
UIGradient_Title.Parent = TitleBar
TitleLabel = .()
TitleLabel.Size = .(, , , )
TitleLabel.Position = .(, , , )
TitleLabel.BackgroundTransparency =
TitleLabel.TextColor3 = .(, , )
TitleLabel.Font = .Font.SourceSansBold
TitleLabel.TextSize =
TitleLabel.TextXAlignment = .TextXAlignment.Left
TitleLabel.TextWrapped =
TitleLabel.Text =
TitleLabel.Parent = TitleBar
MinimizeButton = .()
MinimizeButton.Size = .(, , , )
MinimizeButton.Position = .(, , , )
MinimizeButton.BackgroundTransparency =
MinimizeButton.TextColor3 = .(, , )
MinimizeButton.Font = .Font.SourceSansBold
MinimizeButton.TextSize =
MinimizeButton.Text =
MinimizeButton.Parent = TitleBar
UIStroke_Minimize = .()
UIStroke_Minimize.Color = .(, , )
UIStroke_Minimize.Transparency =
UIStroke_Minimize.Thickness =
UIStroke_Minimize.Parent = MinimizeButton
CloseButton = .()
CloseButton.Size = .(, , , )
CloseButton.Position = .(, , , )
CloseButton.BackgroundTransparency =
CloseButton.TextColor3 = .(, , )
CloseButton.Font = .Font.SourceSansBold
CloseButton.TextSize =
CloseButton.Text =
CloseButton.Parent = TitleBar
UIStroke_Close = .()
UIStroke_Close.Color = .(, , )
UIStroke_Close.Transparency =
UIStroke_Close.Thickness =
UIStroke_Close.Parent = CloseButton
ContentFrame = .()
ContentFrame.Size = .(, , , )
ContentFrame.Position = .(, , , )
ContentFrame.BackgroundColor3 = .(, , )
ContentFrame.BorderSizePixel =
ContentFrame.Parent = MainFrame
ScriptListPanel = .()
ScriptListPanel.Size = .(, , , )
ScriptListPanel.Position = .(, , , )
ScriptListPanel.BackgroundColor3 = .(, , )
ScriptListPanel.BorderSizePixel =
ScriptListPanel.Parent = ContentFrame
ScriptListTitle = .()
ScriptListTitle.Size = .(, , , )
ScriptListTitle.Position = .(, , , )
ScriptListTitle.BackgroundColor3 = .(, , )
ScriptListTitle.TextColor3 = .(, , )
ScriptListTitle.Font = .Font.SourceSansBold
ScriptListTitle.TextSize =
ScriptListTitle.Text =
ScriptListTitle.Parent = ScriptListPanel
ScriptListScrollingFrame = .()
ScriptListScrollingFrame.Size = .(, , , )
ScriptListScrollingFrame.Position = .(, , , )
ScriptListScrollingFrame.BackgroundColor3 = .(, , )
ScriptListScrollingFrame.BorderSizePixel =
ScriptListScrollingFrame.CanvasSize = .(, , , )
ScriptListScrollingFrame.ScrollBarThickness =
ScriptListScrollingFrame.ScrollBarImageColor3 = .(, , )
ScriptListScrollingFrame.Parent = ScriptListPanel
UIListLayout_Scripts = .()
UIListLayout_Scripts.FillDirection = .FillDirection.Vertical
UIListLayout_Scripts.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout_Scripts.Padding = .(, )
UIListLayout_Scripts.Parent = ScriptListScrollingFrame
ScriptListButtonsFrame = .()
ScriptListButtonsFrame.Size = .(, , , )
ScriptListButtonsFrame.Position = .(, , , )
ScriptListButtonsFrame.BackgroundColor3 = .(, , )
ScriptListButtonsFrame.BorderSizePixel =
ScriptListButtonsFrame.Parent = ScriptListPanel
UIListLayout_ListButtons = .()
UIListLayout_ListButtons.FillDirection = .FillDirection.Horizontal
UIListLayout_ListButtons.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout_ListButtons.VerticalAlignment = .VerticalAlignment.Center
UIListLayout_ListButtons.Padding = .(, )
UIListLayout_ListButtons.Parent = ScriptListButtonsFrame
NewScriptButton = .()
NewScriptButton.Size = .(, , , )
NewScriptButton.BackgroundTransparency =
NewScriptButton.TextColor3 = .(, , )
NewScriptButton.Font = .Font.SourceSansBold
NewScriptButton.TextSize =
NewScriptButton.Text =
NewScriptButton.Parent = ScriptListButtonsFrame
UIStroke_New = .()
UIStroke_New.Color = .(, , )
UIStroke_New.Transparency =
UIStroke_New.Thickness =
UIStroke_New.Parent = NewScriptButton
LoadSelectedButton = .()
LoadSelectedButton.Size = .(, , , )
LoadSelectedButton.BackgroundTransparency =
LoadSelectedButton.TextColor3 = .(, , )
LoadSelectedButton.Font = .Font.SourceSansBold
LoadSelectedButton.TextSize =
LoadSelectedButton.Text =
LoadSelectedButton.Parent = ScriptListButtonsFrame
UIStroke_Load = .()
UIStroke_Load.Color = .(, , )
UIStroke_Load.Transparency =
UIStroke_Load.Thickness =
UIStroke_Load.Parent = LoadSelectedButton
DeleteSelectedButton = .()
DeleteSelectedButton.Size = .(, , , )
DeleteSelectedButton.BackgroundTransparency =
DeleteSelectedButton.TextColor3 = .(, , )
DeleteSelectedButton.Font = .Font.SourceSansBold
DeleteSelectedButton.TextSize =
DeleteSelectedButton.Text =
DeleteSelectedButton.Parent = ScriptListButtonsFrame
UIStroke_Delete = .()
UIStroke_Delete.Color = .(, , )
UIStroke_Delete.Transparency =
UIStroke_Delete.Thickness =
UIStroke_Delete.Parent = DeleteSelectedButton
EditorPanel = .()
EditorPanel.Size = .(, , , )
EditorPanel.Position = .(, , , )
EditorPanel.BackgroundColor3 = .(, , )
EditorPanel.BorderSizePixel =
EditorPanel.Parent = ContentFrame
ScriptNameTextBox = .()
ScriptNameTextBox.Size = .(, , , )
ScriptNameTextBox.Position = .(, , , )
ScriptNameTextBox.BackgroundColor3 = .(, , )
ScriptNameTextBox.TextColor3 = .(, , )
ScriptNameTextBox.Font = .Font.SourceSansBold
ScriptNameTextBox.TextSize =
ScriptNameTextBox.TextXAlignment = .TextXAlignment.Left
ScriptNameTextBox.Text =
ScriptNameTextBox.PlaceholderText =
ScriptNameTextBox.Parent = EditorPanel
CodeTextBox = .()
CodeTextBox.Size = .(, , , )
CodeTextBox.Position = .(, , , )
CodeTextBox.BackgroundColor3 = .(, , )
CodeTextBox.TextColor3 = .(, , )
CodeTextBox.Font = .Font.Code
CodeTextBox.TextSize =
CodeTextBox.TextXAlignment = .TextXAlignment.Left
CodeTextBox.TextYAlignment = .TextYAlignment.Top
CodeTextBox.MultiLine =
CodeTextBox.ClearTextOnFocus =
CodeTextBox.PlaceholderText =
CodeTextBox.Parent = EditorPanel
EditorButtonsFrame = .()
EditorButtonsFrame.Size = .(, , , )
EditorButtonsFrame.Position = .(, , , )
EditorButtonsFrame.BackgroundColor3 = .(, , )
EditorButtonsFrame.BorderSizePixel =
EditorButtonsFrame.Parent = EditorPanel
UIListLayout_EditorButtons = .()
UIListLayout_EditorButtons.FillDirection = .FillDirection.Horizontal
UIListLayout_EditorButtons.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout_EditorButtons.VerticalAlignment = .VerticalAlignment.Center
UIListLayout_EditorButtons.Padding = .(, )
UIListLayout_EditorButtons.Parent = EditorButtonsFrame
ExecuteButton = .()
ExecuteButton.Size = .(, , , )
ExecuteButton.BackgroundTransparency =
ExecuteButton.TextColor3 = .(, , )
ExecuteButton.Font = .Font.SourceSansBold
ExecuteButton.TextSize =
ExecuteButton.Text =
ExecuteButton.Parent = EditorButtonsFrame
UIStroke_Execute = .()
UIStroke_Execute.Color = .(, , )
UIStroke_Execute.Transparency =
UIStroke_Execute.Thickness =
UIStroke_Execute.Parent = ExecuteButton
SaveCurrentButton = .()
SaveCurrentButton.Size = .(, , , )
SaveCurrentButton.BackgroundTransparency =
SaveCurrentButton.TextColor3 = .(, , )
SaveCurrentButton.Font = .Font.SourceSansBold
SaveCurrentButton.TextSize =
SaveCurrentButton.Text =
SaveCurrentButton.Parent = EditorButtonsFrame
UIStroke_SaveCurrent = .()
UIStroke_SaveCurrent.Color = .(, , )
UIStroke_SaveCurrent.Transparency =
UIStroke_SaveCurrent.Thickness =
UIStroke_SaveCurrent.Parent = SaveCurrentButton
ClearEditorButton = .()
ClearEditorButton.Size = .(, , , )
ClearEditorButton.BackgroundTransparency =
ClearEditorButton.TextColor3 = .(, , )
ClearEditorButton.Font = .Font.SourceSansBold
ClearEditorButton.TextSize =
ClearEditorButton.Text =
ClearEditorButton.Parent = EditorButtonsFrame
UIStroke_Clear = .()
UIStroke_Clear.Color = .(, , )
UIStroke_Clear.Transparency =
UIStroke_Clear.Thickness =
UIStroke_Clear.Parent = ClearEditorButton
SavedScriptsFolder = ScreenGui:()
SavedScriptsFolder
SavedScriptsFolder = .()
SavedScriptsFolder.Name =
SavedScriptsFolder.Parent = ScreenGui
SelectedScriptValue = .()
SelectedScriptValue.Name =
SelectedScriptValue.Value =
SelectedScriptValue.Parent = ScreenGui
currentSelectedScriptButton =
originalFrameSize = MainFrame.Size
minimizedSize = .(MainFrame.Size.X.Scale, MainFrame.Size.X.Offset, TitleBar.Size.Y.Scale, TitleBar.Size.Y.Offset)
isMinimized =
()
_, child (ScriptListScrollingFrame:())
child:()
child:()
scriptNames = {}
_, scriptValue (SavedScriptsFolder:())
scriptValue:()
.(scriptNames, scriptValue.Name)
.(scriptNames)
newCanvasY =
_, scriptName (scriptNames)
scriptButton = .()
scriptButton.Name = scriptName
scriptButton.Size = .(, , , )
scriptButton.BackgroundTransparency =
scriptButton.TextColor3 = .(, , )
scriptButton.Font = .Font.SourceSans
scriptButton.TextSize =
scriptButton.TextXAlignment = .TextXAlignment.Left
scriptButton.Text = .. scriptName
scriptButton.Parent = ScriptListScrollingFrame
UICorner_ScriptButton = .()
UICorner_ScriptButton.CornerRadius = .(, )
UICorner_ScriptButton.Parent = scriptButton
UIStroke_ScriptButton = .()
UIStroke_ScriptButton.Color = .(, , )
UIStroke_ScriptButton.Transparency =
UIStroke_ScriptButton.Thickness =
UIStroke_ScriptButton.Parent = scriptButton
scriptButton.MouseButton1Click:(()
currentSelectedScriptButton
currentSelectedScriptButton.BackgroundTransparency =
currentSelectedScriptButton.UIStroke.Transparency =
scriptButton.BackgroundTransparency =
scriptButton.UIStroke.Transparency =
currentSelectedScriptButton = scriptButton
SelectedScriptValue.Value = scriptName
)
newCanvasY = newCanvasY + + UIListLayout_Scripts.Padding.Offset
ScriptListScrollingFrame.CanvasSize = .(, , , newCanvasY)
(scriptName)
scriptValue = SavedScriptsFolder:(scriptName)
scriptValue scriptValue:()
CodeTextBox.Text = scriptValue.Value
ScriptNameTextBox.Text = scriptName
SelectedScriptValue.Value = scriptName
currentSelectedScriptButton
currentSelectedScriptButton.BackgroundTransparency =
currentSelectedScriptButton.UIStroke.Transparency =
button = ScriptListScrollingFrame:(scriptName)
button
button.BackgroundTransparency =
button.UIStroke.Transparency =
currentSelectedScriptButton = button
(scriptName, scriptContent)
existingScript = SavedScriptsFolder:(scriptName)
existingScript existingScript:()
existingScript.Value = scriptContent
newScriptValue = .()
newScriptValue.Name = scriptName
newScriptValue.Value = scriptContent
newScriptValue.Parent = SavedScriptsFolder
()
(scriptName)
(scriptName)
scriptValue = SavedScriptsFolder:(scriptName)
scriptValue scriptValue:()
scriptValue:()
()
SelectedScriptValue.Value == scriptName
CodeTextBox.Text =
ScriptNameTextBox.Text =
SelectedScriptValue.Value =
currentSelectedScriptButton =
ExecuteButton.MouseButton1Click:(()
success, err = (()
func = (CodeTextBox.Text)
func
()
()
)
success
( .. (err))
)
SaveCurrentButton.MouseButton1Click:(()
scriptName = ScriptNameTextBox.Text:(, ):(, )
scriptName == scriptName ==
namePrompt = .()
namePrompt.Size = .(, , , )
namePrompt.Position = .(, -, , -)
namePrompt.BackgroundColor3 = .(, , )
namePrompt.TextColor3 = .(, , )
namePrompt.Text =
namePrompt.PlaceholderText =
namePrompt.Font = .Font.SourceSansBold
namePrompt.TextSize =
namePrompt.Parent = ScreenGui
namePrompt.ZIndex =
UICorner_Prompt = .()
UICorner_Prompt.CornerRadius = .(, )
UICorner_Prompt.Parent = namePrompt
UIStroke_Prompt = .()
UIStroke_Prompt.Color = .(, , )
UIStroke_Prompt.Transparency =
UIStroke_Prompt.Thickness =
UIStroke_Prompt.Parent = namePrompt
namePrompt.FocusLost:((enterPressed)
enterPressed
newName = namePrompt.Text:(, ):(, )
newName ~=
(newName, CodeTextBox.Text)
namePrompt:()
)
namePrompt:()
(scriptName, CodeTextBox.Text)
)
ClearEditorButton.MouseButton1Click:(()
CodeTextBox.Text =
ScriptNameTextBox.Text =
SelectedScriptValue.Value =
currentSelectedScriptButton
currentSelectedScriptButton.BackgroundTransparency =
currentSelectedScriptButton.UIStroke.Transparency =
currentSelectedScriptButton =
)
NewScriptButton.MouseButton1Click:(()
CodeTextBox.Text =
ScriptNameTextBox.Text =
SelectedScriptValue.Value =
currentSelectedScriptButton
currentSelectedScriptButton.BackgroundTransparency =
currentSelectedScriptButton.UIStroke.Transparency =
currentSelectedScriptButton =
)
LoadSelectedButton.MouseButton1Click:(()
scriptName = SelectedScriptValue.Value
scriptName ~=
(scriptName)
)
DeleteSelectedButton.MouseButton1Click:(()
scriptName = SelectedScriptValue.Value
scriptName ~=
(scriptName)
)
MinimizeButton.MouseButton1Click:(()
isMinimized
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
TweenService:(MainFrame, tweenInfo, {Size = originalFrameSize}):()
ContentFrame.Visible =
isMinimized =
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
TweenService:(MainFrame, tweenInfo, {Size = minimizedSize}):()
ContentFrame.Visible =
isMinimized =
)
CloseButton.MouseButton1Click:(()
ScreenGui:()
)
()
dragging
dragInput
dragStart
startPos
TitleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.Ended
dragging =
)
)
TitleBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragging
delta = input.Position - dragStart
MainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
) Players = :()
LocalPlayer = Players.LocalPlayer
PlayerGui = LocalPlayer:()
TweenService = :()
UserInputService = :()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = PlayerGui
ScreenGui.ResetOnSpawn =
MainFrame = .()
MainFrame.Size = .(, , , )
MainFrame.Position = .(, , , )
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Draggable =
MainFrame.ClipsDescendants =
MainFrame.Parent = ScreenGui
UICorner_Main = .()
UICorner_Main.CornerRadius = .(, )
UICorner_Main.Parent = MainFrame
UIStroke_Main = .()
UIStroke_Main.Color = .(, , )
UIStroke_Main.Transparency =
UIStroke_Main.Thickness =
UIStroke_Main.Parent = MainFrame
TitleBar = .()
TitleBar.Size = .(, , , )
TitleBar.Position = .(, , , )
TitleBar.BackgroundColor3 = .(, , )
TitleBar.BorderSizePixel =
TitleBar.Parent = MainFrame
UIGradient_Title = .()
UIGradient_Title.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , ))
})
UIGradient_Title.Rotation =
UIGradient_Title.Transparency = NumberSequence.(, )
UIGradient_Title.Parent = TitleBar
TitleLabel = .()
TitleLabel.Size = .(, , , )
TitleLabel.Position = .(, , , )
TitleLabel.BackgroundTransparency =
TitleLabel.TextColor3 = .(, , )
TitleLabel.Font = .Font.SourceSansBold
TitleLabel.TextSize =
TitleLabel.TextXAlignment = .TextXAlignment.Left
TitleLabel.TextWrapped =
TitleLabel.Text =
TitleLabel.Parent = TitleBar
MinimizeButton = .()
MinimizeButton.Size = .(, , , )
MinimizeButton.Position = .(, , , )
MinimizeButton.BackgroundTransparency =
MinimizeButton.TextColor3 = .(, , )
MinimizeButton.Font = .Font.SourceSansBold
MinimizeButton.TextSize =
MinimizeButton.Text =
MinimizeButton.Parent = TitleBar
UIStroke_Minimize = .()
UIStroke_Minimize.Color = .(, , )
UIStroke_Minimize.Transparency =
UIStroke_Minimize.Thickness =
UIStroke_Minimize.Parent = MinimizeButton
CloseButton = .()
CloseButton.Size = .(, , , )
CloseButton.Position = .(, , , )
CloseButton.BackgroundTransparency =
CloseButton.TextColor3 = .(, , )
CloseButton.Font = .Font.SourceSansBold
CloseButton.TextSize =
CloseButton.Text =
CloseButton.Parent = TitleBar
UIStroke_Close = .()
UIStroke_Close.Color = .(, , )
UIStroke_Close.Transparency =
UIStroke_Close.Thickness =
UIStroke_Close.Parent = CloseButton
ContentFrame = .()
ContentFrame.Size = .(, , , )
ContentFrame.Position = .(, , , )
ContentFrame.BackgroundColor3 = .(, , )
ContentFrame.BorderSizePixel =
ContentFrame.Parent = MainFrame
ScriptListPanel = .()
ScriptListPanel.Size = .(, , , )
ScriptListPanel.Position = .(, , , )
ScriptListPanel.BackgroundColor3 = .(, , )
ScriptListPanel.BorderSizePixel =
ScriptListPanel.Parent = ContentFrame
ScriptListTitle = .()
ScriptListTitle.Size = .(, , , )
ScriptListTitle.Position = .(, , , )
ScriptListTitle.BackgroundColor3 = .(, , )
ScriptListTitle.TextColor3 = .(, , )
ScriptListTitle.Font = .Font.SourceSansBold
ScriptListTitle.TextSize =
ScriptListTitle.Text =
ScriptListTitle.Parent = ScriptListPanel
ScriptListScrollingFrame = .()
ScriptListScrollingFrame.Size = .(, , , )
ScriptListScrollingFrame.Position = .(, , , )
ScriptListScrollingFrame.BackgroundColor3 = .(, , )
ScriptListScrollingFrame.BorderSizePixel =
ScriptListScrollingFrame.CanvasSize = .(, , , )
ScriptListScrollingFrame.ScrollBarThickness =
ScriptListScrollingFrame.ScrollBarImageColor3 = .(, , )
ScriptListScrollingFrame.Parent = ScriptListPanel
UIListLayout_Scripts = .()
UIListLayout_Scripts.FillDirection = .FillDirection.Vertical
UIListLayout_Scripts.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout_Scripts.Padding = .(, )
UIListLayout_Scripts.Parent = ScriptListScrollingFrame
ScriptListButtonsFrame = .()
ScriptListButtonsFrame.Size = .(, , , )
ScriptListButtonsFrame.Position = .(, , , )
ScriptListButtonsFrame.BackgroundColor3 = .(, , )
ScriptListButtonsFrame.BorderSizePixel =
ScriptListButtonsFrame.Parent = ScriptListPanel
UIListLayout_ListButtons = .()
UIListLayout_ListButtons.FillDirection = .FillDirection.Horizontal
UIListLayout_ListButtons.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout_ListButtons.VerticalAlignment = .VerticalAlignment.Center
UIListLayout_ListButtons.Padding = .(, )
UIListLayout_ListButtons.Parent = ScriptListButtonsFrame
NewScriptButton = .()
NewScriptButton.Size = .(, , , )
NewScriptButton.BackgroundTransparency =
NewScriptButton.TextColor3 = .(, , )
NewScriptButton.Font = .Font.SourceSansBold
NewScriptButton.TextSize =
NewScriptButton.Text =
NewScriptButton.Parent = ScriptListButtonsFrame
UIStroke_New = .()
UIStroke_New.Color = .(, , )
UIStroke_New.Transparency =
UIStroke_New.Thickness =
UIStroke_New.Parent = NewScriptButton
LoadSelectedButton = .()
LoadSelectedButton.Size = .(, , , )
LoadSelectedButton.BackgroundTransparency =
LoadSelectedButton.TextColor3 = .(, , )
LoadSelectedButton.Font = .Font.SourceSansBold
LoadSelectedButton.TextSize =
LoadSelectedButton.Text =
LoadSelectedButton.Parent = ScriptListButtonsFrame
UIStroke_Load = .()
UIStroke_Load.Color = .(, , )
UIStroke_Load.Transparency =
UIStroke_Load.Thickness =
UIStroke_Load.Parent = LoadSelectedButton
DeleteSelectedButton = .()
DeleteSelectedButton.Size = .(, , , )
DeleteSelectedButton.BackgroundTransparency =
DeleteSelectedButton.TextColor3 = .(, , )
DeleteSelectedButton.Font = .Font.SourceSansBold
DeleteSelectedButton.TextSize =
DeleteSelectedButton.Text =
DeleteSelectedButton.Parent = ScriptListButtonsFrame
UIStroke_Delete = .()
UIStroke_Delete.Color = .(, , )
UIStroke_Delete.Transparency =
UIStroke_Delete.Thickness =
UIStroke_Delete.Parent = DeleteSelectedButton
EditorPanel = .()
EditorPanel.Size = .(, , , )
EditorPanel.Position = .(, , , )
EditorPanel.BackgroundColor3 = .(, , )
EditorPanel.BorderSizePixel =
EditorPanel.Parent = ContentFrame
ScriptNameTextBox = .()
ScriptNameTextBox.Size = .(, , , )
ScriptNameTextBox.Position = .(, , , )
ScriptNameTextBox.BackgroundColor3 = .(, , )
ScriptNameTextBox.TextColor3 = .(, , )
ScriptNameTextBox.Font = .Font.SourceSansBold
ScriptNameTextBox.TextSize =
ScriptNameTextBox.TextXAlignment = .TextXAlignment.Left
ScriptNameTextBox.Text =
ScriptNameTextBox.PlaceholderText =
ScriptNameTextBox.Parent = EditorPanel
CodeTextBox = .()
CodeTextBox.Size = .(, , , )
CodeTextBox.Position = .(, , , )
CodeTextBox.BackgroundColor3 = .(, , )
CodeTextBox.TextColor3 = .(, , )
CodeTextBox.Font = .Font.Code
CodeTextBox.TextSize =
CodeTextBox.TextXAlignment = .TextXAlignment.Left
CodeTextBox.TextYAlignment = .TextYAlignment.Top
CodeTextBox.MultiLine =
CodeTextBox.ClearTextOnFocus =
CodeTextBox.PlaceholderText =
CodeTextBox.Parent = EditorPanel
EditorButtonsFrame = .()
EditorButtonsFrame.Size = .(, , , )
EditorButtonsFrame.Position = .(, , , )
EditorButtonsFrame.BackgroundColor3 = .(, , )
EditorButtonsFrame.BorderSizePixel =
EditorButtonsFrame.Parent = EditorPanel
UIListLayout_EditorButtons = .()
UIListLayout_EditorButtons.FillDirection = .FillDirection.Horizontal
UIListLayout_EditorButtons.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout_EditorButtons.VerticalAlignment = .VerticalAlignment.Center
UIListLayout_EditorButtons.Padding = .(, )
UIListLayout_EditorButtons.Parent = EditorButtonsFrame
ExecuteButton = .()
ExecuteButton.Size = .(, , , )
ExecuteButton.BackgroundTransparency =
ExecuteButton.TextColor3 = .(, , )
ExecuteButton.Font = .Font.SourceSansBold
ExecuteButton.TextSize =
ExecuteButton.Text =
ExecuteButton.Parent = EditorButtonsFrame
UIStroke_Execute = .()
UIStroke_Execute.Color = .(, , )
UIStroke_Execute.Transparency =
UIStroke_Execute.Thickness =
UIStroke_Execute.Parent = ExecuteButton
SaveCurrentButton = .()
SaveCurrentButton.Size = .(, , , )
SaveCurrentButton.BackgroundTransparency =
SaveCurrentButton.TextColor3 = .(, , )
SaveCurrentButton.Font = .Font.SourceSansBold
SaveCurrentButton.TextSize =
SaveCurrentButton.Text =
SaveCurrentButton.Parent = EditorButtonsFrame
UIStroke_SaveCurrent = .()
UIStroke_SaveCurrent.Color = .(, , )
UIStroke_SaveCurrent.Transparency =
UIStroke_SaveCurrent.Thickness =
UIStroke_SaveCurrent.Parent = SaveCurrentButton
ClearEditorButton = .()
ClearEditorButton.Size = .(, , , )
ClearEditorButton.BackgroundTransparency =
ClearEditorButton.TextColor3 = .(, , )
ClearEditorButton.Font = .Font.SourceSansBold
ClearEditorButton.TextSize =
ClearEditorButton.Text =
ClearEditorButton.Parent = EditorButtonsFrame
UIStroke_Clear = .()
UIStroke_Clear.Color = .(, , )
UIStroke_Clear.Transparency =
UIStroke_Clear.Thickness =
UIStroke_Clear.Parent = ClearEditorButton
SavedScriptsFolder = ScreenGui:()
SavedScriptsFolder
SavedScriptsFolder = .()
SavedScriptsFolder.Name =
SavedScriptsFolder.Parent = ScreenGui
SelectedScriptValue = .()
SelectedScriptValue.Name =
SelectedScriptValue.Value =
SelectedScriptValue.Parent = ScreenGui
currentSelectedScriptButton =
originalFrameSize = MainFrame.Size
minimizedSize = .(MainFrame.Size.X.Scale, MainFrame.Size.X.Offset, TitleBar.Size.Y.Scale, TitleBar.Size.Y.Offset)
isMinimized =
()
_, child (ScriptListScrollingFrame:())
child:()
child:()
scriptNames = {}
_, scriptValue (SavedScriptsFolder:())
scriptValue:()
.(scriptNames, scriptValue.Name)
.(scriptNames)
newCanvasY =
_, scriptName (scriptNames)
scriptButton = .()
scriptButton.Name = scriptName
scriptButton.Size = .(, , , )
scriptButton.BackgroundTransparency =
scriptButton.TextColor3 = .(, , )
scriptButton.Font = .Font.SourceSans
scriptButton.TextSize =
scriptButton.TextXAlignment = .TextXAlignment.Left
scriptButton.Text = .. scriptName
scriptButton.Parent = ScriptListScrollingFrame
UICorner_ScriptButton = .()
UICorner_ScriptButton.CornerRadius = .(, )
UICorner_ScriptButton.Parent = scriptButton
UIStroke_ScriptButton = .()
UIStroke_ScriptButton.Color = .(, , )
UIStroke_ScriptButton.Transparency =
UIStroke_ScriptButton.Thickness =
UIStroke_ScriptButton.Parent = scriptButton
scriptButton.MouseButton1Click:(()
currentSelectedScriptButton
currentSelectedScriptButton.BackgroundTransparency =
currentSelectedScriptButton.UIStroke.Transparency =
scriptButton.BackgroundTransparency =
scriptButton.UIStroke.Transparency =
currentSelectedScriptButton = scriptButton
SelectedScriptValue.Value = scriptName
)
newCanvasY = newCanvasY + + UIListLayout_Scripts.Padding.Offset
ScriptListScrollingFrame.CanvasSize = .(, , , newCanvasY)
(scriptName)
scriptValue = SavedScriptsFolder:(scriptName)
scriptValue scriptValue:()
CodeTextBox.Text = scriptValue.Value
ScriptNameTextBox.Text = scriptName
SelectedScriptValue.Value = scriptName
currentSelectedScriptButton
currentSelectedScriptButton.BackgroundTransparency =
currentSelectedScriptButton.UIStroke.Transparency =
button = ScriptListScrollingFrame:(scriptName)
button
button.BackgroundTransparency =
button.UIStroke.Transparency =
currentSelectedScriptButton = button
(scriptName, scriptContent)
existingScript = SavedScriptsFolder:(scriptName)
existingScript existingScript:()
existingScript.Value = scriptContent
newScriptValue = .()
newScriptValue.Name = scriptName
newScriptValue.Value = scriptContent
newScriptValue.Parent = SavedScriptsFolder
()
(scriptName)
(scriptName)
scriptValue = SavedScriptsFolder:(scriptName)
scriptValue scriptValue:()
scriptValue:()
()
SelectedScriptValue.Value == scriptName
CodeTextBox.Text =
ScriptNameTextBox.Text =
SelectedScriptValue.Value =
currentSelectedScriptButton =
ExecuteButton.MouseButton1Click:(()
success, err = (()
func = (CodeTextBox.Text)
func
()
()
)
success
( .. (err))
)
SaveCurrentButton.MouseButton1Click:(()
scriptName = ScriptNameTextBox.Text:(, ):(, )
scriptName == scriptName ==
namePrompt = .()
namePrompt.Size = .(, , , )
namePrompt.Position = .(, -, , -)
namePrompt.BackgroundColor3 = .(, , )
namePrompt.TextColor3 = .(, , )
namePrompt.Text =
namePrompt.PlaceholderText =
namePrompt.Font = .Font.SourceSansBold
namePrompt.TextSize =
namePrompt.Parent = ScreenGui
namePrompt.ZIndex =
UICorner_Prompt = .()
UICorner_Prompt.CornerRadius = .(, )
UICorner_Prompt.Parent = namePrompt
UIStroke_Prompt = .()
UIStroke_Prompt.Color = .(, , )
UIStroke_Prompt.Transparency =
UIStroke_Prompt.Thickness =
UIStroke_Prompt.Parent = namePrompt
namePrompt.FocusLost:((enterPressed)
enterPressed
newName = namePrompt.Text:(, ):(, )
newName ~=
(newName, CodeTextBox.Text)
namePrompt:()
)
namePrompt:()
(scriptName, CodeTextBox.Text)
)
ClearEditorButton.MouseButton1Click:(()
CodeTextBox.Text =
ScriptNameTextBox.Text =
SelectedScriptValue.Value =
currentSelectedScriptButton
currentSelectedScriptButton.BackgroundTransparency =
currentSelectedScriptButton.UIStroke.Transparency =
currentSelectedScriptButton =
)
NewScriptButton.MouseButton1Click:(()
CodeTextBox.Text =
ScriptNameTextBox.Text =
SelectedScriptValue.Value =
currentSelectedScriptButton
currentSelectedScriptButton.BackgroundTransparency =
currentSelectedScriptButton.UIStroke.Transparency =
currentSelectedScriptButton =
)
LoadSelectedButton.MouseButton1Click:(()
scriptName = SelectedScriptValue.Value
scriptName ~=
(scriptName)
)
DeleteSelectedButton.MouseButton1Click:(()
scriptName = SelectedScriptValue.Value
scriptName ~=
(scriptName)
)
MinimizeButton.MouseButton1Click:(()
isMinimized
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
TweenService:(MainFrame, tweenInfo, {Size = originalFrameSize}):()
ContentFrame.Visible =
isMinimized =
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
TweenService:(MainFrame, tweenInfo, {Size = minimizedSize}):()
ContentFrame.Visible =
isMinimized =
)
CloseButton.MouseButton1Click:(()
ScreenGui:()
)
()
dragging
dragInput
dragStart
startPos
TitleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.Ended
dragging =
)
)
TitleBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragging
delta = input.Position - dragStart
MainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
) منفذ lua مجاني

Universal