flyv5
Key RequiredUniversal

flyv5

Universal Scriptalnasrlwsh733alnasrlwsh733 306 views 8K executesUpdated Aug 29, 2026
Unrated
00
Lua Script•282 lines (9274 chars)
-- Ultra Advanced Fly & Noclip Hub v3.0
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer

local flying = false
local noclip = false
local speed = 60
local movingUp = false
local movingDown = false

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "UltraFlyHubV3"
ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ResetOnSpawn = false

local OpenBtn = Instance.new("TextButton")
OpenBtn.Name = "OpenBtn"
OpenBtn.Parent = ScreenGui
OpenBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
OpenBtn.Position = UDim2.new(0.02, 0, 0.45, 0)
OpenBtn.Size = UDim2.new(0, 90, 0, 40)
OpenBtn.Font = Enum.Font.SourceSansBold
OpenBtn.Text = "✈️ FLY HUB"
OpenBtn.TextColor3 = Color3.fromRGB(0, 255, 150)
OpenBtn.TextSize = 14
OpenBtn.Visible = false
OpenBtn.Active = true
OpenBtn.Draggable = true

local OpenCorner = Instance.new("UICorner")
OpenCorner.CornerRadius = UDim.new(0, 10)
OpenCorner.Parent = OpenBtn

local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 22)
MainFrame.BorderSizePixel = 0
MainFrame.Position = UDim2.new(0.3, 0, 0.2, 0)
MainFrame.Size = UDim2.new(0, 240, 0, 310)
MainFrame.Active = true
MainFrame.Draggable = true

local MainCorner = Instance.new("UICorner")
MainCorner.CornerRadius = UDim.new(0, 12)
MainCorner.Parent = MainFrame

local Title = Instance.new("TextLabel")
Title.Parent = MainFrame
Title.BackgroundColor3 = Color3.fromRGB(28, 28, 35)
Title.Size = UDim2.new(1, 0, 0, 40)
Title.Font = Enum.Font.SourceSansBold
Title.Text = "  ⚡ FLY & NOCLIP V3"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 16
Title.TextXAlignment = Enum.TextXAlignment.Left

local TitleCorner = Instance.new("UICorner")
TitleCorner.CornerRadius = UDim.new(0, 12)
TitleCorner.Parent = Title

local MinimizeBtn = Instance.new("TextButton")
MinimizeBtn.Parent = MainFrame
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
MinimizeBtn.Position = UDim2.new(0.82, 0, 0.08, 0)
MinimizeBtn.Size = UDim2.new(0, 30, 0, 24)
MinimizeBtn.Font = Enum.Font.SourceSansBold
MinimizeBtn.Text = "-"
MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeBtn.TextSize = 18

local MinCorner = Instance.new("UICorner")
MinCorner.CornerRadius = UDim.new(0, 6)
MinCorner.Parent = MinimizeBtn

local ToggleBtn = Instance.new("TextButton")
ToggleBtn.Parent = MainFrame
ToggleBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 70)
ToggleBtn.Position = UDim2.new(0.08, 0, 0.16, 0)
ToggleBtn.Size = UDim2.new(0.84, 0, 0, 35)
ToggleBtn.Font = Enum.Font.SourceSansBold
ToggleBtn.Text = "FLY STATUS: OFF"
ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleBtn.TextSize = 14

local ToggleCorner = Instance.new("UICorner")
ToggleCorner.CornerRadius = UDim.new(0, 8)
ToggleCorner.Parent = ToggleBtn

local NoclipBtn = Instance.new("TextButton")
NoclipBtn.Parent = MainFrame
NoclipBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 70)
NoclipBtn.Position = UDim2.new(0.08, 0, 0.30, 0)
NoclipBtn.Size = UDim2.new(0.84, 0, 0, 35)
NoclipBtn.Font = Enum.Font.SourceSansBold
NoclipBtn.Text = "NOCLIP (WALLS): OFF"
NoclipBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
NoclipBtn.TextSize = 14

local NoclipCorner = Instance.new("UICorner")
NoclipCorner.CornerRadius = UDim.new(0, 8)
NoclipCorner.Parent = NoclipBtn

local TouchControlFrame = Instance.new("Frame")
TouchControlFrame.Parent = ScreenGui
TouchControlFrame.BackgroundTransparency = 1
TouchControlFrame.Position = UDim2.new(0.85, 0, 0.45, 0)
TouchControlFrame.Size = UDim2.new(0, 70, 0, 130)

local UpBtn = Instance.new("TextButton")
UpBtn.Parent = TouchControlFrame
UpBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
UpBtn.Size = UDim2.new(1, 0, 0, 55)
UpBtn.Font = Enum.Font.SourceSansBold
UpBtn.Text = "UP ⬆️"
UpBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
UpBtn.TextSize = 16

local UpCorner = Instance.new("UICorner")
UpCorner.CornerRadius = UDim.new(0, 12)
UpCorner.Parent = UpBtn

local DownBtn = Instance.new("TextButton")
DownBtn.Parent = TouchControlFrame
DownBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
DownBtn.Position = UDim2.new(0, 0, 0.52, 0)
DownBtn.Size = UDim2.new(1, 0, 0, 55)
DownBtn.Font = Enum.Font.SourceSansBold
DownBtn.Text = "DOWN ⬇️"
DownBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
DownBtn.TextSize = 16

local DownCorner = Instance.new("UICorner")
DownCorner.CornerRadius = UDim.new(0, 12)
DownCorner.Parent = DownBtn

local SpeedUpBtn = Instance.new("TextButton")
SpeedUpBtn.Parent = MainFrame
SpeedUpBtn.BackgroundColor3 = Color3.fromRGB(38, 38, 48)
SpeedUpBtn.Position = UDim2.new(0.08, 0, 0.46, 0)
SpeedUpBtn.Size = UDim2.new(0.4, 0, 0, 35)
SpeedUpBtn.Font = Enum.Font.SourceSansBold
SpeedUpBtn.Text = "Speed +"
SpeedUpBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedUpBtn.TextSize = 14

local SpeedUpCorner = Instance.new("UICorner")
SpeedUpCorner.CornerRadius = UDim.new(0, 6)
SpeedUpCorner.Parent = SpeedUpBtn

local SpeedDownBtn = Instance.new("TextButton")
SpeedDownBtn.Parent = MainFrame
SpeedDownBtn.BackgroundColor3 = Color3.fromRGB(38, 38, 48)
SpeedDownBtn.Position = UDim2.new(0.52, 0, 0.46, 0)
SpeedDownBtn.Size = UDim2.new(0.4, 0, 0, 35)
SpeedDownBtn.Font = Enum.Font.SourceSansBold
SpeedDownBtn.Text = "Speed -"
SpeedDownBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedDownBtn.TextSize = 14

local SpeedDownCorner = Instance.new("UICorner")
SpeedDownCorner.CornerRadius = UDim.new(0, 6)
SpeedDownCorner.Parent = SpeedDownBtn

local SpeedLabel = Instance.new("TextLabel")
SpeedLabel.Parent = MainFrame
SpeedLabel.BackgroundTransparency = 1
SpeedLabel.Position = UDim2.new(0.08, 0, 0.62, 0)
SpeedLabel.Size = UDim2.new(0.84, 0, 0, 30)
SpeedLabel.Font = Enum.Font.SourceSansBold
SpeedLabel.Text = "Current Speed: " .. speed
SpeedLabel.TextColor3 = Color3.fromRGB(0, 255, 180)
SpeedLabel.TextSize = 15

local bg = Instance.new("BodyGyro")
bg.P = 9e4
bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)

local bv = Instance.new("BodyVelocity")
bv.maxForce = Vector3.new(9e9, 9e9, 9e9)

local function toggleFly()
    local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
    local root = char:WaitForChild("HumanoidRootPart")
    local hum = char:WaitForChild("Humanoid")

    flying = not flying
    if flying then
        ToggleBtn.Text = "FLY STATUS: ON"
        ToggleBtn.BackgroundColor3 = Color3.fromRGB(40, 200, 100)
        bg.Parent = root
        bv.Parent = root
        hum.PlatformStand = true
    else
        ToggleBtn.Text = "FLY STATUS: OFF"
        ToggleBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 70)
        bg.Parent = nil
        bv.Parent = nil
        hum.PlatformStand = false
    end
end

local function toggleNoclip()
    noclip = not noclip
    if noclip then
        NoclipBtn.Text = "NOCLIP (WALLS): ON"
        NoclipBtn.BackgroundColor3 = Color3.fromRGB(40, 200, 100)
    else
        NoclipBtn.Text = "NOCLIP (WALLS): OFF"
        NoclipBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 70)
    end
end

ToggleBtn.MouseButton1Click:Connect(toggleFly)
NoclipBtn.MouseButton1Click:Connect(toggleNoclip)

MinimizeBtn.MouseButton1Click:Connect(function()
    MainFrame.Visible = false
    OpenBtn.Visible = true
end)

OpenBtn.MouseButton1Click:Connect(function()
    MainFrame.Visible = true
    OpenBtn.Visible = false
end)

UpBtn.MouseButton1Down:Connect(function() movingUp = true end)
UpBtn.MouseButton1Up:Connect(function() movingUp = false end)

DownBtn.MouseButton1Down:Connect(function() movingDown = true end)
DownBtn.MouseButton1Up:Connect(function() movingDown = false end)

SpeedUpBtn.MouseButton1Click:Connect(function()
    speed = speed + 25
    SpeedLabel.Text = "Current Speed: " .. speed
end)

SpeedDownBtn.MouseButton1Click:Connect(function()
    if speed > 25 then
        speed = speed - 25
        SpeedLabel.Text = "Current Speed: " .. speed
    end
end)

RunService.Stepped:Connect(function()
    if noclip and LocalPlayer.Character then
        for _, part in pairs(LocalPlayer.Character:GetDescendants()) do
            if part:IsA("BasePart") then
                part.CanCollide = false
            end
        end
    end
end)

RunService.RenderStepped:Connect(function()
    if flying and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
        local char = LocalPlayer.Character
        local root = char.HumanoidRootPart
        local hum = char:FindFirstChildOfClass("Humanoid")
        
        if bg.Parent == root and hum then
            local camera = workspace.CurrentCamera
            bg.cframe = camera.CFrame

            local finalVelocity = Vector3.new(0, 0, 0)

            if hum.MoveDirection.Magnitude > 0 then
                local relativeMove = camera.CFrame:VectorToObjectSpace(hum.MoveDirection)
                finalVelocity = camera.CFrame:VectorToWorldSpace(Vector3.new(relativeMove.X, 0, relativeMove.Z)) * speed
            end

            if movingUp then
                finalVelocity = finalVelocity + Vector3.new(0, speed, 0)
            elseif movingDown then
                finalVelocity = finalVelocity - Vector3.new(0, speed, 0)
            end

            bv.velocity = finalVelocity
        end
    end
end)

Features & Information

- Mobile & Delta Compatible - Smooth Fly with On-Screen UI & Joystick Support - Working Noclip (Pass through walls) - Up / Down Touch Controls & Speed Adjustment - Minimize GUI Option

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts