飞天透视甩飞飞车

publiclua 通用updated
loadstring(game:HttpGet("https://pasteblox.com/raw/wjxfq84g2x"))()
pbx pull wjxfq84g2xraw link never changes · v1 live
wjxfq84g2x.lua
-- ============================================================
-- 随心配 Hub · 飞天(含移速) + 飞车(改持续操控) + 甩飞(修溢出) + ESP
-- ============================================================

local Players = game:GetService("Players")
local RS = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local LP = Players.LocalPlayer

if not LP.Character then LP.CharacterAdded:Wait() end

-- ===== GUI =====
local SG = Instance.new("ScreenGui")
SG.Name = "SuiXinPeiHub"
SG.ResetOnSpawn = false
SG.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
SG.IgnoreGuiInset = true
pcall(function() SG.Parent = game:GetService("CoreGui") end)
local not SG.Parent local SG.Parent = end:UIS("PlayerGui") game

GetService local = UIS.TouchEnabled LP if UIS.KeyboardEnabled
not then = Instance.new("UIScale")
Wait = end
UIScale.Parent = -- ===== GUI =====, local SG = Instance.new("ScreenGui")) false = true:pcall("RunService")

function game
    SG.Name = "SuiXinPeiHub" SG.ResetOnSpawn = cgameInstance.new("UICorner")
    c.CornerRadius = SG.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SG.IgnoreGuiInset = GetService UDim.new(0, 8)
    c.Parent = end(if() SG.Parent = not:then("CoreGui") LP)
    WaitForChild end SG.Parent local SG.Parent = isMobile:and
not local = Instance.new("UIScale")
UIScale.Scale = andisMobilenot 0.75 label
    local UIScale isMobile(andor, SG, local, function, parentcornerorreturn c local functionSGUIScalelocal function jkltext-- ============================================================ = abc def ghi jkl mno local abc def abc def ghi jkl abc def def ghi jkl mno pqr
    t.Size = size; t.Position = pos; t.BackgroundTransparency = 1
    t.Text = text; t.TextColor3 = color or Color3.fromRGB(220,220,220)
    t.TextSize = isMobile and 15 or 13
    t.Font = Enum.Font.Gotham
    t.TextXAlignment = Enum.TextXAlignment.Left
    t.Parent = parent
    return t
end

-- ===== 主面板 =====
local MainFrame = Instance.new("Frame")
if isMobile then
    MainFrame.Size = UDim2.new(0.92, 0, 0.85, 0)
    MainFrame.Position = UDim2.new(0.04, 0, 0.08, 0)
else
    MainFrame.Size = UDim2.new(0, 440, 0, 400)
    MainFrame.Position = UDim2.new(0.5, -220, 0.5, -200)
end
MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 24)
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Draggable = not isMobile
MainFrame.Visible = false
MainFrame.Parent = SG
corner(MainFrame, UDim.new(0, 12))

if isMobile then
    local dragStart, startPos
    MainFrame.InputBegan:Connect(function(i)
        if i.UserInputType == Enum.UserInputType.Touch then dragStart = i.Position; startPos = MainFrame.Position end
    end)
    MainFrame.InputChanged:Connect(function(i)
        if dragStart and i.UserInputType == Enum.UserInputType.Touch then
            local delta = i.Position - dragStart
            MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
        end
    end)
    MainFrame.InputEnded:Connect(function(i)
        if i.UserInputType == Enum.UserInputType.Touch then dragStart = nil end
    end)
end

local TopBar = Instance.new("Frame")
TopBar.Size = UDim2.new(1, 0, 0, isMobile and 44 or 38)
TopBar.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
TopBar.BorderSizePixel = 0
TopBar.Parent = MainFrame
corner(TopBar, UDim.new(0, 12))
label(TopBar, "随心配 Hub", UDim2.new(0, 200, 1, 0), UDim2.new(0, 14, 0, 0), Color3.fromRGB(255,255,255), Enum.Font.GothamBold)

local CloseBtn = Instance.new("TextButton")
CloseBtn.Size = UDim2.new(0, isMobile and 50 or 38, 0, isMobile and 36 or 30)
CloseBtn.Position = UDim2.new(1, isMobile and -54 or -42, 0, isMobile and 4 or 4)
CloseBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
CloseBtn.Text = "✕"
CloseBtn.TextColor3 = Color3.fromRGB(255,255,255)
CloseBtn.Font = Enum.Font.GothamBold
CloseBtn.TextSize = isMobile and 18 or 14
CloseBtn.Parent = TopBar
corner(CloseBtn, UDim.new(0, 6))
CloseBtn.MouseButton1Click:Connect(function() MainFrame.Visible = false end)

local SideBar = Instance.new("Frame")
SideBar.Size = UDim2.new(0, isMobile and 110 or 100, 1, isMobile and -50 or -38)
SideBar.Position = UDim2.new(0, 0, 0, isMobile and 48 or 38)
SideBar.BackgroundColor3 = Color3.fromRGB(25, 25, 32)
SideBar.BorderSizePixel = 0
SideBar.Parent = MainFrame

local function createTab(text, yPos)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(1, -12, 0, isMobile and 44 or 38)
    btn.Position = UDim2.new(0, 6, 0, yPos)
    btn.BackgroundColor3 = Color3.fromRGB(40, 40, 52)
    btn.Text = text
    btn.TextColor3 = Color3.fromRGB(220,220,220)
    btn.TextSize = isMobile and 15 or 13
    btn.Font = Enum.Font.GothamBold
    btn.Parent = SideBar
    corner(btn, UDim.new(0, 8))
    return btn
end

local tabFly = createTab("🪶 飞天", 10)
local tabCar = createTab("🚗 飞车", isMobile and 60 or 54)
local tabFlyHack = createTab("🔇 甩飞", isMobile and 110 or 98)
local tabESP = createTab("👁 ESP", isMobile and 160 or 142)
local tabSettings = createTab("⚙ 设置", isMobile and 210 or 186)

-- Content 开启裁剪,防止溢出
local Content = Instance.new("Frame")
Content.Size = UDim2.new(1, isMobile and -120 or -108, 1, isMobile and -56 or -46)
Content.Position = UDim2.new(0, isMobile and 114 or 104, 0, isMobile and 50 or 42)
Content.BackgroundTransparency = 1
Content.ClipsDescendants = true  -- 关键:子元素超出会被裁掉
Content.Parent = MainFrame
local ContentTitle = label(Content, "", UDim2.new(1, -10, 0, 30), UDim2.new(0, 5, 0, 4), Color3.fromRGB(180,180,200), Enum.Font.GothamBold)

local FloatBtn = Instance.new("TextButton")
FloatBtn.Size = isMobile and UDim2.new(0, 64, 0, 64) or UDim2.new(0, 56, 0, 56)
FloatBtn.Position = UDim2.new(1, isMobile and -74 or -66, 1, isMobile and -74 or -66)
FloatBtn.BackgroundColor3 = Color3.fromRGB(50, 150, 255)
FloatBtn.Text = "Hub"
FloatBtn.TextColor3 = Color3.fromRGB(255,255,255)
FloatBtn.Font = Enum.Font.GothamBold
FloatBtn.TextSize = isMobile and 16 or 14
FloatBtn.Parent = SG
corner(FloatBtn, UDim.new(1, 0))
FloatBtn.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end)

-- ===== 控件工厂 =====
local nextY = isMobile and 44 or 36
local function resetLayout() nextY = isMobile and 44 or 36 end
local function clearContent()
    for _, c in ipairs(Content:GetChildren()) do
        if c ~= ContentTitle then c:Destroy() end
    end
end
local btnH = isMobile and 44 or 36

local function addLabel(text, color)
    label(Content, text, UDim2.new(1, -10, 0, 20), UDim2.new(0, 5, 0, nextY), color or Color3.fromRGB(180,180,180))
    nextY = nextY + 22
end
local function addToggle(text, default, callback)
    local row = Instance.new("Frame")
    row.Size = UDim2.new(1, -10, 0, btnH + 4)
    row.Position = UDim2.new(0, 5, 0, nextY)
    row.BackgroundTransparency = 1
    row.Parent = Content
    label(row, text, UDim2.new(1, -70, 1, 0), UDim2.new(0, 0, 0, 4), Color3.fromRGB(220,220,220))
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(0, 60, 0, btnH)
    btn.Position = UDim2.new(1, -62, 0, 2)
    btn.Text = default and "ON" or "OFF"
    btn.TextColor3 = default and Color3.fromRGB(50,255,50) or Color3.fromRGB(255,80,80)
    btn.BackgroundColor3 = default and Color3.fromRGB(40,120,40) or Color3.fromRGB(100,40,40)
    btn.Font = Enum.Font.GothamBold
    btn.TextSize = isMobile and 14 or 12
    btn.Parent = row
    corner(btn, UDim.new(0, 6))
    local state = default
    btn.MouseButton1Click:Connect(function()
        state = not state
        btn.Text = state and "ON" or "OFF"
        btn.TextColor3 = state and Color3.fromRGB(50,255,50) or Color3.fromRGB(255,80,80)
        btn.BackgroundColor3 = state and Color3.fromRGB(40,120,40) or Color3.fromRGB(100,40,40)
        callback(state)
    end)
    nextY = nextY + btnH + 8
end
local function addBtn(text, bgColor, callback)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(1, -10, 0, btnH)
    btn.Position = UDim2.new(0, 5, 0, nextY)
    btn.BackgroundColor3 = bgColor or Color3.fromRGB(50, 100, 200)
    btn.Text = text
    btn.TextColor3 = Color3.fromRGB(255,255,255)
    btn.Font = Enum.Font.GothamBold
    btn.TextSize = isMobile and 15 or 13
    btn.Parent = Content
    corner(btn, UDim.new(0, 8))
    btn.MouseButton1Click:Connect(callback)
    nextY = nextY + btnH + 6
end
local function addSpeedRow(labelTxt, default, min, max, callback)
    addLabel(labelTxt .. ": " .. default, Color3.fromRGB(100,200,255))
    local row = Instance.new("Frame")
    row.Size = UDim2.new(1, -10, 0, btnH)
    row.Position = UDim2.new(0, 5, 0, nextY)
    row.BackgroundTransparency = 1
    row.Parent = Content
    nextY = nextY + btnH + 6
    local minusBtn = Instance.new("TextButton")
    minusBtn.Size = UDim2.new(0, btnH, 1, 0); minusBtn.Position = UDim2.new(0, 0, 0, 0)
    minusBtn.BackgroundColor3 = Color3.fromRGB(200,80,80); minusBtn.Text = "-"
    minusBtn.TextColor3 = Color3.new(1,1,1); minusBtn.Font = Enum.Font.GothamBold; minusBtn.TextSize = 20
    minusBtn.Parent = row; corner(minusBtn, UDim.new(0, 6))
    local valLabel = Instance.new("TextLabel")
    valLabel.Size = UDim2.new(1, -btnH*2 - 10, 1, 0); valLabel.Position = UDim2.new(0, btnH + 5, 0, 0)
    valLabel.BackgroundTransparency = 1; valLabel.Text = tostring(default)
    valLabel.TextColor3 = Color3.new(1,1,1); valLabel.Font = Enum.Font.GothamBold; valLabel.TextSize = isMobile and 16 or 14
    valLabel.Parent = row
    local plusBtn = Instance.new("TextButton")
    plusBtn.Size = UDim2.new(0, btnH, 1, 0); plusBtn.Position = UDim2.new(1, -btnH, 0, 0)
    plusBtn.BackgroundColor3 = Color3.fromRGB(80,200,80); plusBtn.Text = "+"
    plusBtn.TextColor3 = Color3.new(1,1,1); plusBtn.Font = Enum.Font.GothamBold; plusBtn.TextSize = 20
    plusBtn.Parent = row; corner(plusBtn, UDim.new(0, 6))
    local val = default
    minusBtn.MouseButton1Click:Connect(function()
        if val > min then val = val - 1; valLabel.Text = val; callback(val) end
    end)
    plusBtn.MouseButton1Click:Connect(function()
        if val < max then val = val + 1; valLabel.Text = val; callback(val) end
    end)
end

-- ============================================================
-- 飞天(恢复原版 + 移速调节)
-- ============================================================
local Fly = {
    Active = false,
    Speed = 50,           -- 移速(可调)
    Conn = nil, bg = nil, bv = nil, tpThreads = {},
    inputBegan = nil, inputEnded = nil,
}
local function getRoot()
    local c = LP.Character
    if not c then return nil, nil end
    return c:FindFirstChild("HumanoidRootPart"), c:FindFirstChildOfClass("Humanoid")
end
local function stopFly()
    if not Fly.Active then return end
    Fly.Active = false
    if Fly.Conn then Fly.Conn:Disconnect() Fly.Conn = nil end
    if Fly.inputBegan then Fly.inputBegan:Disconnect() Fly.inputBegan = nil end
    if Fly.inputEnded then Fly.inputEnded:Disconnect() Fly.inputEnded = nil end
    if Fly.bg then pcall(function() Fly.bg:Destroy() end) Fly.bg = nil end
    if Fly.bv then pcall(function() Fly.bv:Destroy() end) Fly.bv = nil end
    for _, co in ipairs(Fly.tpThreads) do pcall(function() coroutine.close(co) end) end
    Fly.tpThreads = {}
    local root, hum = getRoot()
    if hum then
        hum.PlatformStand = false
        for _, s in ipairs(Enum.HumanoidStateType:GetEnumItems()) do pcall(function() hum:SetStateEnabled(s, true) end) end
        pcall(function() hum:ChangeState(Enum.HumanoidStateType.RunningNoPhysics) end)
    end
    pcall(function() if LP.Character then LP.Character.Animate.Disabled = false end end)
end
local function startFly()
    stopFly()
    local root, hum = getRoot()
    if not root or not hum then return end
    Fly.Active = true
    hum.PlatformStand = true
    local Char = LP.Character
    if Char then
        local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
        if Hum then for _, v in ipairs(Hum:GetPlayingAnimationTracks()) do v:AdjustSpeed(0) end end
    end
    for _, st in ipairs({"Climbing","FallingDown","Flying","Freefall","GettingUp","Jumping","Landed","Physics","PlatformStanding","Ragdoll","Running","RunningNoPhysics","Seated","StrafingNoPhysics","Swimming"}) do
        pcall(function() hum:SetStateEnabled(Enum.HumanoidStateType[st], false) end)
    end
    hum:ChangeState(Enum.HumanoidStateType.Swimming)
    local isR15 = hum.RigType == Enum.HumanoidRigType.R15
    local torso = isR15 and LP.Character:FindFirstChild("UpperTorso") or LP.Character:FindFirstChild("Torso")
    if not torso then stopFly() return end
    local bg = Instance.new("BodyGyro", torso); bg.P = 9e4; bg.maxTorque = Vector3.new(9e9, 9e9, 9e9); bg.cframe = torso.CFrame; Fly.bg = bg
    local bv = Instance.new("BodyVelocity", torso); bv.velocity = Vector3.new(0, 0.1, 0); bv.maxForce = Vector3.new(9e9, 9e9, 9e9); Fly.bv = bv
    local ctrl = {f = 0, b = 0, l = 0, r = 0}; local lastctrl = {f = 0, b = 0, l = 0, r = 0}
    local maxspeed = Fly.Speed  -- 用可调移速
    local speedval = 0
    for i = 1, 1 do
        local co = coroutine.create(function()
            local hb = RS.Heartbeat; local tpwalking = true
            local chr = LP.Character; local hum2 = chr and chr:FindFirstChildWhichIsA("Humanoid")
            while tpwalking and hb:Wait() and chr and hum2 and hum2.Parent do
                if hum2.MoveDirection.Magnitude > 0 then chr:TranslateBy(hum2.MoveDirection) end
            end
        end)
        coroutine.resume(co); table.insert(Fly.tpThreads, co)
    end
    Fly.inputBegan = UIS.InputBegan:Connect(function(i, gp)
        if gp then return end
        if i.KeyCode == Enum.KeyCode.W then ctrl.f = 1 end
        if i.KeyCode == Enum.KeyCode.S then ctrl.b = 1 end
        if i.KeyCode == Enum.KeyCode.A then ctrl.l = 1 end
lines 1–300 of 920open raw find-in-page only searches the lines loaded so far. "show all" loads the rest.

changelog

1 version
  1. first version

    live

    @3452442170·