Universal Script πŸ“Œ
3.7k Views
55.8k Executions

MY OWN FLY GUI

10K executions
Universal Script πŸ“Œ
8 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
33.2k
298.5k
Bumped 3 hours ago
Script hub
23.7k
5.2k
Bumped 3 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
252
772
Bumped 3 hours ago
Universal Script πŸ“Œ
1.7k
31.0k
Bumped 3 hours ago
Script hub
4.1M
559.5k
Bumped 4 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
29.2k
Bumped 5 hours ago
Key System