Yandro

Untitled

Oct 5th, 2025
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 17.48 KB | None | 0 0
  1. -- YANDRO HUB - SISTEMA DE KEY PROTEGIDO
  2. -- Key: yandro100
  3.  
  4. local Players = game:GetService("Players")
  5. local UserInputService = game:GetService("UserInputService")
  6. local RunService = game:GetService("RunService")
  7. local Workspace = game:GetService("Workspace")
  8.  
  9. local player = Players.LocalPlayer
  10. while not player.Character do
  11.     wait(0.5)
  12. end
  13.  
  14. -- Crear GUI principal
  15. local ScreenGui = Instance.new("ScreenGui")
  16. ScreenGui.Name = "YandroKeyHub"
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18. ScreenGui.Parent = player:WaitForChild("PlayerGui")
  19.  
  20. -- Variables
  21. local keyVerified = false
  22. local correctKey = "yandro100"
  23.  
  24. -- Marco principal del hub
  25. local MainFrame = Instance.new("Frame")
  26. MainFrame.Size = UDim2.new(0, 350, 0, 300)
  27. MainFrame.Position = UDim2.new(0.5, -175, 0.5, -150)
  28. MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  29. MainFrame.BorderSizePixel = 0
  30. MainFrame.Parent = ScreenGui
  31.  
  32. local Border = Instance.new("UIStroke")
  33. Border.Color = Color3.fromRGB(255, 255, 255)
  34. Border.Thickness = 3
  35. Border.Parent = MainFrame
  36.  
  37. -- Título del Hub
  38. local Title = Instance.new("TextLabel")
  39. Title.Size = UDim2.new(1, 0, 0, 50)
  40. Title.Position = UDim2.new(0, 0, 0, 0)
  41. Title.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  42. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  43. Title.Text = "🔐 YANDRO HUB PROTEGIDO"
  44. Title.Font = Enum.Font.GothamBold
  45. Title.TextSize = 16
  46. Title.Parent = MainFrame
  47.  
  48. -- Separador
  49. local Separator = Instance.new("Frame")
  50. Separator.Size = UDim2.new(1, 0, 0, 2)
  51. Separator.Position = UDim2.new(0, 0, 0, 50)
  52. Separator.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  53. Separator.BorderSizePixel = 0
  54. Separator.Parent = MainFrame
  55.  
  56. -- Función para crear botones
  57. local function createButton(name, text, ypos, callback)
  58.     local button = Instance.new("TextButton")
  59.     button.Name = name
  60.     button.Size = UDim2.new(0, 300, 0, 40)
  61.     button.Position = UDim2.new(0, 25, 0, ypos)
  62.     button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  63.     button.BorderColor3 = Color3.fromRGB(255, 255, 255)
  64.     button.BorderSizePixel = 2
  65.     button.TextColor3 = Color3.fromRGB(255, 255, 255)
  66.     button.Text = text
  67.     button.Font = Enum.Font.Gotham
  68.     button.TextSize = 14
  69.     button.Parent = MainFrame
  70.    
  71.     button.MouseButton1Click:Connect(callback)
  72.    
  73.     return button
  74. end
  75.  
  76. -- =============================================
  77. -- OPCIÓN 1: ENTRAR (VERIFICAR KEY)
  78. -- =============================================
  79. local enterButton = createButton("Enter", "🔑 OPCIÓN 1 - ENTRAR", 70, function()
  80.     if keyVerified then
  81.         game:GetService("StarterGui"):SetCore("SendNotification", {
  82.             Title = "YANDRO HUB",
  83.             Text = "✅ Ya verificaste la key correctamente!",
  84.             Duration = 3
  85.         })
  86.         return
  87.     end
  88.    
  89.     -- Crear ventana de ingreso de key
  90.     local KeyFrame = Instance.new("Frame")
  91.     KeyFrame.Size = UDim2.new(0, 320, 0, 200)
  92.     KeyFrame.Position = UDim2.new(0.5, -160, 0.5, -100)
  93.     KeyFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  94.     KeyFrame.BorderSizePixel = 0
  95.     KeyFrame.ZIndex = 10
  96.     KeyFrame.Parent = ScreenGui
  97.    
  98.     local KeyBorder = Instance.new("UIStroke")
  99.     KeyBorder.Color = Color3.fromRGB(255, 255, 255)
  100.     KeyBorder.Thickness = 2
  101.     KeyBorder.Parent = KeyFrame
  102.    
  103.     local KeyTitle = Instance.new("TextLabel")
  104.     KeyTitle.Size = UDim2.new(1, 0, 0, 40)
  105.     KeyTitle.Position = UDim2.new(0, 0, 0, 0)
  106.     KeyTitle.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  107.     KeyTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  108.     KeyTitle.Text = "🔐 INGRESAR KEY DE ACCESO"
  109.     KeyTitle.Font = Enum.Font.GothamBold
  110.     KeyTitle.TextSize = 14
  111.     KeyTitle.Parent = KeyFrame
  112.    
  113.     local KeyTextBox = Instance.new("TextBox")
  114.     KeyTextBox.Size = UDim2.new(0, 280, 0, 40)
  115.     KeyTextBox.Position = UDim2.new(0, 20, 0, 60)
  116.     KeyTextBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  117.     KeyTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  118.     KeyTextBox.PlaceholderText = "Ingresa la key aquí..."
  119.     KeyTextBox.PlaceholderColor3 = Color3.fromRGB(150, 150, 150)
  120.     KeyTextBox.Text = ""
  121.     KeyTextBox.Font = Enum.Font.Gotham
  122.     KeyTextBox.TextSize = 14
  123.     KeyTextBox.Parent = KeyFrame
  124.    
  125.     local VerifyButton = Instance.new("TextButton")
  126.     VerifyButton.Size = UDim2.new(0, 120, 0, 35)
  127.     VerifyButton.Position = UDim2.new(0, 40, 0, 120)
  128.     VerifyButton.BackgroundColor3 = Color3.fromRGB(0, 100, 0)
  129.     VerifyButton.BorderSizePixel = 0
  130.     VerifyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  131.     VerifyButton.Text = "✅ VERIFICAR"
  132.     VerifyButton.Font = Enum.Font.GothamBold
  133.     VerifyButton.TextSize = 12
  134.     VerifyButton.Parent = KeyFrame
  135.    
  136.     local CancelButton = Instance.new("TextButton")
  137.     CancelButton.Size = UDim2.new(0, 120, 0, 35)
  138.     CancelButton.Position = UDim2.new(0, 160, 0, 120)
  139.     CancelButton.BackgroundColor3 = Color3.fromRGB(100, 0, 0)
  140.     CancelButton.BorderSizePixel = 0
  141.     CancelButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  142.     CancelButton.Text = "❌ CANCELAR"
  143.     CancelButton.Font = Enum.Font.GothamBold
  144.     CancelButton.TextSize = 12
  145.     CancelButton.Parent = KeyFrame
  146.    
  147.     local MessageLabel = Instance.new("TextLabel")
  148.     MessageLabel.Size = UDim2.new(1, 0, 0, 30)
  149.     MessageLabel.Position = UDim2.new(0, 0, 0, 165)
  150.     MessageLabel.BackgroundTransparency = 1
  151.     MessageLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  152.     MessageLabel.Text = "Ingresa la key correcta para acceder"
  153.     MessageLabel.Font = Enum.Font.Gotham
  154.     MessageLabel.TextSize = 12
  155.     MessageLabel.Parent = KeyFrame
  156.    
  157.     -- Función verificar key
  158.     VerifyButton.MouseButton1Click:Connect(function()
  159.         local inputKey = KeyTextBox.Text:lower()
  160.        
  161.         if inputKey == correctKey then
  162.             keyVerified = true
  163.             KeyFrame:Destroy()
  164.            
  165.             -- Actualizar interfaz
  166.             enterButton.Text = "🔑 OPCIÓN 1 - KEY VERIFICADA ✅"
  167.             enterButton.BackgroundColor3 = Color3.fromRGB(0, 100, 0)
  168.             openButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
  169.             openButton.Text = "🎮 OPCIÓN 3 - ABRIR HUB ✅"
  170.            
  171.             game:GetService("StarterGui"):SetCore("SendNotification", {
  172.                 Title = "YANDRO HUB",
  173.                 Text = "✅ Key correcta! Acceso concedido",
  174.                 Duration = 5
  175.             })
  176.            
  177.             warn("🎮 YANDRO HUB - KEY VERIFICADA CORRECTAMENTE")
  178.             warn("✅ Acceso concedido a todas las funciones")
  179.            
  180.         else
  181.             MessageLabel.TextColor3 = Color3.fromRGB(255, 50, 50)
  182.             MessageLabel.Text = "❌ Key incorrecta. Intenta nuevamente"
  183.             KeyTextBox.Text = ""
  184.         end
  185.     end)
  186.    
  187.     -- Función cancelar
  188.     CancelButton.MouseButton1Click:Connect(function()
  189.         KeyFrame:Destroy()
  190.     end)
  191. end)
  192.  
  193. -- =============================================
  194. -- OPCIÓN 2: CONSEGUIR KEY
  195. -- =============================================
  196. local getKeyButton = createButton("GetKey", "💾 OPCIÓN 2 - CONSEGUIR KEY", 130, function()
  197.     -- Mostrar key en notificación
  198.     game:GetService("StarterGui"):SetCore("SendNotification", {
  199.         Title = "🔑 KEY DE ACCESO",
  200.         Text = "La key es: yandro100",
  201.         Duration = 10
  202.     })
  203.    
  204.     -- También mostrar en output
  205.     warn("==========================================")
  206.     warn("🔑 YANDRO HUB - KEY DE ACCESO")
  207.     warn("KEY: yandro100")
  208.     warn("==========================================")
  209.    
  210.     -- Efecto visual en el botón
  211.     getKeyButton.Text = "💾 KEY COPIADA ✅"
  212.     getKeyButton.BackgroundColor3 = Color3.fromRGB(0, 100, 0)
  213.     wait(2)
  214.     getKeyButton.Text = "💾 OPCIÓN 2 - CONSEGUIR KEY"
  215.     getKeyButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  216. end)
  217.  
  218. -- =============================================
  219. -- OPCIÓN 3: ABRIR HUB (SOLO CON KEY)
  220. -- =============================================
  221. local openButton = createButton("OpenHub", "🎮 OPCIÓN 3 - ABRIR [KEY REQUERIDA]", 190, function()
  222.     if not keyVerified then
  223.         game:GetService("StarterGui"):SetCore("SendNotification", {
  224.             Title = "🔒 ACCESO DENEGADO",
  225.             Text = "Necesitas verificar la key primero!",
  226.             Duration = 3
  227.         })
  228.        
  229.         -- Efecto de error
  230.         openButton.BackgroundColor3 = Color3.fromRGB(100, 0, 0)
  231.         wait(0.5)
  232.         openButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  233.         return
  234.     end
  235.    
  236.     -- =============================================
  237.     -- HUB PRINCIPAL (SOLO SE ABRE CON KEY VERIFICADA)
  238.     -- =============================================
  239.    
  240.     -- Ocultar menú de key
  241.     MainFrame.Visible = false
  242.    
  243.     -- Crear Hub principal
  244.     local HubFrame = Instance.new("Frame")
  245.     HubFrame.Size = UDim2.new(0, 400, 0, 500)
  246.     HubFrame.Position = UDim2.new(0.5, -200, 0.5, -250)
  247.     HubFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
  248.     HubFrame.BorderSizePixel = 0
  249.     HubFrame.Parent = ScreenGui
  250.    
  251.     local HubBorder = Instance.new("UIStroke")
  252.     HubBorder.Color = Color3.fromRGB(0, 255, 0)
  253.     HubBorder.Thickness = 3
  254.     HubBorder.Parent = HubFrame
  255.    
  256.     local HubTitle = Instance.new("TextLabel")
  257.     HubTitle.Size = UDim2.new(1, 0, 0, 50)
  258.     HubTitle.Position = UDim2.new(0, 0, 0, 0)
  259.     HubTitle.BackgroundColor3 = Color3.fromRGB(0, 50, 0)
  260.     HubTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  261.     HubTitle.Text = "🎮 YANDRO HUB - ACCESO CONCEDIDO ✅"
  262.     HubTitle.Font = Enum.Font.GothamBold
  263.     HubTitle.TextSize = 16
  264.     HubTitle.Parent = HubFrame
  265.    
  266.     -- Función para crear botones del hub
  267.     local function createHubButton(name, text, ypos, callback)
  268.         local button = Instance.new("TextButton")
  269.         button.Name = name
  270.         button.Size = UDim2.new(0, 350, 0, 45)
  271.         button.Position = UDim2.new(0, 25, 0, ypos)
  272.         button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  273.         button.BorderColor3 = Color3.fromRGB(0, 255, 0)
  274.         button.BorderSizePixel = 2
  275.         button.TextColor3 = Color3.fromRGB(255, 255, 255)
  276.         button.Text = text
  277.         button.Font = Enum.Font.Gotham
  278.         button.TextSize = 14
  279.         button.Parent = HubFrame
  280.        
  281.         button.MouseButton1Click:Connect(callback)
  282.        
  283.         return button
  284.     end
  285.    
  286.     -- Variables para funciones del hub
  287.     local speedActive = false
  288.     local noclipActive = false
  289.     local espActive = false
  290.    
  291.     -- 1. VELOCIDAD MEJORADA
  292.     local speedButton = createHubButton("Speed", "⚡ VELOCIDAD 30 [OFF]", 70, function()
  293.         speedActive = not speedActive
  294.         local char = player.Character
  295.         if char and char:FindFirstChild("Humanoid") then
  296.             if speedActive then
  297.                 char.Humanoid.WalkSpeed = 30
  298.                 speedButton.Text = "⚡ VELOCIDAD 30 [ON]"
  299.                 speedButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  300.                 speedButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  301.             else
  302.                 char.Humanoid.WalkSpeed = 16
  303.                 speedButton.Text = "⚡ VELOCIDAD 30 [OFF]"
  304.                 speedButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  305.                 speedButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  306.             end
  307.         end
  308.     end)
  309.    
  310.     -- 2. NOCLIP
  311.     local noclipButton = createHubButton("Noclip", "👻 NOCLIP [OFF]", 130, function()
  312.         noclipActive = not noclipActive
  313.        
  314.         if noclipActive then
  315.             noclipButton.Text = "👻 NOCLIP [ON]"
  316.             noclipButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  317.             noclipButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  318.            
  319.             -- Activar noclip
  320.             local noclipConn
  321.             noclipConn = RunService.Stepped:Connect(function()
  322.                 local char = player.Character
  323.                 if char and noclipActive then
  324.                     for _, v in pairs(char:GetDescendants()) do
  325.                         if v:IsA("BasePart") then
  326.                             v.CanCollide = false
  327.                         end
  328.                     end
  329.                 else
  330.                     if noclipConn then
  331.                         noclipConn:Disconnect()
  332.                     end
  333.                 end
  334.             end)
  335.         else
  336.             noclipButton.Text = "👻 NOCLIP [OFF]"
  337.             noclipButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  338.             noclipButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  339.            
  340.             -- Desactivar noclip
  341.             local char = player.Character
  342.             if char then
  343.                 for _, v in pairs(char:GetDescendants()) do
  344.                     if v:IsA("BasePart") then
  345.                         v.CanCollide = true
  346.                     end
  347.                 end
  348.             end
  349.         end
  350.     end)
  351.    
  352.     -- 3. ESP JUGADORES
  353.     local espButton = createHubButton("ESP", "🎯 VER JUGADORES [OFF]", 190, function()
  354.         espActive = not espActive
  355.        
  356.         if espActive then
  357.             espButton.Text = "🎯 VER JUGADORES [ON]"
  358.             espButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  359.             espButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  360.            
  361.             -- Activar ESP
  362.             local function updateESP()
  363.                 for _, v in pairs(Workspace:GetDescendants()) do
  364.                     if v.Name == "YandroHubESP" then
  365.                         v:Destroy()
  366.                     end
  367.                 end
  368.                
  369.                 for _, plr in pairs(Players:GetPlayers()) do
  370.                     if plr ~= player and plr.Character then
  371.                         local char = plr.Character
  372.                         local hum = char:FindFirstChild("Humanoid")
  373.                         if hum and hum.Health > 0 then
  374.                             local highlight = Instance.new("Highlight")
  375.                             highlight.Name = "YandroHubESP"
  376.                             highlight.Adornee = char
  377.                             highlight.FillColor = Color3.fromRGB(0, 255, 0)
  378.                             highlight.OutlineColor = Color3.fromRGB(0, 200, 0)
  379.                             highlight.FillTransparency = 0.6
  380.                             highlight.Parent = char
  381.                         end
  382.                     end
  383.                 end
  384.             end
  385.            
  386.             updateESP()
  387.             local espConn = RunService.Heartbeat:Connect(updateESP)
  388.            
  389.         else
  390.             espButton.Text = "🎯 VER JUGADORES [OFF]"
  391.             espButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  392.             espButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  393.            
  394.             -- Desactivar ESP
  395.             for _, v in pairs(Workspace:GetDescendants()) do
  396.                 if v.Name == "YandroHubESP" then
  397.                     v:Destroy()
  398.                 end
  399.             end
  400.         end
  401.     end)
  402.    
  403.     -- 4. SALTO INFINITO
  404.     local jumpButton = createHubButton("Jump", "🦘 SALTO INFINITO [OFF]", 250, function()
  405.         local char = player.Character
  406.         if char and char:FindFirstChild("Humanoid") then
  407.             if char.Humanoid.JumpPower == 50 then
  408.                 char.Humanoid.JumpPower = 100
  409.                 jumpButton.Text = "🦘 SALTO INFINITO [ON]"
  410.                 jumpButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  411.                 jumpButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  412.             else
  413.                 char.Humanoid.JumpPower = 50
  414.                 jumpButton.Text = "🦘 SALTO INFINITO [OFF]"
  415.                 jumpButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  416.                 jumpButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  417.             end
  418.         end
  419.     end)
  420.    
  421.     -- 5. MODO DIOS
  422.     local godButton = createHubButton("God", "🛡️ MODO DIOS [OFF]", 310, function()
  423.         local char = player.Character
  424.         if char and char:FindFirstChild("Humanoid") then
  425.             if char.Humanoid.MaxHealth == 100 then
  426.                 char.Humanoid.MaxHealth = math.huge
  427.                 char.Humanoid.Health = math.huge
  428.                 godButton.Text = "🛡️ MODO DIOS [ON]"
  429.                 godButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  430.                 godButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  431.             else
  432.                 char.Humanoid.MaxHealth = 100
  433.                 char.Humanoid.Health = 100
  434.                 godButton.Text = "🛡️ MODO DIOS [OFF]"
  435.                 godButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
  436.                 godButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  437.             end
  438.         end
  439.     end)
  440.    
  441.     -- 6. CERRAR HUB
  442.     local closeHubButton = createHubButton("Close", "❌ CERRAR HUB", 370, function()
  443.         HubFrame:Destroy()
  444.         MainFrame.Visible = true
  445.     end)
  446.    
  447.     -- Mensaje de éxito
  448.     game:GetService("StarterGui"):SetCore("SendNotification", {
  449.         Title = "🎮 YANDRO HUB",
  450.         Text = "Hub principal activado! 5 funciones disponibles",
  451.         Duration = 5
  452.     })
  453. end)
  454.  
  455. -- =============================================
  456. -- MENSAJE INICIAL
  457. -- =============================================
  458. warn("==========================================")
  459. warn("🔐 YANDRO HUB - SISTEMA DE KEY ACTIVADO")
  460. warn("🔑 Key requerida: yandro100")
  461. warn("✅ 3 opciones disponibles")
  462. warn("==========================================")
  463.  
  464. game:GetService("StarterGui"):SetCore("SendNotification", {
  465.     Title = "🔐 YANDRO HUB",
  466.     Text = "Sistema de key activado. Usa Opción 2 para obtener la key",
  467.     Duration = 5
  468. })
Advertisement
Add Comment
Please, Sign In to add comment