-- NEXUS HX HUB - Steal a Brainrot (Loadstring Version)
-- Bordes con gradiente negro → gris
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "NexusHXHub"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 440, 0, 540)
mainFrame.Position = UDim2.new(0.5, -220, 0.5, -270)
mainFrame.BackgroundColor3 = Color3.fromRGB(18, 0, 40)
mainFrame.BorderSizePixel = 0
mainFrame.Parent = screenGui
Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 16)
-- === BORDE CON GRADIENTE NEGRO - GRIS ===
local stroke = Instance.new("UIStroke")
stroke.Thickness = 4
stroke.Color = Color3.fromRGB(255, 255, 255) -- Color base (el gradient lo controla)
stroke.Parent = mainFrame
local gradient = Instance.new("UIGradient")
gradient.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, Color3.fromRGB(30, 30, 30)), -- Gris oscuro
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(80, 80, 80)), -- Gris medio
ColorSequenceKeypoint.new(1, Color3.fromRGB(20, 20, 20)) -- Negro casi puro
}
gradient.Rotation = 45
gradient.Parent = stroke
-- Header
local header = Instance.new("Frame")
header.Size = UDim2.new(1, 0, 0, 60)
header.BackgroundColor3 = Color3.fromRGB(35, 0, 70)
header.Parent = mainFrame
Instance.new("UICorner", header).CornerRadius = UDim.new(0, 16)
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -120, 1, 0)
title.BackgroundTransparency = 1
title.Text = "🔥 NEXUS HX HUB 🔥"
title.TextColor3 = Color3.fromRGB(0, 255, 255)
title.TextScaled = true
title.Font = Enum.Font.Arcade
title.Parent = header
local minBtn = Instance.new("TextButton")
minBtn.Size = UDim2.new(0, 45, 0, 45)
minBtn.Position = UDim2.new(1, -100, 0, 7)
minBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
minBtn.Text = "−"
minBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
minBtn.TextScaled = true
minBtn.Parent = header
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 45, 0, 45)
closeBtn.Position = UDim2.new(1, -50, 0, 7)
closeBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
closeBtn.Text = "✕"
closeBtn.TextColor3 = Color3.fromRGB(255, 60, 60)
closeBtn.TextScaled = true
closeBtn.Parent = header
-- Contenido
local content = Instance.new("ScrollingFrame")
content.Size = UDim2.new(1, -24, 1, -80)
content.Position = UDim2.new(0, 12, 0, 70)
content.BackgroundTransparency = 1
content.ScrollBarThickness = 8
content.CanvasSize = UDim2.new(0, 0, 0, 850)
content.Parent = mainFrame
local uiList = Instance.new("UIListLayout")
uiList.Padding = UDim.new(0, 14)
uiList.Parent = content
local function createButton(text, color, callback)
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(1, 0, 0, 55)
btn.BackgroundColor3 = color
btn.Text = text
btn.TextColor3 = Color3.new(1,1,1)
btn.TextScaled = true
btn.Font = Enum.Font.GothamBold
btn.Parent = content
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 12)
btn.MouseButton1Click:Connect(callback)
return btn
end
-- Botones (igual que antes)
createButton("Auto Play (Auto Steal): OFF", Color3.fromRGB(0, 180, 0), function(self)
self.autoPlay = not (self.autoPlay or false)
self.Text = "Auto Play (Auto Steal): " .. (self.autoPlay and "ON" or "OFF")
self.BackgroundColor3 = self.autoPlay and Color3.fromRGB(0, 220, 0) or Color3.fromRGB(0, 180, 0)
end)
createButton("Aimlock: OFF", Color3.fromRGB(180, 0, 180), function(self)
self.aimlock = not (self.