1. -- NEXUS HX HUB - Steal a Brainrot (Loadstring Version)
  2. -- Bordes con gradiente negro → gris
  3.  
  4. local Players = game:GetService("Players")
  5. local UserInputService = game:GetService("UserInputService")
  6.  
  7. local player = Players.LocalPlayer
  8. local playerGui = player:WaitForChild("PlayerGui")
  9.  
  10. local screenGui = Instance.new("ScreenGui")
  11. screenGui.Name = "NexusHXHub"
  12. screenGui.ResetOnSpawn = false
  13. screenGui.Parent = playerGui
  14.  
  15. local mainFrame = Instance.new("Frame")
  16. mainFrame.Size = UDim2.new(0, 440, 0, 540)
  17. mainFrame.Position = UDim2.new(0.5, -220, 0.5, -270)
  18. mainFrame.BackgroundColor3 = Color3.fromRGB(18, 0, 40)
  19. mainFrame.BorderSizePixel = 0
  20. mainFrame.Parent = screenGui
  21.  
  22. Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 16)
  23.  
  24. -- === BORDE CON GRADIENTE NEGRO - GRIS ===
  25. local stroke = Instance.new("UIStroke")
  26. stroke.Thickness = 4
  27. stroke.Color = Color3.fromRGB(255, 255, 255) -- Color base (el gradient lo controla)
  28. stroke.Parent = mainFrame
  29.  
  30. local gradient = Instance.new("UIGradient")
  31. gradient.Color = ColorSequence.new{
  32. ColorSequenceKeypoint.new(0, Color3.fromRGB(30, 30, 30)), -- Gris oscuro
  33. ColorSequenceKeypoint.new(0.5, Color3.fromRGB(80, 80, 80)), -- Gris medio
  34. ColorSequenceKeypoint.new(1, Color3.fromRGB(20, 20, 20)) -- Negro casi puro
  35. }
  36. gradient.Rotation = 45
  37. gradient.Parent = stroke
  38.  
  39. -- Header
  40. local header = Instance.new("Frame")
  41. header.Size = UDim2.new(1, 0, 0, 60)
  42. header.BackgroundColor3 = Color3.fromRGB(35, 0, 70)
  43. header.Parent = mainFrame
  44. Instance.new("UICorner", header).CornerRadius = UDim.new(0, 16)
  45.  
  46. local title = Instance.new("TextLabel")
  47. title.Size = UDim2.new(1, -120, 1, 0)
  48. title.BackgroundTransparency = 1
  49. title.Text = "🔥 NEXUS HX HUB 🔥"
  50. title.TextColor3 = Color3.fromRGB(0, 255, 255)
  51. title.TextScaled = true
  52. title.Font = Enum.Font.Arcade
  53. title.Parent = header
  54.  
  55. local minBtn = Instance.new("TextButton")
  56. minBtn.Size = UDim2.new(0, 45, 0, 45)
  57. minBtn.Position = UDim2.new(1, -100, 0, 7)
  58. minBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  59. minBtn.Text = "−"
  60. minBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  61. minBtn.TextScaled = true
  62. minBtn.Parent = header
  63.  
  64. local closeBtn = Instance.new("TextButton")
  65. closeBtn.Size = UDim2.new(0, 45, 0, 45)
  66. closeBtn.Position = UDim2.new(1, -50, 0, 7)
  67. closeBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  68. closeBtn.Text = "✕"
  69. closeBtn.TextColor3 = Color3.fromRGB(255, 60, 60)
  70. closeBtn.TextScaled = true
  71. closeBtn.Parent = header
  72.  
  73. -- Contenido
  74. local content = Instance.new("ScrollingFrame")
  75. content.Size = UDim2.new(1, -24, 1, -80)
  76. content.Position = UDim2.new(0, 12, 0, 70)
  77. content.BackgroundTransparency = 1
  78. content.ScrollBarThickness = 8
  79. content.CanvasSize = UDim2.new(0, 0, 0, 850)
  80. content.Parent = mainFrame
  81.  
  82. local uiList = Instance.new("UIListLayout")
  83. uiList.Padding = UDim.new(0, 14)
  84. uiList.Parent = content
  85.  
  86. local function createButton(text, color, callback)
  87. local btn = Instance.new("TextButton")
  88. btn.Size = UDim2.new(1, 0, 0, 55)
  89. btn.BackgroundColor3 = color
  90. btn.Text = text
  91. btn.TextColor3 = Color3.new(1,1,1)
  92. btn.TextScaled = true
  93. btn.Font = Enum.Font.GothamBold
  94. btn.Parent = content
  95. Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 12)
  96. btn.MouseButton1Click:Connect(callback)
  97. return btn
  98. end
  99.  
  100. -- Botones (igual que antes)
  101. createButton("Auto Play (Auto Steal): OFF", Color3.fromRGB(0, 180, 0), function(self)
  102. self.autoPlay = not (self.autoPlay or false)
  103. self.Text = "Auto Play (Auto Steal): " .. (self.autoPlay and "ON" or "OFF")
  104. self.BackgroundColor3 = self.autoPlay and Color3.fromRGB(0, 220, 0) or Color3.fromRGB(0, 180, 0)
  105. end)
  106.  
  107. createButton("Aimlock: OFF", Color3.fromRGB(180, 0, 180), function(self)
  108. self.aimlock = not (self.