Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- PROJECT YANDRO HUB - COMPATIBLE CON ROB A BRAINROT
- -- Script completo en formato .lua
- local Players = game:GetService("Players")
- local UserInputService = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- local TweenService = game:GetService("TweenService")
- local player = Players.LocalPlayer
- repeat wait() until player.Character
- -- Crear la interfaz gráfica
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "ProjectYandroHub"
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.Parent = player:WaitForChild("PlayerGui")
- local MainFrame = Instance.new("Frame")
- MainFrame.Size = UDim2.new(0, 320, 0, 380)
- MainFrame.Position = UDim2.new(0.1, 0, 0.1, 0)
- MainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
- MainFrame.BorderSizePixel = 0
- MainFrame.Parent = ScreenGui
- local Border = Instance.new("UIStroke")
- Border.Color = Color3.fromRGB(255, 255, 255)
- Border.Thickness = 2
- Border.Parent = MainFrame
- local Title = Instance.new("TextLabel")
- Title.Size = UDim2.new(1, 0, 0, 30)
- Title.Position = UDim2.new(0, 0, 0, 0)
- Title.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.Text = "PROJECT YANDRO - TOCA PARA MOVER"
- Title.Font = Enum.Font.GothamBold
- Title.TextSize = 12
- Title.Parent = MainFrame
- local Separator = Instance.new("Frame")
- Separator.Size = UDim2.new(1, 0, 0, 1)
- Separator.Position = UDim2.new(0, 0, 0, 30)
- Separator.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Separator.BorderSizePixel = 0
- Separator.Parent = MainFrame
- -- Variables de estado
- local speedBoostEnabled = false
- local flyEnabled = false
- local noclipEnabled = false
- local infJumpEnabled = false
- local godModeEnabled = false
- local espEnabled = false
- local flyConnection = nil
- local noclipConnection = nil
- local espConnection = nil
- local bodyVelocity = nil
- -- Función para crear botones
- local function createButton(name, text, position, callback)
- local button = Instance.new("TextButton")
- button.Name = name
- button.Size = UDim2.new(0, 280, 0, 32)
- button.Position = position
- button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- button.BorderColor3 = Color3.fromRGB(255, 255, 255)
- button.BorderSizePixel = 1
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.Text = text
- button.Font = Enum.Font.Gotham
- button.TextSize = 11
- button.Parent = MainFrame
- -- Efectos de botón
- button.MouseButton1Down:Connect(function()
- button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
- end)
- button.MouseButton1Up:Connect(function()
- button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- end)
- -- Compatibilidad con touch
- button.TouchTap:Connect(callback)
- button.MouseButton1Click:Connect(callback)
- return button
- end
- -- FUNCIÓN 1: VELOCIDAD MEJORADA
- local speedButton = createButton("SpeedBoost", "⚡ VELOCIDAD 30 [OFF]", UDim2.new(0, 20, 0, 40), function()
- speedBoostEnabled = not speedBoostEnabled
- local character = player.Character
- if character and character:FindFirstChild("Humanoid") then
- if speedBoostEnabled then
- character.Humanoid.WalkSpeed = 30
- speedButton.Text = "⚡ VELOCIDAD 30 [ON]"
- speedButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- else
- character.Humanoid.WalkSpeed = 16
- speedButton.Text = "⚡ VELOCIDAD 30 [OFF]"
- speedButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- end
- end
- end)
- -- FUNCIÓN 2: VUELO TEMPORAL
- local flyButton = createButton("FlyBoost", "🕊️ VUELO 10s [OFF]", UDim2.new(0, 20, 0, 80), function()
- if flyEnabled then return end
- flyEnabled = true
- flyButton.Text = "🕊️ VUELO 10s [ACTIVO]"
- flyButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- local startTime = tick()
- local character = player.Character
- if character and character:FindFirstChild("Humanoid") and character:FindFirstChild("HumanoidRootPart") then
- local humanoid = character.Humanoid
- local root = character.HumanoidRootPart
- humanoid.PlatformStand = true
- if bodyVelocity then
- bodyVelocity:Destroy()
- end
- bodyVelocity = Instance.new("BodyVelocity")
- bodyVelocity.Velocity = Vector3.new(0, 0, 0)
- bodyVelocity.MaxForce = Vector3.new(40000, 40000, 40000)
- bodyVelocity.Parent = root
- flyConnection = RunService.Heartbeat:Connect(function()
- local currentTime = tick()
- local elapsed = currentTime - startTime
- if elapsed >= 10 then
- if flyConnection then
- flyConnection:Disconnect()
- flyConnection = nil
- end
- if bodyVelocity then
- bodyVelocity:Destroy()
- bodyVelocity = nil
- end
- humanoid.PlatformStand = false
- humanoid.WalkSpeed = speedBoostEnabled and 30 or 16
- flyEnabled = false
- flyButton.Text = "🕊️ VUELO 10s [OFF]"
- flyButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- return
- end
- local moveDirection = Vector3.new(0, 0, 0)
- if UserInputService:IsKeyDown(Enum.KeyCode.W) then
- moveDirection = moveDirection + root.CFrame.LookVector
- end
- if UserInputService:IsKeyDown(Enum.KeyCode.S) then
- moveDirection = moveDirection - root.CFrame.LookVector
- end
- if UserInputService:IsKeyDown(Enum.KeyCode.A) then
- moveDirection = moveDirection - root.CFrame.RightVector
- end
- if UserInputService:IsKeyDown(Enum.KeyCode.D) then
- moveDirection = moveDirection + root.CFrame.RightVector
- end
- if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
- moveDirection = moveDirection + Vector3.new(0, 1, 0)
- end
- if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
- moveDirection = moveDirection + Vector3.new(0, -1, 0)
- end
- if moveDirection.Magnitude > 0 then
- bodyVelocity.Velocity = moveDirection.Unit * 50
- else
- bodyVelocity.Velocity = Vector3.new(0, 0, 0)
- end
- end)
- end
- end)
- -- FUNCIÓN 3: NOCLIP
- local noclipButton = createButton("Noclip", "👻 NOCLIP [OFF]", UDim2.new(0, 20, 0, 120), function()
- noclipEnabled = not noclipEnabled
- local character = player.Character
- if noclipEnabled then
- noclipButton.Text = "👻 NOCLIP [ON]"
- noclipButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- noclipConnection = RunService.Stepped:Connect(function()
- if character then
- for _, part in pairs(character:GetDescendants()) do
- if part:IsA("BasePart") then
- part.CanCollide = false
- end
- end
- end
- end)
- else
- noclipButton.Text = "👻 NOCLIP [OFF]"
- noclipButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- if noclipConnection then
- noclipConnection:Disconnect()
- noclipConnection = nil
- end
- if character then
- for _, part in pairs(character:GetDescendants()) do
- if part:IsA("BasePart") then
- part.CanCollide = true
- end
- end
- end
- end
- end)
- -- FUNCIÓN 4: SALTO INFINITO
- local jumpButton = createButton("JumpBoost", "🦘 SALTO INFINITO [OFF]", UDim2.new(0, 20, 0, 160), function()
- infJumpEnabled = not infJumpEnabled
- local character = player.Character
- if infJumpEnabled then
- jumpButton.Text = "🦘 SALTO INFINITO [ON]"
- jumpButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- if character and character:FindFirstChild("Humanoid") then
- character.Humanoid.JumpPower = 100
- end
- else
- jumpButton.Text = "🦘 SALTO INFINITO [OFF]"
- jumpButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- if character and character:FindFirstChild("Humanoid") then
- character.Humanoid.JumpPower = 50
- end
- end
- end)
- -- FUNCIÓN 5: MODO DIOS
- local godButton = createButton("GodMode", "🛡️ DIOS [OFF]", UDim2.new(0, 20, 0, 200), function()
- godModeEnabled = not godModeEnabled
- local character = player.Character
- if godModeEnabled then
- godButton.Text = "🛡️ DIOS [ON]"
- godButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- if character and character:FindFirstChild("Humanoid") then
- character.Humanoid.MaxHealth = math.huge
- character.Humanoid.Health = math.huge
- end
- else
- godButton.Text = "🛡️ DIOS [OFF]"
- godButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- if character and character:FindFirstChild("Humanoid") then
- character.Humanoid.MaxHealth = 100
- character.Humanoid.Health = 100
- end
- end
- end)
- -- FUNCIÓN 6: VER JUGADORES (ESP)
- local espButton = createButton("ESP", "🎯 VER JUGADORES [OFF]", UDim2.new(0, 20, 0, 240), function()
- espEnabled = not espEnabled
- if espEnabled then
- espButton.Text = "🎯 VER JUGADORES [ON]"
- espButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
- for _, otherPlayer in pairs(Players:GetPlayers()) do
- if otherPlayer ~= player and otherPlayer.Character then
- local highlight = Instance.new("Highlight")
- highlight.Name = "YandroESP"
- highlight.FillColor = Color3.fromRGB(255, 0, 0)
- highlight.OutlineColor = Color3.fromRGB(255, 255, 0)
- highlight.Parent = otherPlayer.Character
- end
- end
- else
- espButton.Text = "🎯 VER JUGADORES [OFF]"
- espButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- for _, otherPlayer in pairs(Players:GetPlayers()) do
- if otherPlayer.Character then
- local highlight = otherPlayer.Character:FindFirstChild("YandroESP")
- if highlight then
- highlight:Destroy()
- end
- end
- end
- end
- end)
- -- FUNCIÓN 7: TELEPORT A SPAWN
- local tpButton = createButton("Teleport", "📍 TP A SPAWN", UDim2.new(0, 20, 0, 280), function()
- local character = player.Character
- if character and character:FindFirstChild("HumanoidRootPart") then
- local spawn = workspace:FindFirstChild("SpawnLocation") or workspace:FindFirstChild("Part")
- if spawn then
- character.HumanoidRootPart.CFrame = spawn.CFrame + Vector3.new(0, 5, 0)
- end
- end
- end)
- -- FUNCIÓN 8: CERRAR HUB
- local closeButton = createButton("CloseHub", "❌ CERRAR HUB", UDim2.new(0, 20, 0, 320), function()
- ScreenGui:Destroy()
- end)
- -- SISTEMA DE ARRASTRE
- local dragging = false
- local dragStart, startPos
- Title.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = MainFrame.Position
- Title.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if dragging and (input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseMovement) then
- local delta = input.Position - dragStart
- MainFrame.Position = UDim2.new(
- startPos.X.Scale,
- startPos.X.Offset + delta.X,
- startPos.Y.Scale,
- startPos.Y.Offset + delta.Y
- )
- end
- end)
- UserInputService.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = false
- Title.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- end
- end)
- -- LIMPIEZA AL CAMBIAR DE PERSONAJE
- player.CharacterAdded:Connect(function(character)
- wait(1)
- speedBoostEnabled = false
- flyEnabled = false
- noclipEnabled = false
- infJumpEnabled = false
- godModeEnabled = false
- espEnabled = false
- if flyConnection then
- flyConnection:Disconnect()
- flyConnection = nil
- end
- if noclipConnection then
- noclipConnection:Disconnect()
- noclipConnection = nil
- end
- if bodyVelocity then
- bodyVelocity:Destroy()
- bodyVelocity = nil
- end
- speedButton.Text = "⚡ VELOCIDAD 30 [OFF]"
- speedButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- flyButton.Text = "🕊️ VUELO 10s [OFF]"
- flyButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- noclipButton.Text = "👻 NOCLIP [OFF]"
- noclipButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- jumpButton.Text = "🦘 SALTO INFINITO [OFF]"
- jumpButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- godButton.Text = "🛡️ DIOS [OFF]"
- godButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- espButton.Text = "🎯 VER JUGADORES [OFF]"
- espButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
- end)
- -- MENSAJE DE CONFIRMACIÓN
- print("🎮 PROJECT YANDRO HUB CARGADO EXITOSAMENTE")
- print("✅ Compatible con Rob a Brainrot")
- print("✅ 8 funciones activas")
- print("✅ Interfaz arrastrable")
- print("✅ Compatible con móvil")
- -- Notificación de carga
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "PROJECT YANDRO",
- Text = "Hub cargado correctamente!",
- Duration = 5
- })
Advertisement
Add Comment
Please, Sign In to add comment