Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- YANDRO HUB - SISTEMA DE KEY PROTEGIDO
- -- Key: yandro100
- local Players = game:GetService("Players")
- local UserInputService = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- local Workspace = game:GetService("Workspace")
- local player = Players.LocalPlayer
- while not player.Character do
- wait(0.5)
- end
- -- Crear GUI principal
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "YandroKeyHub"
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.Parent = player:WaitForChild("PlayerGui")
- -- Variables
- local keyVerified = false
- local correctKey = "yandro100"
- -- Marco principal del hub
- local MainFrame = Instance.new("Frame")
- MainFrame.Size = UDim2.new(0, 350, 0, 300)
- MainFrame.Position = UDim2.new(0.5, -175, 0.5, -150)
- MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- MainFrame.BorderSizePixel = 0
- MainFrame.Parent = ScreenGui
- local Border = Instance.new("UIStroke")
- Border.Color = Color3.fromRGB(255, 255, 255)
- Border.Thickness = 3
- Border.Parent = MainFrame
- -- Título del Hub
- local Title = Instance.new("TextLabel")
- Title.Size = UDim2.new(1, 0, 0, 50)
- Title.Position = UDim2.new(0, 0, 0, 0)
- Title.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.Text = "🔐 YANDRO HUB PROTEGIDO"
- Title.Font = Enum.Font.GothamBold
- Title.TextSize = 16
- Title.Parent = MainFrame
- -- Separador
- local Separator = Instance.new("Frame")
- Separator.Size = UDim2.new(1, 0, 0, 2)
- Separator.Position = UDim2.new(0, 0, 0, 50)
- Separator.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Separator.BorderSizePixel = 0
- Separator.Parent = MainFrame
- -- Función para crear botones
- local function createButton(name, text, ypos, callback)
- local button = Instance.new("TextButton")
- button.Name = name
- button.Size = UDim2.new(0, 300, 0, 40)
- button.Position = UDim2.new(0, 25, 0, ypos)
- button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- button.BorderColor3 = Color3.fromRGB(255, 255, 255)
- button.BorderSizePixel = 2
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.Text = text
- button.Font = Enum.Font.Gotham
- button.TextSize = 14
- button.Parent = MainFrame
- button.MouseButton1Click:Connect(callback)
- return button
- end
- -- =============================================
- -- OPCIÓN 1: ENTRAR (VERIFICAR KEY)
- -- =============================================
- local enterButton = createButton("Enter", "🔑 OPCIÓN 1 - ENTRAR", 70, function()
- if keyVerified then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "YANDRO HUB",
- Text = "✅ Ya verificaste la key correctamente!",
- Duration = 3
- })
- return
- end
- -- Crear ventana de ingreso de key
- local KeyFrame = Instance.new("Frame")
- KeyFrame.Size = UDim2.new(0, 320, 0, 200)
- KeyFrame.Position = UDim2.new(0.5, -160, 0.5, -100)
- KeyFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- KeyFrame.BorderSizePixel = 0
- KeyFrame.ZIndex = 10
- KeyFrame.Parent = ScreenGui
- local KeyBorder = Instance.new("UIStroke")
- KeyBorder.Color = Color3.fromRGB(255, 255, 255)
- KeyBorder.Thickness = 2
- KeyBorder.Parent = KeyFrame
- local KeyTitle = Instance.new("TextLabel")
- KeyTitle.Size = UDim2.new(1, 0, 0, 40)
- KeyTitle.Position = UDim2.new(0, 0, 0, 0)
- KeyTitle.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- KeyTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
- KeyTitle.Text = "🔐 INGRESAR KEY DE ACCESO"
- KeyTitle.Font = Enum.Font.GothamBold
- KeyTitle.TextSize = 14
- KeyTitle.Parent = KeyFrame
- local KeyTextBox = Instance.new("TextBox")
- KeyTextBox.Size = UDim2.new(0, 280, 0, 40)
- KeyTextBox.Position = UDim2.new(0, 20, 0, 60)
- KeyTextBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- KeyTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- KeyTextBox.PlaceholderText = "Ingresa la key aquí..."
- KeyTextBox.PlaceholderColor3 = Color3.fromRGB(150, 150, 150)
- KeyTextBox.Text = ""
- KeyTextBox.Font = Enum.Font.Gotham
- KeyTextBox.TextSize = 14
- KeyTextBox.Parent = KeyFrame
- local VerifyButton = Instance.new("TextButton")
- VerifyButton.Size = UDim2.new(0, 120, 0, 35)
- VerifyButton.Position = UDim2.new(0, 40, 0, 120)
- VerifyButton.BackgroundColor3 = Color3.fromRGB(0, 100, 0)
- VerifyButton.BorderSizePixel = 0
- VerifyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- VerifyButton.Text = "✅ VERIFICAR"
- VerifyButton.Font = Enum.Font.GothamBold
- VerifyButton.TextSize = 12
- VerifyButton.Parent = KeyFrame
- local CancelButton = Instance.new("TextButton")
- CancelButton.Size = UDim2.new(0, 120, 0, 35)
- CancelButton.Position = UDim2.new(0, 160, 0, 120)
- CancelButton.BackgroundColor3 = Color3.fromRGB(100, 0, 0)
- CancelButton.BorderSizePixel = 0
- CancelButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CancelButton.Text = "❌ CANCELAR"
- CancelButton.Font = Enum.Font.GothamBold
- CancelButton.TextSize = 12
- CancelButton.Parent = KeyFrame
- local MessageLabel = Instance.new("TextLabel")
- MessageLabel.Size = UDim2.new(1, 0, 0, 30)
- MessageLabel.Position = UDim2.new(0, 0, 0, 165)
- MessageLabel.BackgroundTransparency = 1
- MessageLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- MessageLabel.Text = "Ingresa la key correcta para acceder"
- MessageLabel.Font = Enum.Font.Gotham
- MessageLabel.TextSize = 12
- MessageLabel.Parent = KeyFrame
- -- Función verificar key
- VerifyButton.MouseButton1Click:Connect(function()
- local inputKey = KeyTextBox.Text:lower()
- if inputKey == correctKey then
- keyVerified = true
- KeyFrame:Destroy()
- -- Actualizar interfaz
- enterButton.Text = "🔑 OPCIÓN 1 - KEY VERIFICADA ✅"
- enterButton.BackgroundColor3 = Color3.fromRGB(0, 100, 0)
- openButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
- openButton.Text = "🎮 OPCIÓN 3 - ABRIR HUB ✅"
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "YANDRO HUB",
- Text = "✅ Key correcta! Acceso concedido",
- Duration = 5
- })
- warn("🎮 YANDRO HUB - KEY VERIFICADA CORRECTAMENTE")
- warn("✅ Acceso concedido a todas las funciones")
- else
- MessageLabel.TextColor3 = Color3.fromRGB(255, 50, 50)
- MessageLabel.Text = "❌ Key incorrecta. Intenta nuevamente"
- KeyTextBox.Text = ""
- end
- end)
- -- Función cancelar
- CancelButton.MouseButton1Click:Connect(function()
- KeyFrame:Destroy()
- end)
- end)
- -- =============================================
- -- OPCIÓN 2: CONSEGUIR KEY
- -- =============================================
- local getKeyButton = createButton("GetKey", "💾 OPCIÓN 2 - CONSEGUIR KEY", 130, function()
- -- Mostrar key en notificación
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "🔑 KEY DE ACCESO",
- Text = "La key es: yandro100",
- Duration = 10
- })
- -- También mostrar en output
- warn("==========================================")
- warn("🔑 YANDRO HUB - KEY DE ACCESO")
- warn("KEY: yandro100")
- warn("==========================================")
- -- Efecto visual en el botón
- getKeyButton.Text = "💾 KEY COPIADA ✅"
- getKeyButton.BackgroundColor3 = Color3.fromRGB(0, 100, 0)
- wait(2)
- getKeyButton.Text = "💾 OPCIÓN 2 - CONSEGUIR KEY"
- getKeyButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- end)
- -- =============================================
- -- OPCIÓN 3: ABRIR HUB (SOLO CON KEY)
- -- =============================================
- local openButton = createButton("OpenHub", "🎮 OPCIÓN 3 - ABRIR [KEY REQUERIDA]", 190, function()
- if not keyVerified then
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "🔒 ACCESO DENEGADO",
- Text = "Necesitas verificar la key primero!",
- Duration = 3
- })
- -- Efecto de error
- openButton.BackgroundColor3 = Color3.fromRGB(100, 0, 0)
- wait(0.5)
- openButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- return
- end
- -- =============================================
- -- HUB PRINCIPAL (SOLO SE ABRE CON KEY VERIFICADA)
- -- =============================================
- -- Ocultar menú de key
- MainFrame.Visible = false
- -- Crear Hub principal
- local HubFrame = Instance.new("Frame")
- HubFrame.Size = UDim2.new(0, 400, 0, 500)
- HubFrame.Position = UDim2.new(0.5, -200, 0.5, -250)
- HubFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
- HubFrame.BorderSizePixel = 0
- HubFrame.Parent = ScreenGui
- local HubBorder = Instance.new("UIStroke")
- HubBorder.Color = Color3.fromRGB(0, 255, 0)
- HubBorder.Thickness = 3
- HubBorder.Parent = HubFrame
- local HubTitle = Instance.new("TextLabel")
- HubTitle.Size = UDim2.new(1, 0, 0, 50)
- HubTitle.Position = UDim2.new(0, 0, 0, 0)
- HubTitle.BackgroundColor3 = Color3.fromRGB(0, 50, 0)
- HubTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
- HubTitle.Text = "🎮 YANDRO HUB - ACCESO CONCEDIDO ✅"
- HubTitle.Font = Enum.Font.GothamBold
- HubTitle.TextSize = 16
- HubTitle.Parent = HubFrame
- -- Función para crear botones del hub
- local function createHubButton(name, text, ypos, callback)
- local button = Instance.new("TextButton")
- button.Name = name
- button.Size = UDim2.new(0, 350, 0, 45)
- button.Position = UDim2.new(0, 25, 0, ypos)
- button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- button.BorderColor3 = Color3.fromRGB(0, 255, 0)
- button.BorderSizePixel = 2
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.Text = text
- button.Font = Enum.Font.Gotham
- button.TextSize = 14
- button.Parent = HubFrame
- button.MouseButton1Click:Connect(callback)
- return button
- end
- -- Variables para funciones del hub
- local speedActive = false
- local noclipActive = false
- local espActive = false
- -- 1. VELOCIDAD MEJORADA
- local speedButton = createHubButton("Speed", "⚡ VELOCIDAD 30 [OFF]", 70, function()
- speedActive = not speedActive
- local char = player.Character
- if char and char:FindFirstChild("Humanoid") then
- if speedActive then
- char.Humanoid.WalkSpeed = 30
- speedButton.Text = "⚡ VELOCIDAD 30 [ON]"
- speedButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- speedButton.TextColor3 = Color3.fromRGB(0, 255, 0)
- else
- char.Humanoid.WalkSpeed = 16
- speedButton.Text = "⚡ VELOCIDAD 30 [OFF]"
- speedButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- speedButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- end
- end
- end)
- -- 2. NOCLIP
- local noclipButton = createHubButton("Noclip", "👻 NOCLIP [OFF]", 130, function()
- noclipActive = not noclipActive
- if noclipActive then
- noclipButton.Text = "👻 NOCLIP [ON]"
- noclipButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- noclipButton.TextColor3 = Color3.fromRGB(0, 255, 0)
- -- Activar noclip
- local noclipConn
- noclipConn = RunService.Stepped:Connect(function()
- local char = player.Character
- if char and noclipActive then
- for _, v in pairs(char:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- else
- if noclipConn then
- noclipConn:Disconnect()
- end
- end
- end)
- else
- noclipButton.Text = "👻 NOCLIP [OFF]"
- noclipButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- noclipButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- -- Desactivar noclip
- local char = player.Character
- if char then
- for _, v in pairs(char:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = true
- end
- end
- end
- end
- end)
- -- 3. ESP JUGADORES
- local espButton = createHubButton("ESP", "🎯 VER JUGADORES [OFF]", 190, function()
- espActive = not espActive
- if espActive then
- espButton.Text = "🎯 VER JUGADORES [ON]"
- espButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- espButton.TextColor3 = Color3.fromRGB(0, 255, 0)
- -- Activar ESP
- local function updateESP()
- for _, v in pairs(Workspace:GetDescendants()) do
- if v.Name == "YandroHubESP" then
- v:Destroy()
- end
- end
- for _, plr in pairs(Players:GetPlayers()) do
- if plr ~= player and plr.Character then
- local char = plr.Character
- local hum = char:FindFirstChild("Humanoid")
- if hum and hum.Health > 0 then
- local highlight = Instance.new("Highlight")
- highlight.Name = "YandroHubESP"
- highlight.Adornee = char
- highlight.FillColor = Color3.fromRGB(0, 255, 0)
- highlight.OutlineColor = Color3.fromRGB(0, 200, 0)
- highlight.FillTransparency = 0.6
- highlight.Parent = char
- end
- end
- end
- end
- updateESP()
- local espConn = RunService.Heartbeat:Connect(updateESP)
- else
- espButton.Text = "🎯 VER JUGADORES [OFF]"
- espButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- espButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- -- Desactivar ESP
- for _, v in pairs(Workspace:GetDescendants()) do
- if v.Name == "YandroHubESP" then
- v:Destroy()
- end
- end
- end
- end)
- -- 4. SALTO INFINITO
- local jumpButton = createHubButton("Jump", "🦘 SALTO INFINITO [OFF]", 250, function()
- local char = player.Character
- if char and char:FindFirstChild("Humanoid") then
- if char.Humanoid.JumpPower == 50 then
- char.Humanoid.JumpPower = 100
- jumpButton.Text = "🦘 SALTO INFINITO [ON]"
- jumpButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- jumpButton.TextColor3 = Color3.fromRGB(0, 255, 0)
- else
- char.Humanoid.JumpPower = 50
- jumpButton.Text = "🦘 SALTO INFINITO [OFF]"
- jumpButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- jumpButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- end
- end
- end)
- -- 5. MODO DIOS
- local godButton = createHubButton("God", "🛡️ MODO DIOS [OFF]", 310, function()
- local char = player.Character
- if char and char:FindFirstChild("Humanoid") then
- if char.Humanoid.MaxHealth == 100 then
- char.Humanoid.MaxHealth = math.huge
- char.Humanoid.Health = math.huge
- godButton.Text = "🛡️ MODO DIOS [ON]"
- godButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- godButton.TextColor3 = Color3.fromRGB(0, 255, 0)
- else
- char.Humanoid.MaxHealth = 100
- char.Humanoid.Health = 100
- godButton.Text = "🛡️ MODO DIOS [OFF]"
- godButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- godButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- end
- end
- end)
- -- 6. CERRAR HUB
- local closeHubButton = createHubButton("Close", "❌ CERRAR HUB", 370, function()
- HubFrame:Destroy()
- MainFrame.Visible = true
- end)
- -- Mensaje de éxito
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "🎮 YANDRO HUB",
- Text = "Hub principal activado! 5 funciones disponibles",
- Duration = 5
- })
- end)
- -- =============================================
- -- MENSAJE INICIAL
- -- =============================================
- warn("==========================================")
- warn("🔐 YANDRO HUB - SISTEMA DE KEY ACTIVADO")
- warn("🔑 Key requerida: yandro100")
- warn("✅ 3 opciones disponibles")
- warn("==========================================")
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "🔐 YANDRO HUB",
- Text = "Sistema de key activado. Usa Opción 2 para obtener la key",
- Duration = 5
- })
Advertisement
Add Comment
Please, Sign In to add comment