---
title: "Fly script | Universal Roblox Script - ScriptBlox"
description: "Fly script for any Roblox game: Script"
canonical_url: "https://scriptblox.com/script/Universal-Script-Fly-script-16601"
meta:
  "og:description": "Fly script for any Roblox game: Script"
  "og:image": "https://scriptblox.com/images/script/1622189-1722594770201.png"
  "og:title": "Fly script | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Fly script for any Roblox game: Script"
  "twitter:image": "https://scriptblox.com/images/script/1622189-1722594770201.png"
  "twitter:title": "Fly script | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/1622189-1722594770201.png)

# **Fly script**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![Tbao](https://scriptblox.com/images/photo/6623187e5177c415565cf256-1730210753112.jpg) [Tbao](https://scriptblox.com/u/Tbao)1M views**

2 years ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

Script

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/Universal-Script-Fly-script-16601)

```
local Library = loadstring(Game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wizard"))()

local PhantomForcesWindow = Library:NewWindow("universal")

local KillingCheats = PhantomForcesWindow:NewSection("Main")



local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

local flyingEnabled = false -- Set to true to start flying, false to stop flying
local flySpeed = 50 -- Adjust fly speed as needed

-- Function to start flying
local function startFlying()
    local bodyGyro = Instance.new("BodyGyro")
    local bodyVelocity = Instance.new("BodyVelocity")

    bodyGyro.P = 9e4
    bodyGyro.maxTorque = Vector3.new(9e4, 9e4, 9e4)
    bodyGyro.cframe = humanoidRootPart.CFrame
    bodyGyro.Parent = humanoidRootPart

    bodyVelocity.velocity = Vector3.new(0, 0, 0)
    bodyVelocity.maxForce = Vector3.new(9e4, 9e4, 9e4)
    bodyVelocity.Parent = humanoidRootPart

    while flyingEnabled do
        local moveDirection = Vector3.new()
        local camera = workspace.CurrentCamera
        local cameraCFrame = camera.CFrame

        -- WASD controls for movement
        if player.Character.Humanoid.MoveDirection.Magnitude > 0 then
            moveDirection = cameraCFrame:VectorToWorldSpace(Vector3.new(player.Character.Humanoid.MoveDirection.X, player.Character.Humanoid.MoveDirection.Y, player.Character.Humanoid.MoveDirection.Z))
        end


```

## **Comments **

**2**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Fly-script-16601)

![Tbao's profile picture](https://scriptblox.com/images/photo/6623187e5177c415565cf256-1730210753112.jpg)

[**Tbao**](https://scriptblox.com/u/Tbao)**Uploader**2 years ago(edited)

[@Wenzukee](https://scriptblox.com/u/Wenzukee) 🤫🧏🧏🧏🧏

1

![sklbldi's profile picture](https://scriptblox.com/images/photo/65dc7de45cdd0306549509f7-1708949012763.jpg)

[**sklbldi**](https://scriptblox.com/u/sklbldi)2 years ago(edited)

Use infinite yield instead of this

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Fly-script-16601#script","url":"https://scriptblox.com/script/Universal-Script-Fly-script-16601","name":"Fly script","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"Tbao","url":"https://scriptblox.com/u/Tbao"},"datePublished":"2024-08-02T10:32:50.282Z","image":"https://scriptblox.com/images/script/1622189-1722594770201.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Fly-script-16601#webpage","@type":"WebPage","description":"Fly script for any Roblox game: Script","name":"Fly script | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Fly-script-16601","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Fly-script-16601#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Fly-script-16601#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Fly-script-16601"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Fly-script-16601#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Fly script","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
