Universal Script 📌
2.0k Views
1.7k Executions

Smooth Fly Script

Universal Script 📌
l4qic
l4qicFirst script
5 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

F to Toggle WASD To Move (Or Joystick If You Are On Mobile) You Can Adjust The Speed / Acceleration

View Raw
-- Made By l4qic
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local camera = workspace.CurrentCamera

local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local flying = false
local speed = 100 -- adjust
local acceleration = 8
local currentVelocity = Vector3.new(0, 0, 0)

local bodyVelocity
local bodyGyro

local function startFlying()
	if flying then return end
	flying = true
	
	humanoid.PlatformStand = true
	
	bodyVelocity = Instance.new("BodyVelocity")
	bodyVelocity.MaxForce = Vector3.new(1e5, 1e5, 1e5)
	bodyVelocity.Velocity = Vector3.new(0, 0, 0)
	bodyVelocity.Parent = character:FindFirstChild("HumanoidRootPart")
	
	bodyGyro = Instance.new("BodyGyro")
	bodyGyro.MaxTorque = Vector3.new(1e5, 1e5, 1e5)
	bodyGyro.P = 10000
	bodyGyro.D = 500
	bodyGyro.Parent = character:FindFirstChild("HumanoidRootPart")
end

local function stopFlying()
	if not flying then return end
	flying = false
	
	if bodyVelocity then bodyVelocity:Destroy() end


Comments

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

More universal scripts

See all
Script hub
3.0M
18.5M
Bumped 33 minutes ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM Hub KEYLESS 2026

Script hub
119.5k
193.5k
Bumped 6 hours ago
Key System
Script hub
180.8k
1.8M
Bumped 6 hours ago
Key System
Universal Script 📌
1.1k
2.4k
Bumped 6 hours ago
Script hub
60.1k
243.1k
Bumped 6 hours ago
Key System
Universal Script 📌
6.2k
53.3k
Bumped 9 hours ago
Universal Script 📌
122.9k
878.3k
Bumped 9 hours ago