--[[
Moranguete 2025 Gui - Executor GUI moderno/futurista (Neon Verde)
]]
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local COMMANDS = {
"RESET",
"NOCLIP",
"INVISIBLE",
"INFINITEJUMP",
"TELEPORT TOOL",
"DEV UZI BLOCK",
"KNIFE BLOCK",
"GOD MODE",
"ESP ALL NPC'S",
"ESP ALL PLAYERS",
"ESP ALL ITEMS",
"BRING ALL ITEMS"
}
-- Funções dos comandos
local commandFunctions = {}
-- RESET
commandFunctions["RESET"] = function()
if LocalPlayer.Character then
LocalPlayer.Character:BreakJoints()
end
end
-- NOCLIP
local noclipConnection
local noclipActive = false
commandFunctions["NOCLIP"] = function()
noclipActive = not noclipActive
if noclipActive then
if noclipConnection then noclipConnection:Disconnect() end
noclipConnection = RunService.Stepped:Connect(function()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
for k, v in LocalPlayer.Character:GetDescendants() do
if v:IsA("BasePart") then
v.CanCollide = false
end
end
end
end)
else
if noclipConnection then noclipConnection:Disconnect() end
if LocalPlayer.Character then
for k, v in LocalPlayer.Character:GetDescendants() do
if v:IsA("BasePart") then
v.CanCollide = true
end
end
end
end
end
-- INVISIBLE
commandFunctions["INVISIBLE"] = function()
if LocalPlayer.Character then
for k, v in LocalPlayer.Character:GetDescendants() do
if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
v.Transparency = 1
end
if v:IsA("Decal") then
v.Transparency = 1
end
end
end
end
-- INFINITEJUMP
local infJumpActive = false
local infJumpConnection
commandFunctions["INFINITEJUMP"] = function()
infJumpActive = not infJumpActive
if infJumpActive then
if infJumpConnection then infJumpConnection:Disconnect() end
infJumpConnection = UserInputService.JumpRequest:Connect(function()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidSt
ateType.Jumping)
end
end)
else
if infJumpConnection then infJumpConnection:Disconnect() end
end
end
-- TELEPORT TOOL
commandFunctions["TELEPORT TOOL"] = function()
-- Cria uma ferramenta de teleporte simples
if not LocalPlayer.Backpack:FindFirstChild("TeleportTool") then
local tool = Instance.new("Tool")
tool.Name = "TeleportTool"
tool.RequiresHandle = false
tool.CanBeDropped = false
tool.Parent = LocalPlayer.Backpack
tool.Activated:Connect(function()
local mouse = LocalPlayer:GetMouse()
if mouse and mouse.Hit then
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
LocalPlayer.Character.HumanoidRootPart.CFrame = mouse.Hit +
Vector3.new(0,3,0)
end
end
end)
end
end
-- DEV UZI BLOCK
commandFunctions["DEV UZI BLOCK"] = function()
if not LocalPlayer.Backpack:FindFirstChild("DevUziBlock") then
local tool = Instance.new("Tool")
tool.Name = "DevUziBlock"
tool.RequiresHandle = true
tool.CanBeDropped = false
-- Criar bloco Uzi
local handle = Instance.new("Part")
handle.Name = "Handle"
handle.Size = Vector3.new(1.5, 0.6, 2)
handle.Color = Color3.fromRGB(30, 30, 30)
handle.Material = Enum.Material.Metal
handle.TopSurface = Enum.SurfaceType.Smooth
handle.BottomSurface = Enum.SurfaceType.Smooth
handle.Parent = tool
-- Detalhe neon verde
local neon = Instance.new("Part")
neon.Name = "Neon"
neon.Size = Vector3.new(0.2, 0.2, 1.2)
neon.Color = Color3.fromRGB(0,255,80)
neon.Material = Enum.Material.Neon
neon.Anchored = false
neon.CanCollide = false
neon.Parent = tool
local weld = Instance.new("WeldConstraint")
weld.Part0 = handle
weld.Part1 = neon
weld.Parent = handle
neon.CFrame = handle.CFrame * CFrame.new(0.6,0,0)
-- Sons de tiro
local shootSound = Instance.new("Sound")
shootSound.SoundId = "rbxassetid://138087017" -- som de tiro genérico
shootSound.Volume = 1
shootSound.Parent = handle
-- Script de disparo
local canShoot = true
tool.Activated:Connect(function()
if not canShoot then return end
canShoot = false
shootSound:Play()
-- Raycast simples
local mouse = LocalPlayer:GetMouse()
local origin = handle.Position
local direction = (mouse.Hit.Position - origin).Unit * 200
local raycastParams = RaycastParams.new()
raycastParams.FilterDescendantsInstances = {LocalPlayer.Character}
raycastParams.FilterType = Enum.RaycastFilterType.Blacklist
local result = Workspace:Raycast(origin, direction, raycastParams)
if result and result.Instance then
local hit = result.Instance
local model = hit:FindFirstAncestorOfClass("Model")
if model and model:FindFirstChildOfClass("Humanoid") then
model:FindFirstChildOfClass("Humanoid").Health = 0
end
end
-- efeito visual
local beam = Instance.new("Part")
beam.Anchored = true
beam.CanCollide = false
beam.Material = Enum.Material.Neon
beam.Color = Color3.fromRGB(0,255,80)
beam.Size = Vector3.new(0.15,0.15,(result and (result.Position-
origin).Magnitude) or 200)
beam.CFrame = CFrame.new(origin, origin + direction) * CFrame.new(0,0,-
beam.Size.Z/2)
beam.Parent = Workspace
game:GetService("Debris"):AddItem(beam, 0.15)
task.wait(0.15)
canShoot = true
end)
tool.Parent = LocalPlayer.Backpack
game.StarterGui:SetCore("SendNotification", {
Title = "Moranguete 2025 Gui";
Text = "DEV UZI BLOCK adicionada ao inventário!";
Duration = 2;
})
else
game.StarterGui:SetCore("SendNotification", {
Title = "Moranguete 2025 Gui";
Text = "Você já possui a DEV UZI BLOCK!";
Duration = 2;
})
end
end
-- KNIFE BLOCK
commandFunctions["KNIFE BLOCK"] = function()
if not LocalPlayer.Backpack:FindFirstChild("KnifeBlock") then
local tool = Instance.new("Tool")
tool.Name = "KnifeBlock"
tool.RequiresHandle = true
tool.CanBeDropped = false
-- Criar bloco faca
local handle = Instance.new("Part")
handle.Name = "Handle"
handle.Size = Vector3.new(0.3, 0.3, 2)
handle.Color = Color3.fromRGB(60, 60, 60)
handle.Material = Enum.Material.Metal
handle.TopSurface = Enum.SurfaceType.Smooth
handle.BottomSurface = Enum.SurfaceType.Smooth
handle.Parent = tool
-- Detalhe neon verde
local neon = Instance.new("Part")
neon.Name = "Neon"
neon.Size = Vector3.new(0.1, 0.1, 1.2)
neon.Color = Color3.fromRGB(0,255,80)
neon.Material = Enum.Material.Neon
neon.Anchored = false
neon.CanCollide = false
neon.Parent = tool
local weld = Instance.new("WeldConstraint")
weld.Part0 = handle
weld.Part1 = neon
weld.Parent = handle
neon.CFrame = handle.CFrame * CFrame.new(0,0,0.5)
-- Script de dano ao tocar
handle.Touched:Connect(function(hit)
local model = hit:FindFirstAncestorOfClass("Model")
if model and model ~= LocalPlayer.Character and
model:FindFirstChildOfClass("Humanoid") then
model:FindFirstChildOfClass("Humanoid").Health = 0
end
end)
tool.Parent = LocalPlayer.Backpack
game.StarterGui:SetCore("SendNotification", {
Title = "Moranguete 2025 Gui";
Text = "KNIFE BLOCK adicionada ao inventário!";
Duration = 2;
})
else
game.StarterGui:SetCore("SendNotification", {
Title = "Moranguete 2025 Gui";
Text = "Você já possui a KNIFE BLOCK!";
Duration = 2;
})
end
end
-- GOD MODE
commandFunctions["GOD MODE"] = function()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = math.huge
LocalPlayer.Character:FindFirstChildOfClass("Humanoid").MaxHealth =
math.huge
end
end
-- ESP ALL NPC'S (apenas highlight em NPCs)
commandFunctions["ESP ALL NPC'S"] = function()
for k, v in Workspace:GetDescendants() do
if v:IsA("Model") and v:FindFirstChildOfClass("Humanoid") and v ~=
LocalPlayer.Character and not Players:GetPlayerFromCharacter(v) then
if not v:FindFirstChild("MorangueteESP") then
local highlight = Instance.new("Highlight")
highlight.Name = "MorangueteESP"
highlight.FillColor = Color3.fromRGB(0,255,80)
highlight.OutlineColor = Color3.fromRGB(0,255,0)
highlight.Parent = v
end
end
end
end
-- ESP ALL PLAYERS
commandFunctions["ESP ALL PLAYERS"] = function()
for k, player in Players:GetPlayers() do
if player ~= LocalPlayer and player.Character then
if not player.Character:FindFirstChild("MorangueteESP") then
local highlight = Instance.new("Highlight")
highlight.Name = "MorangueteESP"
highlight.FillColor = Color3.fromRGB(0,255,255)
highlight.OutlineColor = Color3.fromRGB(0,255,80)
highlight.Parent = player.Character
end
end
end
end
-- ESP ALL ITEMS (apenas Tools que podem ir ao inventário)
commandFunctions["ESP ALL ITEMS"] = function()
for k, v in Workspace:GetDescendants() do
if v:IsA("Tool") then
if not v:FindFirstChild("MorangueteESP") then
local highlight = Instance.new("Highlight")
highlight.Name = "MorangueteESP"
highlight.FillColor = Color3.fromRGB(0,255,80)
highlight.OutlineColor = Color3.fromRGB(0,255,0)
highlight.Parent = v
end
end
end
end
-- BRING ALL ITEMS (tenta mover ferramentas do workspace para o player)
commandFunctions["BRING ALL ITEMS"] = function()
for k, v in Workspace:GetDescendants() do
if v:IsA("Tool") then
v.Parent = LocalPlayer.Backpack
end
end
end
-- Função para criar o executor GUI moderno
local function createExecutorGui()
-- Criar ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "Moranguete2025Gui"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
-- Criar Frame principal
local frame = Instance.new("Frame")
frame.Name = "MainFrame"
frame.Size = UDim2.new(0, 420, 0, 260)
frame.Position = UDim2.new(0.5, -230, 0.5, -130)
frame.BackgroundColor3 = Color3.fromRGB(10, 24, 10) -- Preto esverdeado
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = false
frame.ClipsDescendants = true
frame.Parent = screenGui
-- Efeito de sombra
local shadow = Instance.new("ImageLabel")
shadow.Name = "Shadow"
shadow.BackgroundTransparency = 1
shadow.Image = "rbxassetid://1316045217"
shadow.ImageTransparency = 0.6
shadow.Size = UDim2.new(1, 40, 1, 40)
shadow.Position = UDim2.new(0, -20, 0, -20)
shadow.ZIndex = 0
shadow.Parent = frame
-- Cantos arredondados
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 18)
corner.Parent = frame
-- Gradiente neon verde
local gradient = Instance.new("UIGradient")
gradient.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 80)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(10, 24, 10)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 0))
}
gradient.Rotation = 45
gradient.Parent = frame
-- Título
local title = Instance.new("TextLabel")
title.Name = "Title"
title.Size = UDim2.new(1, 0, 0, 36)
title.Position = UDim2.new(0, 0, 0, 0)
title.BackgroundColor3 = Color3.fromRGB(18, 40, 18)
title.BorderSizePixel = 0
title.Text = "Moranguete 2025 Gui"
title.Font = Enum.Font.GothamBold
title.TextSize = 22
title.TextColor3 = Color3.fromRGB(0, 255, 80)
title.TextStrokeTransparency = 0.7
title.Parent = frame
local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 12)
titleCorner.Parent = title
-- Caixa de código
local codeBox = Instance.new("TextBox")
codeBox.Name = "CodeBox"
codeBox.Size = UDim2.new(1, -24, 0, 140)
codeBox.Position = UDim2.new(0, 12, 0, 48)
codeBox.BackgroundColor3 = Color3.fromRGB(20, 40, 20)
codeBox.BorderSizePixel = 0
codeBox.Text = "-- Cole seu código Lua aqui"
codeBox.Font = Enum.Font.Code
codeBox.TextSize = 16
codeBox.TextColor3 = Color3.fromRGB(0, 255, 80)
codeBox.TextXAlignment = Enum.TextXAlignment.Left
codeBox.TextYAlignment = Enum.TextYAlignment.Top
codeBox.ClearTextOnFocus = false
codeBox.MultiLine = true
codeBox.ClipsDescendants = true
codeBox.TextWrapped = false
codeBox.TextEditable = true
codeBox.Parent = frame
local codeCorner = Instance.new("UICorner")
codeCorner.CornerRadius = UDim.new(0, 10)
codeCorner.Parent = codeBox
-- Glow/efeito neon na caixa de código
local codeStroke = Instance.new("UIStroke")
codeStroke.Color = Color3.fromRGB(0, 255, 80)
codeStroke.Thickness = 2
codeStroke.Transparency = 0.5
codeStroke.Parent = codeBox
-- Botão "Executar"
local buttonHeight = 38
local buttonWidth = 140
local executeBtn = Instance.new("TextButton")
executeBtn.Name = "ExecuteButton"
executeBtn.Size = UDim2.new(0, buttonWidth, 0, buttonHeight)
executeBtn.Position = UDim2.new(0, 16, 1, -buttonHeight - 16)
executeBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 80)
executeBtn.Text = "EXECUTAR"
executeBtn.Font = Enum.Font.GothamBlack
executeBtn.TextSize = 20
executeBtn.TextColor3 = Color3.fromRGB(10, 24, 10)
executeBtn.AutoButtonColor = true
executeBtn.Parent = frame
local execCorner = Instance.new("UICorner")
execCorner.CornerRadius = UDim.new(0, 10)
execCorner.Parent = executeBtn
local execStroke = Instance.new("UIStroke")
execStroke.Color = Color3.fromRGB(0, 255, 80)
execStroke.Thickness = 2
execStroke.Transparency = 0.2
execStroke.Parent = executeBtn
-- Efeito hover neon no botão
executeBtn.MouseEnter:Connect(function()
executeBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
execStroke.Color = Color3.fromRGB(0, 255, 80)
end)
executeBtn.MouseLeave:Connect(function()
executeBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 80)
execStroke.Color = Color3.fromRGB(0, 255, 0)
end)
-- Botão "Commands" ao lado do executor
local commandsBtn = Instance.new("TextButton")
commandsBtn.Name = "CommandsButton"
commandsBtn.Size = UDim2.new(0, 120, 0, buttonHeight)
commandsBtn.Position = UDim2.new(0, buttonWidth + 32, 1, -buttonHeight - 16)
commandsBtn.BackgroundColor3 = Color3.fromRGB(10, 40, 10)
commandsBtn.Text = "COMMANDS"
commandsBtn.Font = Enum.Font.GothamBold
commandsBtn.TextSize = 18
commandsBtn.TextColor3 = Color3.fromRGB(0, 255, 80)
commandsBtn.AutoButtonColor = true
commandsBtn.Parent = frame
local cmdCorner = Instance.new("UICorner")
cmdCorner.CornerRadius = UDim.new(0, 10)
cmdCorner.Parent = commandsBtn
local cmdStroke = Instance.new("UIStroke")
cmdStroke.Color = Color3.fromRGB(0, 255, 80)
cmdStroke.Thickness = 2
cmdStroke.Transparency = 0.2
cmdStroke.Parent = commandsBtn
commandsBtn.MouseEnter:Connect(function()
commandsBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 80)
commandsBtn.TextColor3 = Color3.fromRGB(10, 24, 10)
end)
commandsBtn.MouseLeave:Connect(function()
commandsBtn.BackgroundColor3 = Color3.fromRGB(10, 40, 10)
commandsBtn.TextColor3 = Color3.fromRGB(0, 255, 80)
end)
-- Painel de comandos (ScrollingFrame)
local commandsPanel = Instance.new("Frame")
commandsPanel.Name = "CommandsPanel"
commandsPanel.Size = UDim2.new(0, 220, 0, 320)
commandsPanel.Position = UDim2.new(0, frame.Size.X.Offset + 30, 0, 0)
commandsPanel.BackgroundColor3 = Color3.fromRGB(10, 24, 10)
commandsPanel.BorderSizePixel = 0
commandsPanel.Visible = false
commandsPanel.Active = true
commandsPanel.Parent = screenGui
commandsPanel.ZIndex = 20
local panelCorner = Instance.new("UICorner")
panelCorner.CornerRadius = UDim.new(0, 18)
panelCorner.Parent = commandsPanel
local panelShadow = Instance.new("ImageLabel")
panelShadow.Name = "Shadow"
panelShadow.BackgroundTransparency = 1
panelShadow.Image = "rbxassetid://1316045217"
panelShadow.ImageTransparency = 0.7
panelShadow.Size = UDim2.new(1, 40, 1, 40)
panelShadow.Position = UDim2.new(0, -20, 0, -20)
panelShadow.ZIndex = 19
panelShadow.Parent = commandsPanel
local panelGradient = Instance.new("UIGradient")
panelGradient.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 80)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(10, 24, 10)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 0))
}
panelGradient.Rotation = 90
panelGradient.Parent = commandsPanel
-- Título do painel de comandos
local panelTitle = Instance.new("TextLabel")
panelTitle.Name = "PanelTitle"
panelTitle.Size = UDim2.new(1, 0, 0, 36)
panelTitle.Position = UDim2.new(0, 0, 0, 0)
panelTitle.BackgroundColor3 = Color3.fromRGB(18, 40, 18)
panelTitle.BorderSizePixel = 0
panelTitle.Text = "Comandos"
panelTitle.Font = Enum.Font.GothamBold
panelTitle.TextSize = 20
panelTitle.TextColor3 = Color3.fromRGB(0, 255, 80)
panelTitle.TextStrokeTransparency = 0.7
panelTitle.Parent = commandsPanel
local panelTitleCorner = Instance.new("UICorner")
panelTitleCorner.CornerRadius = UDim.new(0, 12)
panelTitleCorner.Parent = panelTitle
-- ScrollingFrame para os comandos
local scrolling = Instance.new("ScrollingFrame")
scrolling.Name = "CommandsList"
scrolling.Size = UDim2.new(1, -16, 1, -52)
scrolling.Position = UDim2.new(0, 8, 0, 44)
scrolling.BackgroundColor3 = Color3.fromRGB(14, 30, 14)
scrolling.BorderSizePixel = 0
scrolling.CanvasSize = UDim2.new(0, 0, 0, #COMMANDS * 44)
scrolling.ScrollBarThickness = 8
scrolling.ScrollingDirection = Enum.ScrollingDirection.Y
scrolling.Parent = commandsPanel
scrolling.ZIndex = 21
local scrollCorner = Instance.new("UICorner")
scrollCorner.CornerRadius = UDim.new(0, 10)
scrollCorner.Parent = scrolling
-- Adiciona botões de comando
for i, cmd in COMMANDS do
local cmdBtn = Instance.new("TextButton")
cmdBtn.Name = "Cmd_" .. cmd:gsub(" ", "")
cmdBtn.Size = UDim2.new(1, -8, 0, 36)
cmdBtn.Position = UDim2.new(0, 4, 0, (i-1)*40)
cmdBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 80)
cmdBtn.Text = cmd
cmdBtn.Font = Enum.Font.GothamBold
cmdBtn.TextSize = 18
cmdBtn.TextColor3 = Color3.fromRGB(10, 24, 10)
cmdBtn.AutoButtonColor = true
cmdBtn.Parent = scrolling
cmdBtn.ZIndex = 22
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 8)
btnCorner.Parent = cmdBtn
local btnStroke = Instance.new("UIStroke")
btnStroke.Color = Color3.fromRGB(0, 255, 80)
btnStroke.Thickness = 1
btnStroke.Transparency = 0.2
btnStroke.Parent = cmdBtn
cmdBtn.MouseEnter:Connect(function()
cmdBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
cmdBtn.TextColor3 = Color3.fromRGB(10, 24, 10)
end)
cmdBtn.MouseLeave:Connect(function()
cmdBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 80)
cmdBtn.TextColor3 = Color3.fromRGB(10, 24, 10)
end)
-- Conectar função do comando
cmdBtn.MouseButton1Click:Connect(function()
local func = commandFunctions[cmd]
if func then
func()
end
end)
end
-- Lógica de abrir/fechar painel de comandos
local panelOpen = false
commandsBtn.MouseButton1Click:Connect(function()
panelOpen = not panelOpen
commandsPanel.Visible = panelOpen
end)
-- Lógica de arrastar o painel de comandos
local dragging = false
local dragInput, mousePos, panelPos
panelTitle.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
mousePos = input.Position
panelPos = commandsPanel.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
panelTitle.InputChanged:Connect(function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement
then
local delta = input.Position - mousePos
commandsPanel.Position = UDim2.new(
panelPos.X.Scale, panelPos.X.Offset + delta.X,
panelPos.Y.Scale, panelPos.Y.Offset + delta.Y
)
end
end)
-- Lógica de arrastar o Frame principal
local draggingMain = false
local dragInputMain, mousePosMain, framePosMain
title.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
draggingMain = true
mousePosMain = input.Position
framePosMain = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
draggingMain = false
end
end)
end
end)
title.InputChanged:Connect(function(input)
if draggingMain and input.UserInputType == Enum.UserInputType.MouseMovement
then
local delta = input.Position - mousePosMain
frame.Position = UDim2.new(
framePosMain.X.Scale, framePosMain.X.Offset + delta.X,
framePosMain.Y.Scale, framePosMain.Y.Offset + delta.Y
)
end
end)
-- Lógica do botão "Executar"
executeBtn.MouseButton1Click:Connect(function()
local code = codeBox.Text
-- Tenta executar o código inserido (NÃO USE loadstring EM JOGOS REAIS!)
local func, err = loadstring(code)
if func then
local success, execErr = pcall(func)
if not success then
codeBox.Text = "-- Erro ao executar: " .. tostring(execErr)
end
else
codeBox.Text = "-- Erro de sintaxe: " .. tostring(err)
end
end)
end
-- Cria a primeira GUI ao iniciar
createExecutorGui()