Universal Script 📌
3.7k Views
49.1k Executions

MY OWN FLY GUI

10K executions
Universal Script 📌
7 months ago
Get an 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

Fly

View Raw
local ScreenGui = Instance.new("ScreenGui", game:GetService("CoreGui"))
local FlyBtn = Instance.new("TextButton", ScreenGui)
local UICorner = Instance.new("UICorner", FlyBtn)

-- GUI Setup
FlyBtn.Name = "CodexFlyButton"
FlyBtn.Size = UDim2.new(0, 90, 0, 45)
FlyBtn.Position = UDim2.new(0.05, 0, 0.45, 0)
FlyBtn.Text = "FLY: OFF"
FlyBtn.Draggable = true 
FlyBtn.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
FlyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
FlyBtn.Font = Enum.Font.SourceSansBold
FlyBtn.TextSize = 16
UICorner.CornerRadius = UDim.new(0, 8)

local plr = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
local flying = false
local speed = 70 

local function startFly()
    local char = plr.Character
    if not char then return end
    local root = char:WaitForChild("HumanoidRootPart")
    local hum = char:WaitForChild("Humanoid")
    
    local bv = Instance.new("BodyVelocity", root)
    bv.MaxForce = Vector3.new(1e6, 1e6, 1e6)
    bv.Velocity = Vector3.new(0, 0, 0)
    
    local bg = Instance.new("BodyGyro", root)
    bg.MaxTorque = Vector3.new(1e6, 1e6, 1e6)
    bg.P = 10000
    
    hum:ChangeState(Enum.HumanoidStateType.Swimming)

    task.spawn(function()
        while flying and char and root do
            local moveDir = hum.MoveDirection -- This is your Joystick input


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
49
3
Approved 1 hour ago
Key System
Script hub
2.9M
1.1M
Bumped 6 hours ago
Key System

Script hub

#9 today

CanHub V2 200 GAMES KEYLESS

Script hub
5.5M
1.0M
Bumped 7 hours ago
Key System
Script hub
1.7M
2.2M
Bumped 8 hours ago
Key System

Script hub

#16 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
14.8k
83.5k
Bumped 8 hours ago
Key System

Script hub

Kronos New

Script hub
3.2M
756.0k
Bumped 11 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated