Universal Script 📌
1.9k Views
1.9k Executions

Tweened Fly Tool by AGBest

Universal Script 📌
1 year 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

Lets you fly in the air using a tool/gear using Tweened movement!

View Raw
local plr = game:GetService("Players").LocalPlayer
local char = plr.Character or plr.CharacterAdded
local root = char.HumanoidRootPart
local humanoid = char.Humanoid
local run = game:GetService("RunService")
local cam = workspace.CurrentCamera
local tool = Instance.new("Tool")
local pos
local gyro
local cf
local dir
local direction
local event

tool.Name = "Noclip"
tool.RequiresHandle = false
tool.Parent = plr.Backpack
 
local speed = 1
 
tool.Equipped:Connect(function()
    pos = Instance.new("BodyPosition")
    gyro = Instance.new("BodyGyro")
    pos.Position = root.Position
    pos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
    pos.P = 100000
    pos.D = 1750
    pos.Parent = root
    gyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
    gyro.P = 100000
    gyro.D = 2200
    gyro.Parent = root
    humanoid.PlatformStand = true
    event = run.Heartbeat:Connect(function()
        cf = cam.CFrame.Rotation
        dir = cf:VectorToObjectSpace(humanoid.MoveDirection * speed)
        if dir.Magnitude == 0 then
            direction = Vector3.new(0,0,0)
        else
            direction = cf:VectorToWorldSpace(Vector3.new(dir.X, 0, dir.Z).Unit * dir.Magnitude)


Comments

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

Tags

More universal scripts

See all
Script hub
265.4k
102.3k
Bumped 22 minutes ago
Key System
Script hub
281.5k
916.9k
Bumped 3 hours ago
Key System

Script hub

#21 this week

Verified script badgeAxon Hub 60+ Games & 800+ Features

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

Script hub

#5 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
29.9k
88.2k
Bumped 5 hours ago
Script hub
19.0k
65.5k
Bumped 5 hours ago
Key System
Universal Script 📌
1.8k
6.7k
Bumped 7 hours ago
Key System
Script hub
179
33
Approved 7 hours ago
Paid

Script hub

anmultv hub

Universal Script 📌
156
51
Approved 7 hours ago