New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
Log in to vote

My vehicle spawner is working, but the vehicle isn't cloning properly?

Asked by 5 months ago

So basically, everything is doing great with the script, but suddenly once your spawn the vehicle, it is anchored in the air, unable to move, you can't even go in the drivers seat, AND when you go on current client, the jet is invisible for some reason. What is going on?

repeat wait() until game.Players.LocalPlayer.Character

local Player = game.Players.LocalPlayer
local Character = Player.Character
local Rp = game.ReplicatedStorage
local Vehicle1 = Rp.Vehicles.Vehicle1

    local ClonedVehicle = Vehicle1:Clone()
    ClonedVehicle.Parent = workspace
    ClonedVehicle.PrimaryPart = ClonedVehicle.Main
I am not sure why it does not spawn. But its not visible because when you click current client you see what the server sees and not you. If you use LocalScript it will not be visible to anyone else and it will look like you fly while sitting. bostaffmanbulgaria1 9 — 5mo
I am too lazy to type a bunch of scripts so here is a model i have that spawns the vehicle. bostaffmanbulgaria1 9 — 5mo
It is a local script xd Used_Develop 14 — 5mo
Also I',m not sure the script is working, do I need to put the "spawn car" remote event somewhere else? Used_Develop 14 — 5mo
How do I add more vehicles to it? Used_Develop 14 — 5mo

Answer this question