local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Variables de Estado local currentLang = "ES" local colors = {Color3.fromRGB(35, 35, 35), Color3.fromRGB(20, 40, 70), Color3.fromRGB(60, 20, 60)} local colorIdx = 1 local selectedPlayer = nil local LANG_DATA = { ES = {title = "GearStealer", steal = "ROBAR GEAR", all = "ROBAR A TODOS", select = "Selecciona un usuario", search = "Buscar..."}, EN = {title = "GearStealer", steal = "STEAL GEAR", all = "STEAL ALL", select = "Select a user", search = "Search..."} } -- Crear UI local sg = Instance.new("ScreenGui", PlayerGui) sg.Name = "GearStealer_Direct" sg.ResetOnSpawn = false local main = Instance.new("Frame", sg) main.Size = UDim2.new(0, 320, 0, 380) main.Position = UDim2.new(0.5, -160, 0.5, -190) main.BackgroundColor3 = colors[colorIdx] main.BorderSizePixel = 0 main.Active = true main.Draggable = true Instance.new("UICorner", main) -- Título y Config local title = Instance.new("TextLabel", main) title.Size = UDim2.new(1, 0, 0, 40) title.Text = LANG_DATA[currentLang].title title.TextColor3 = Color3.new(1,1,1) title.Font = Enum.Font.GothamBold title.BackgroundTransparency = 1 -- Lista de Jugadores local pList = Instance.new("ScrollingFrame", main) pList.Size = UDim2.new(0.9, 0, 0.45, 0) pList.Position = UDim2.new(0.05, 0, 0.15, 0) pList.BackgroundColor3 = Color3.fromRGB(20,20,20) pList.BorderSizePixel = 0 Instance.new("UIListLayout", pList).Padding = UDim.new(0, 5) -- Botones Principales local function createActionBtn(pos, color, txt) local b = Instance.new("TextButton", main) b.Size = UDim2.new(0.9, 0, 0, 40) b.Position = pos b.BackgroundColor3 = color b.TextColor3 = Color3.new(1,1,1) b.Font = Enum.Font.GothamBold b.Text = txt Instance.new("UICorner", b) return b end local robOneBtn = createActionBtn(UDim2.new(0.05, 0, 0.65, 0), Color3.fromRGB(50, 100, 200), LANG_DATA[currentLang].steal) local robAllBtn = createActionBtn(UDim2.new(0.05, 0, 0.78, 0), Color3.fromRGB(50, 150, 50), LANG_DATA[currentLang].all) -- Funciones de Lógica local function steal(target) if target and target:FindFirstChild("Backpack") then for _, item in pairs(target.Backpack:GetChildren()) do if item:IsA("Tool") then item:Clone().Parent = LocalPlayer.Backpack end end end end local function updateList() for _, v in pairs(pList:GetChildren()) do if v:IsA("TextButton") then v:Destroy() end end for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer then local b = Instance.new("TextButton", pList) b.Size = UDim2.new(1, -10, 0, 30) b.Text = p.Name b.BackgroundColor3 = (selectedPlayer == p) and Color3.fromRGB(100, 100, 100) or Color3.fromRGB(40, 40, 40) b.TextColor3 = Color3.new(1,1,1) Instance.new("UICorner", b) b.MouseButton1Click:Connect(function() selectedPlayer = p updateList() end) end end end -- Eventos robOneBtn.MouseButton1Click:Connect(function() steal(selectedPlayer) end) robAllBtn.MouseButton1Click:Connect(function() for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer then steal(p) end end end) -- Botón de Configuración (Cambia Color e Idioma a la vez) local cfgBtn = Instance.new("TextButton", main) cfgBtn.Size = UDim2.new(0, 30, 0, 30) cfgBtn.Position = UDim2.new(0, 5, 0, 5) cfgBtn.Text = "⚙️" cfgBtn.BackgroundTransparency = 1 cfgBtn.TextColor3 = Color3.new(1,1,1) cfgBtn.MouseButton1Click:Connect(function() colorIdx = (colorIdx % #colors) + 1 main.BackgroundColor3 = colors[colorIdx] currentLang = (currentLang == "ES") and "EN" or "ES" title.Text = LANG_DATA[currentLang].title robOneBtn.Text = LANG_DATA[currentLang].steal robAllBtn.Text = LANG_DATA[currentLang].all end) -- Controles de Ventana (X, -, +) local closeBtn = Instance.new("TextButton", main) closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -35, 0, 5) closeBtn.Text = "X" closeBtn.BackgroundColor3 = Color3.fromRGB(150, 50, 50) Instance.new("UICorner", closeBtn) local openBtn = Instance.new("TextButton", sg) openBtn.Size = UDim2.new(0, 40, 0, 40) openBtn.Position = UDim2.new(0, 10, 0.5, -20) openBtn.Text = "+" openBtn.Visible = false Instance.new("UICorner", openBtn) closeBtn.MouseButton1Click:Connect(function() main.Visible = false; openBtn.Visible = true end) openBtn.MouseButton1Click:Connect(function() main.Visible = true; openBtn.Visible = false end) -- Inicializar spawn(function() while true do updateList() task.wait(3) end end)