Roblox Auto Comandos Delta
- 📅 2026-06-23T22:54:27.678Z
- 👁️ 104 katselukertaa
- 🔓 Julkinen
--// SCRIPT PERSONALIZADO - COMANDOS AUTOMÁTICOS
-- Criado para: Usuário Delta
-- Funcionalidade: Botões que enviam comandos no chat automaticamente
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local TweenService = game:GetService("TweenService")
local player = Players.LocalPlayer
-- Criando a GUI Principal
local gui = Instance.new("ScreenGui")
gui.Name = "ComandosAuto_GUI"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.DisplayOrder = 9999
gui.Parent = player:WaitForChild("PlayerGui")
-- Função para enviar mensagem no chat
local function enviarMensagem(msg)
local channel = TextChatService.TextChannels:FindFirstChild("RBXGeneral")
if channel then
channel:SendAsync(msg)
else
-- Fallback para sistemas de chat antigos
local chatEvent = game:GetService("ReplicatedStorage"):FindFirstChild("DefaultChatSystemChatEvents")
if chatEvent and chatEvent:FindFirstChild("SayMessageRequest") then
chatEvent.SayMessageRequest:FireServer(msg, "All")
else
player:Chat(msg)
end
end
end
--================= BOTÃO FLUTUANTE (ABRIR/FECHAR) =================--
local bubble = Instance.new("TextButton")
bubble.Parent = gui
bubble.Size = UDim2.new(0, 60, 0, 60)
bubble.Position = UDim2.new(0, 20, 0.5, -30)
bubble.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
bubble.Text = "MENU"
bubble.TextSize = 14
bubble.Font = Enum.Font.GothamBold
bubble.TextColor3 = Color3.new(1, 1, 1)
bubble.Draggable = true
bubble.Active = true
local bubbleCorner = Instance.new("UICorner", bubble)
bubbleCorner.CornerRadius = UDim.new(1, 0)
local bubbleStroke = Instance.new("UIStroke", bubble)
bubbleStroke.Thickness = 2
bubbleStroke.Color = Color3.fromRGB(0, 255, 127)
--================= PAINEL PRINCIPAL =================--
local frame = Instance.new("Frame")
frame.Parent = gui
frame.Size = UDim2.new(0, 260, 0, 320)
frame.Position = UDim2.new(0.5, -130, 0.5, -160)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
frame.BackgroundTransparency = 0.1
frame.Visible = false
frame.Active = true
frame.Draggable = true
local frameCorner = Instance.new("UICorner", frame)
frameCorner.CornerRadius = UDim.new(0, 12)
local frameStroke = Instance.new("UIStroke", frame)
frameStroke.Thickness = 2
frameStroke.Color = Color3.fromRGB(0, 255, 127)
-- Título do Painel
local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, 0, 0, 45)
title.BackgroundTransparency = 1
title.Text = "COMANDOS AUTO 🛠️"
title.TextSize = 18
title.Font = Enum.Font.GothamBlack
title.TextColor3 = Color3.new(1, 1, 1)
-- Botão de Fechar no Painel
local closeBtn = Instance.new("TextButton", frame)
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -35, 0, 7)
closeBtn.BackgroundTransparency = 1
closeBtn.Text = "✕"
closeBtn.TextSize = 20
closeBtn.Font = Enum.Font.GothamBold
closeBtn.TextColor3 = Color3.fromRGB(255, 50, 50)
-- Container para os botões (Scrolling)
local scrolling = Instance.new("ScrollingFrame", frame)
scrolling.Size = UDim2.new(1, -20, 1, -65)
scrolling.Position = UDim2.new(0, 10, 0, 50)
scrolling.BackgroundTransparency = 1
scrolling.ScrollBarThickness = 4
scrolling.ScrollBarImageColor3 = Color3.fromRGB(0, 255, 127)
scrolling.CanvasSize = UDim2.new(0, 0, 0, 0)
local layout = Instance.new("UIListLayout", scrolling)
layout.Padding = UDim.new(0, 8)
layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
--================= LISTA DE BOTÕES SOLICITADOS =================--
local buttonsData = {
{name = "💊 Fabricar Remédios", cmd = "//fabricar remédios"},
{name = "📦 Colocar Caixas", cmd = "//colocar caixas"},
{name = "🚚 Entregar Caixas", cmd = "//entregar caixas"},
{name = "📜 Ver Fórmulas", cmd = "//ver fórmulas"},
{name = "🏳️ Render (by defesa)", cmd = "//render (by defesa)"}
}
for _, data in ipairs(buttonsData) do
local btn = Instance.new("TextButton")
btn.Parent = scrolling
btn.Size = UDim2.new(0, 220, 0, 40)
btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
btn.Text = data.name
btn.TextSize = 14
btn.Font = Enum.Font.GothamBold
btn.TextColor3 = Color3.new(1, 1, 1)
btn.AutoButtonColor = true
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8)
local btnStroke = Instance.new("UIStroke", btn)
btnStroke.Thickness = 1
btnStroke.Color = Color3.fromRGB(80, 80, 80)
-- Ação ao clicar no botão
btn.MouseButton1Click:Connect(function()
enviarMensagem(data.cmd)
-- Efeito visual de clique
local originalColor = btn.BackgroundColor3
btn.BackgroundColor3 = Color3.fromRGB(0, 255, 127)
btn.TextColor3 = Color3.fromRGB(0, 0, 0)
task.wait(0.1)
TweenService:Create(btn, TweenInfo.new(0.3), {
BackgroundColor3 = originalColor,
TextColor3 = Color3.new(1, 1, 1)
}):Play()
end)
end
-- Ajustar tamanho do scroll automaticamente
layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
scrolling.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y + 10)
end)
--================= LÓGICA DE INTERFACE =================--
-- Alternar visibilidade do painel
bubble.MouseButton1Click:Connect(function()
frame.Visible = !frame.Visible
end)
closeBtn.MouseButton1Click:Connect(function()
frame.Visible = false
end)
-- Notificação Inicial
print("Script de Comandos Carregado com Sucesso!")