Run it
Copy the script and paste it into your executor.
-- Place this script inside a LocalScript in StarterGui
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "ScriptExecutorGui"
screenGui.Parent = playerGui
-- Create a Frame to hold the UI
frame = .()
frame.Size = .(, , , )
frame.Position = .(, -, , -)
frame.BackgroundColor3 = .(, , )
frame.Parent = screenGui
textBox = .()
textBox.Size = .(, -, , )
textBox.Position = .(, , , )
textBox.Text =
textBox.TextWrapped =
textBox.ClearTextOnFocus =
textBox.MultiLine =
textBox.Font = .Font.SourceSans
textBox.TextSize =
textBox.BackgroundColor3 = .(, , )
textBox.Parent = frame
executeButton = .()
executeButton.Size = .(, , , )
executeButton.Position = .(, -, , -)
executeButton.Text =
executeButton.Font = .Font.SourceSansBold
executeButton.TextSize =
executeButton.BackgroundColor3 = .(, , )
executeButton.TextColor3 = .(, , )
executeButton.Parent = frame
warningLabel = .()
warningLabel.Size = .(, -, , )
warningLabel.Position = .(, , , )
warningLabel.Text =
warningLabel.TextColor3 = .(, , )
warningLabel.BackgroundTransparency =
warningLabel.Font = .Font.SourceSans
warningLabel.TextSize =
warningLabel.Parent = frame
executeButton.MouseButton1Click:(()
scriptCode = textBox.Text
func, err = (scriptCode)
func
success, result = (func)
success
( .. (result))
( .. (err))
)
Execute your script and done!

Universal