Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
localPlayer = Players.LocalPlayer
playerGui = localPlayer:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
toggleButton = .()
toggleButton.Name =
toggleButton.Size = .(, , , )
toggleButton.Position = .(, , , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.Text =
toggleButton.TextColor3 = .(, , )
toggleButton.TextSize =
toggleButton.Font = .Font.SourceSansBold
toggleButton.Parent = screenGui
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleButton
mainFrame = .()
mainFrame.Name =
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.ClipsDescendants =
mainFrame.Parent = screenGui
mainUICorner = .()
mainUICorner.CornerRadius = .(, )
mainUICorner.Parent = mainFrame
toggleButton.MouseButton1Click:(()
mainFrame.Visible = mainFrame.Visible
toggleButton.Text = mainFrame.Visible
)
dragging, dragInput, dragStart, startPos
(input)
delta = input.Position - dragStart
mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
mainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
mainFrame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
(input)
)
titleLabel = .()
titleLabel.Name =
titleLabel.Size = .(, -, , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.TextSize =
titleLabel.Font = .Font.SourceSans
titleLabel.TextXAlignment = .TextXAlignment.Center
titleLabel.Parent = mainFrame
closeButton = .()
closeButton.Name =
closeButton.Size = .(, , , )
closeButton.Position = .(, -, , )
closeButton.BackgroundTransparency =
closeButton.Text =
closeButton.TextColor3 = .(, , )
closeButton.TextSize =
closeButton.Font = .Font.SourceSansBold
closeButton.Parent = mainFrame
closeButton.MouseButton1Click:(()
mainFrame.Visible =
toggleButton.Text =
)
codeContainer = .()
codeContainer.Name =
codeContainer.Size = .(, -, , )
codeContainer.Position = .(, , , )
codeContainer.BackgroundColor3 = .(, , )
codeContainer.BorderSizePixel =
codeContainer.Parent = mainFrame
containerUICorner = .()
containerUICorner.CornerRadius = .(, )
containerUICorner.Parent = codeContainer
textBox = .()
textBox.Name =
textBox.Size = .(, -, , -)
textBox.Position = .(, , , )
textBox.BackgroundTransparency =
textBox.Text =
textBox.TextColor3 = .(, , )
textBox.TextSize =
textBox.Font = .Font.Code
textBox.TextXAlignment = .TextXAlignment.Left
textBox.TextYAlignment = .TextYAlignment.Top
textBox.ClearTextOnFocus =
textBox.MultiLine =
textBox.Parent = codeContainer
descLabel = .()
descLabel.Name =
descLabel.Size = .(, -, , )
descLabel.Position = .(, , , -)
descLabel.BackgroundTransparency =
descLabel.Text =
descLabel.TextColor3 = .(, , )
descLabel.TextSize =
descLabel.Font = .Font.SourceSans
descLabel.TextXAlignment = .TextXAlignment.Left
descLabel.Parent = codeContainer
buttonsFrame = .()
buttonsFrame.Name =
buttonsFrame.Size = .(, -, , )
buttonsFrame.Position = .(, , , )
buttonsFrame.BackgroundTransparency =
buttonsFrame.Parent = mainFrame
uiListLayout = .()
uiListLayout.FillDirection = .FillDirection.Horizontal
uiListLayout.HorizontalAlignment = .HorizontalAlignment.Center
uiListLayout.SortOrder = .SortOrder.LayoutOrder
uiListLayout.Padding = .(, )
uiListLayout.Parent = buttonsFrame
(name, text, bgColor, textColor, order)
btn = .()
btn.Name = name
btn.Size = .(, , , )
btn.BackgroundColor3 = bgColor
btn.BorderSizePixel =
btn.Text = text
btn.TextColor3 = textColor
btn.TextSize =
btn.Font = .Font.SourceSansBold
btn.LayoutOrder = order
btn.Parent = buttonsFrame
corner = .()
corner.CornerRadius = .(, )
corner.Parent = btn
btn
btnExecute = (, , .(, , ), .(, , ), )
btnClear = (, , .(, , ), .(, , ), )
btnImport = (, , .(, , ), .(, , ), )
btnExport = (, , .(, , ), .(, , ), )
btnExecute.MouseButton1Click:(()
code = textBox.Text
code ==
fn, err = (code)
fn
.(fn)
(, err)
)
btnClear.MouseButton1Click:(()
textBox.Text =
)
btnImport.MouseButton1Click:(()
textBox.Text =
)
btnExport.MouseButton1Click:(()
setclipboard
(textBox.Text)
descLabel.Text =
descLabel.Text = .. textBox.Text
.()
descLabel.Text =
)
https://devforum.roblox.com/t/script-executor-simple-script-execution/3141932 DevForum Roblox

Universal