-- Golden Hub Walkspeed V2 (Modern UI + Hold to Speed) local CoreGui = game:GetService("CoreGui") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local lp = Players.LocalPlayer -- Limpiar versiones anteriores if CoreGui:FindFirstChild("GoldenHub_V2") then CoreGui.GoldenHub_V2:Destroy() end -- Interfaz Principal local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "GoldenHub_V2" ScreenGui.Parent = CoreGui local MainFrame = Instance.new("Frame") local UICorner = Instance.new("UICorner") local Title = Instance.new("TextLabel") local SpeedDisplay = Instance.new("TextLabel") local BtnUp = Instance.new("TextButton") local BtnDown = Instance.new("TextButton") local CloseBtn = Instance.new("TextButton") local MinBtn = Instance.new("TextButton") -- Estilo del Frame MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) MainFrame.Position = UDim2.new(0.5, -90, 0.4, 0) MainFrame.Size = UDim2.new(0, 180, 0, 220) MainFrame.Active = true MainFrame.Draggable = true MainFrame.ClipsDescendants = true UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainFrame -- Título Title.Parent = MainFrame Title.Size = UDim2.new(1, -60, 0, 35) Title.Position = UDim2.new(0, 10, 0, 0) Title.Text = "GOLDEN HUB" Title.TextColor3 = Color3.fromRGB(255, 215, 0) Title.TextSize = 14 Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.BackgroundTransparency = 1 -- Botón Cerrar (X) CloseBtn.Parent = MainFrame CloseBtn.Size = UDim2.new(0, 25, 0, 25) CloseBtn.Position = UDim2.new(1, -30, 0, 5) CloseBtn.Text = "X" CloseBtn.BackgroundColor3 = Color3.fromRGB(150, 0, 0) CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255) CloseBtn.Font = Enum.Font.GothamBold CloseBtn.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) Instance.new("UICorner", CloseBtn).CornerRadius = UDim.new(0, 5) -- Botón Minimizar (-) MinBtn.Parent = MainFrame MinBtn.Size = UDim2.new(0, 25, 0, 25) MinBtn.Position = UDim2.new(1, -60, 0, 5) MinBtn.Text = "-" MinBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) MinBtn.TextColor3 = Color3.fromRGB(255, 255, 255) MinBtn.Font = Enum.Font.GothamBold local minimizado = false MinBtn.MouseButton1Click:Connect(function() minimizado = not minimizado if minimizado then MainFrame:TweenSize(UDim2.new(0, 180, 0, 35), "Out", "Quart", 0.3, true) MinBtn.Text = "+" else MainFrame:TweenSize(UDim2.new(0, 180, 0, 220), "Out", "Quart", 0.3, true) MinBtn.Text = "-" end end) Instance.new("UICorner", MinBtn).CornerRadius = UDim.new(0, 5) -- Display de Velocidad SpeedDisplay.Parent = MainFrame SpeedDisplay.Position = UDim2.new(0, 0, 0.2, 0) SpeedDisplay.Size = UDim2.new(1, 0, 0, 40) SpeedDisplay.Text = "Vel: 16" SpeedDisplay.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedDisplay.TextSize = 22 SpeedDisplay.Font = Enum.Font.GothamMedium SpeedDisplay.BackgroundTransparency = 1 -- Lógica de Subir/Bajar manteniendo presionado local holdingUp = false local holdingDown = false local function updateSpeed(amt) local char = lp.Character if char and char:FindFirstChild("Humanoid") then local hum = char.Humanoid hum.WalkSpeed = math.clamp(hum.WalkSpeed + amt, 0, 500) SpeedDisplay.Text = "Vel: " .. math.floor(hum.WalkSpeed) end end -- Botón Aumentar BtnUp.Parent = MainFrame BtnUp.Position = UDim2.new(0.1, 0, 0.45, 0) BtnUp.Size = UDim2.new(0.8, 0, 0, 45) BtnUp.BackgroundColor3 = Color3.fromRGB(35, 35, 35) BtnUp.Text = "SUBIR (Mantén)" BtnUp.TextColor3 = Color3.fromRGB(255, 215, 0) BtnUp.Font = Enum.Font.GothamSemibold Instance.new("UICorner", BtnUp) BtnUp.MouseButton1Down:Connect(function() holdingUp = true end) BtnUp.MouseButton1Up:Connect(function() holdingUp = false end) BtnUp.MouseLeave:Connect(function() holdingUp = false end) -- Botón Disminuir BtnDown.Parent = MainFrame BtnDown.Position = UDim2.new(0.1, 0, 0.7, 0) BtnDown.Size = UDim2.new(0.8, 0, 0, 45) BtnDown.BackgroundColor3 = Color3.fromRGB(35, 35, 35) BtnDown.Text = "BAJAR (Mantén)" BtnDown.TextColor3 = Color3.fromRGB(255, 255, 255) BtnDown.Font = Enum.Font.GothamSemibold Instance.new("UICorner", BtnDown) BtnDown.MouseButton1Down:Connect(function() holdingDown = true end) BtnDown.MouseButton1Up:Connect(function() holdingDown = false end) BtnDown.MouseLeave:Connect(function() holdingDown = false end) -- Bucle para detectar si se mantiene presionado RunService.Heartbeat:Connect(function() if holdingUp then updateSpeed(1) -- Sube gradualmente mientras presionas task.wait(0.05) elseif holdingDown then updateSpeed(-1) -- Baja gradualmente mientras presionas task.wait(0.05) end end) -- Re-aplicar velocidad al respawnear lp.CharacterAdded:Connect(function(char) local hum = char:WaitForChild("Humanoid") task.wait(1) SpeedDisplay.Text = "Vel: " .. math.floor(hum.WalkSpeed) end)