
Key RequiredUniversal

local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Jugador = Players.LocalPlayer
local Personaje = Jugador.Character or Jugador.CharacterAdded:Wait()
local Humanoide = Personaje:WaitForChild("Humanoid")
local RootPart = Personaje:WaitForChild("HumanoidRootPart")
Jugador.CharacterAdded:Connect(function(NuevoPersonaje)
Personaje = NuevoPersonaje
Humanoide = NuevoPersonaje:WaitForChild("Humanoid")
RootPart = NuevoPersonaje:WaitForChild("HumanoidRootPart")
end)
local GUI = Instance.new("ScreenGui")
GUI.Name = "PX_HUB"
GUI.ResetOnSpawn = false
GUI.Parent = game.CoreGui
local COLORES = {
FONDO = Color3.fromRGB(13,13,13),
TARJETA = Color3.fromRGB(22,22,22),
VERDE = Color3.fromRGB(0,255,170),
TEXTO = Color3.fromRGB(255,255,255),
GRIS = Color3.fromRGB(60,60,60)
}
local Main = Instance.new("Frame")
Main.Parent = GUI
Main.Size = UDim2.new(0,430,0,455)
Main.Position = UDim2.new(0.5,-215,0.5,-227)
Main.BackgroundColor3 = COLORES.FONDO
Main.BorderSizePixel = 0
Instance.new("UICorner",Main).CornerRadius = UDim.new(0,18)
local Stroke = Instance.new("UIStroke")
Stroke.Parent = Main
Stroke.Color = COLORES.VERDE
Stroke.Thickness = 1.2
local Topbar = Instance.new("Frame")
Topbar.Parent = Main
Topbar.Size = UDim2.new(1,0,0,55)
Topbar.BackgroundTransparency = 1
local Titulo = Instance.new("TextLabel")
Titulo.Parent = Topbar
Titulo.BackgroundTransparency = 1
Titulo.Size = UDim2.new(1,0,1,0)
Titulo.Font = Enum.Font.GothamBold
Titulo.Text = "PX HUB"
Titulo.TextColor3 = COLORES.TEXTO
Titulo.TextSize = 24
Titulo.TextXAlignment = Enum.TextXAlignment.Center
local dragging
local dragInput
local dragStart
local startPos
Topbar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = Main.Position
end
end)
Topbar.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)
UIS.InputChanged:Connect(function(input)
if input == dragInput and dragging then
local delta = input.Position - dragStart
Main.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)
UIS.InputEnded:Connect(function()
dragging = false
end)
local Holder = Instance.new("Frame")
Holder.Parent = Main
Holder.Position = UDim2.new(0,16,0,62)
Holder.Size = UDim2.new(1,-32,1,-75)
Holder.BackgroundTransparency = 1
local Layout = Instance.new("UIListLayout")
Layout.Parent = Holder
Layout.Padding = UDim.new(0,12)
Layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
local function CrearFuncion(Nombre, Slider)
local Funcion = Instance.new("Frame")
Funcion.Parent = Holder
Funcion.Size = UDim2.new(1,0,0,Slider and 74 or 50)
Funcion.BackgroundColor3 = COLORES.TARJETA
Funcion.BorderSizePixel = 0
Instance.new("UICorner",Funcion).CornerRadius = UDim.new(0,14)
local Texto = Instance.new("TextLabel")
Texto.Parent = Funcion
Texto.BackgroundTransparency = 1
Texto.Position = UDim2.new(0,18,0,0)
Texto.Size = UDim2.new(0.5,0,0,50)
Texto.Font = Enum.Font.GothamMedium
Texto.Text = Nombre
Texto.TextColor3 = COLORES.TEXTO
Texto.TextSize = 16
Texto.TextXAlignment = Enum.TextXAlignment.Left
local Toggle = Instance.new("TextButton")
Toggle.Parent = Funcion
Toggle.Size = UDim2.new(0,46,0,24)
Toggle.Position = UDim2.new(1,-65,0,13)
Toggle.BackgroundColor3 = COLORES.GRIS
Toggle.Text = ""
Toggle.BorderSizePixel = 0
Instance.new("UICorner",Toggle).CornerRadius = UDim.new(1,0)
local Bola = Instance.new("Frame")
Bola.Parent = Toggle
Bola.Size = UDim2.new(0,18,0,18)
Bola.Position = UDim2.new(0,3,0.5,-9)
Bola.BackgroundColor3 = Color3.fromRGB(255,255,255)
Bola.BorderSizePixel = 0
Instance.new("UICorner",Bola).CornerRadius = UDim.new(1,0)
local Activado = false
local ValorSlider = 50
local function Update()
if Activado then
TweenService:Create(Toggle,TweenInfo.new(0.15),{
BackgroundColor3 = COLORES.VERDE
}):Play()
TweenService:Create(Bola,TweenInfo.new(0.15),{
Position = UDim2.new(1,-21,0.5,-9)
}):Play()
else
TweenService:Create(Toggle,TweenInfo.new(0.15),{
BackgroundColor3 = COLORES.GRIS
}):Play()
TweenService:Create(Bola,TweenInfo.new(0.15),{
Position = UDim2.new(0,3,0.5,-9)
}):Play()
end
end
Toggle.MouseButton1Click:Connect(function()
Activado = not Activado
Update()
end)
if Slider then
local Numero = Instance.new("TextLabel")
Numero.Parent = Funcion
Numero.BackgroundTransparency = 1
Numero.AnchorPoint = Vector2.new(0.5,0)
Numero.Position = UDim2.new(0.5,0,1,-43)
Numero.Size = UDim2.new(0,60,0,16)
Numero.Font = Enum.Font.GothamBold
Numero.Text = tostring(ValorSlider)
Numero.TextColor3 = COLORES.TEXTO
Numero.TextSize = 13
local Bar = Instance.new("Frame")
Bar.Parent = Funcion
Bar.Position = UDim2.new(0,18,1,-18)
Bar.Size = UDim2.new(1,-36,0,5)
Bar.BackgroundColor3 = COLORES.GRIS
Bar.BorderSizePixel = 0
Instance.new("UICorner",Bar).CornerRadius = UDim.new(1,0)
local Fill = Instance.new("Frame")
Fill.Parent = Bar
Fill.Size = UDim2.new(0.5,0,1,0)
Fill.BackgroundColor3 = COLORES.VERDE
Fill.BorderSizePixel = 0
Instance.new("UICorner",Fill).CornerRadius = UDim.new(1,0)
local Knob = Instance.new("Frame")
Knob.Parent = Bar
Knob.Size = UDim2.new(0,14,0,14)
Knob.Position = UDim2.new(0.5,-7,0.5,-7)
Knob.BackgroundColor3 = COLORES.VERDE
Knob.BorderSizePixel = 0
Instance.new("UICorner",Knob).CornerRadius = UDim.new(1,0)
local Drag = false
Knob.InputBegan:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 then
Drag = true
end
end)
UIS.InputEnded:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 then
Drag = false
end
end)
UIS.InputChanged:Connect(function(i)
if Drag and i.UserInputType == Enum.UserInputType.MouseMovement then
local x = math.clamp(
(i.Position.X - Bar.AbsolutePosition.X) / Bar.AbsoluteSize.X,
0,
1
)
Fill.Size = UDim2.new(x,0,1,0)
Knob.Position = UDim2.new(x,-7,0.5,-7)
ValorSlider = math.floor(x * 100)
Numero.Text = tostring(ValorSlider)
end
end)
end
return {
GetToggle = function()
return Activado
end,
GetSlider = function()
return ValorSlider
end
}
end
local Volar = CrearFuncion("Volar",true)
local Velocidad = CrearFuncion("Velocidad",true)
local Salto = CrearFuncion("Salto infinito",false)
local Atravesar = CrearFuncion("Atravesar paredes",false)
local VerJugadores = CrearFuncion("Ver jugadores",false)
RunService.RenderStepped:Connect(function()
if Velocidad.GetToggle() then
Humanoide.WalkSpeed = Velocidad.GetSlider()
else
Humanoide.WalkSpeed = 16
end
end)
UIS.JumpRequest:Connect(function()
if Salto.GetToggle() then
Humanoide:ChangeState(Enum.HumanoidStateType.Jumping)
end
end)
local prev = false
RunService.Stepped:Connect(function()
local on = Atravesar.GetToggle()
if on then
for _,v in pairs(Personaje:GetDescendants()) do
if v:IsA("BasePart") then
v.CanCollide = false
end
end
end
if prev and not on then
for _,v in pairs(Personaje:GetDescendants()) do
if v:IsA("BasePart") then
v.CanCollide = true
end
end
Humanoide:ChangeState(Enum.HumanoidStateType.GettingUp)
end
prev = on
end)
local function ESP(j)
if j == Jugador then return end
if not j.Character then return end
local r = j.Character:FindFirstChild("HumanoidRootPart")
if not r then return end
if r:FindFirstChild("PX") then return end
local b = Instance.new("BillboardGui")
b.Name = "PX"
b.Parent = r
b.Adornee = r
b.Size = UDim2.new(0,22,0,22)
b.StudsOffset = Vector3.new(0,0,0)
b.AlwaysOnTop = true
local f = Instance.new("Frame")
f.Parent = b
f.Size = UDim2.new(1,0,1,0)
f.BackgroundColor3 = Color3.fromRGB(0,0,0)
f.BorderSizePixel = 0
Instance.new("UICorner",f).CornerRadius = UDim.new(1,0)
local s = Instance.new("UIStroke")
s.Parent = f
s.Color = COLORES.VERDE
s.Thickness = 1.2
end
RunService.RenderStepped:Connect(function()
if VerJugadores.GetToggle() then
for _,p in pairs(Players:GetPlayers()) do
ESP(p)
end
else
for _,p in pairs(Players:GetPlayers()) do
if p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
local e = p.Character.HumanoidRootPart:FindFirstChild("PX")
if e then
e:Destroy()
end
end
end
end
end)
Players.PlayerAdded:Connect(function(p)
p.CharacterAdded:Connect(function()
task.wait(1)
if VerJugadores.GetToggle() then
ESP(p)
end
end)
end)
local flyV
RunService.RenderStepped:Connect(function()
if Volar.GetToggle() then
if not flyV then
flyV = Instance.new("BodyVelocity")
flyV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
flyV.Parent = RootPart
end
local d = Vector3.zero
if UIS:IsKeyDown(Enum.KeyCode.W) then
d += workspace.CurrentCamera.CFrame.LookVector
end
if UIS:IsKeyDown(Enum.KeyCode.S) then
d -= workspace.CurrentCamera.CFrame.LookVector
end
if UIS:IsKeyDown(Enum.KeyCode.A) then
d -= workspace.CurrentCamera.CFrame.RightVector
end
if UIS:IsKeyDown(Enum.KeyCode.D) then
d += workspace.CurrentCamera.CFrame.RightVector
end
flyV.Velocity = d * Volar.GetSlider()
else
if flyV then
flyV:Destroy()
flyV = nil
end
end
end)No comments yet for this script.



