Universal Script 📌
432 Views
9.5k Executions

Car fly script

Universal Script 📌
*nNiga
*nNigaFirst script
3 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
2.8M
661.0k
Bumped 18 minutes ago
Key System

Script hub

#4 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
56
10
Approved 2 hours ago
Universal Script 📌
4.1k
185.5k
Bumped 9 hours ago
Script hub
841
56
10 hours ago
Universal Script 📌
29.0k
674.0k
Bumped 12 hours ago