Universal Script 📌
550 Views
10.1k Executions

Car fly script

10K executions
Universal Script 📌
*nNiga
*nNiga10K executions
4 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

READ THE DESCRIPTION❗❗❗❗❗❗❗‼️‼️‼️‼️‼️‼️‼️ This script makes your vechicle fly. It might be unstable and it rotates your camera, i dunno how to fix it. ITS BOTH FOR MOBILE AND PC but its uncomfortable for mobile. I tested it and i must say its kinda glitchy so dont complain lol

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")

local player = Players.LocalPlayer
local camera = workspace.CurrentCamera

local flying = false
local scriptEnabled = true
_G.VehicleFlySpeed = 60

local attachment, linearVelocity, currentSeat, screenGui
local currentInputs = {w = false, s = false, a = false, d = false, up = false, down = false}

local function stopVFly()
    flying = false
    if _G.VFlyConnection then
        _G.VFlyConnection:Disconnect()
        _G.VFlyConnection = nil
    end
    if attachment then pcall(function() attachment:Destroy() end) end
    if linearVelocity then pcall(function() linearVelocity:Destroy() end) end
    attachment, linearVelocity, currentSeat = nil, nil, nil
end

local function startVFly(seat)
    if flying then stopVFly() end
    if not scriptEnabled then return end 
    currentSeat = seat
    flying = true
    
    pcall(function()
        attachment = Instance.new("Attachment", seat)
        
        linearVelocity = Instance.new("LinearVelocity")
        linearVelocity.Attachment0 = attachment
        linearVelocity.MaxForce = 9e5
        linearVelocity.VectorVelocity = Vector3.zero
        linearVelocity.Parent = seat
    end)


Comments

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

More universal scripts

See all
Script hub
178.8k
1.7M
Bumped 4 hours ago
Key System
Universal Script 📌
9.1k
31.9k
Bumped 5 hours ago
Script hub
49.9k
12.4k
Bumped 6 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 10 hours ago
Key System
Script hub
20.7k
4.0k
Bumped 11 hours ago
Key System
Paid
Universal Script 📌
753
231
Approved 17 hours ago
Universal Script 📌
657
2.9k
Approved 17 hours ago