Universal Script 📌
17.5k Views
155 Executions

Fly

Universal Script 📌
yosinkholoh
yosinkholohFirst script
2 years 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

Press F to start flying. F again to stop flying. For every game.

View Raw
--[[
    WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
    Toggle Fly: Press 'F' to start flying / stop flying.
]]

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

local flying = false
local speed = 50 -- Speed of flight (adjustable)
local flyHeight = 5 -- Height above the ground when flying

-- BodyVelocity used for flying
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.MaxForce = Vector3.new(100000, 100000, 100000) -- Make sure the force is high enough to allow flying
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.P = 10000

-- Create a simple UI to show flying status
local flyingLabel = Instance.new("TextLabel")
flyingLabel.Size = UDim2.new(0, 200, 0, 50)
flyingLabel.Position = UDim2.new(0.5, -100, 0.5, -25)
flyingLabel.BackgroundTransparency = 1
flyingLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
flyingLabel.TextScaled = true
flyingLabel.Text = "Press 'F' to Toggle Fly"
flyingLabel.Parent = player.PlayerGui:WaitForChild("ScreenGui")

-- Function to toggle flying on/off
local function toggleFly()
    if flying then
        -- Disable flying: remove the BodyVelocity and return the character to normal state
        bodyVelocity.Parent = nil
        humanoid.PlatformStand = false
        flying = false
        flyingLabel.Text = "Press 'F' to Toggle Fly"


Comments

4
Log in to join the conversation. Login
yosinkholoh's profile picture
yosinkholohUploader6 months ago

((((MODERATER)))) PLEZ APPROVE; ITS NOT RIVALS BUT ITS SOMETHING TO PROVE IM 7 DAYS OLD ACCOUNT.

1
yosinkholoh's profile picture
yosinkholohUploader2 years ago(edited)

I got it from Chatgpt

1
yosinkholoh's profile picture
yosinkholohUploader2 years ago(edited)

Never tested

1
travisbat25's profile picture
travisbat252 years ago(edited)

don't work

1

More universal scripts

See all
Script hub
10
0
Approved 6 minutes ago
Universal Script 📌
59
1
Approved 1 hour ago
Key System
Script hub
167.3k
1.3M
Bumped 2 hours ago
Key System
Script hub
265.5k
102.3k
Bumped 3 hours ago
Key System
Script hub
281.6k
917.0k
Bumped 5 hours ago
Key System

Script hub

#21 this week

Verified script badgeAxon Hub 60+ Games & 800+ Features

Script hub
2.1M
704.6k
Bumped 6 hours ago
Key System

Script hub

#5 today

Verified script badgeLumin Hub | #1 | Insta Steal