Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My car breaks whenever it gets cloned to workspace, help?

Asked by
Prioxis 673 Moderation Voter
10 years ago

So my car it is not player driven it goes by itself but whenever I use my pick script that picks the cars and clones them into the workspace it falls apart and the car is not anchored but it is welded and doesn't fall apart if I just already have it in the workspace

heres the moving script

while true do
script.Parent.Velocity = script.Parent.CFrame.lookVector *20
wait(0.1)
end

and here is the script that clones it

Citizen = game.Lighting.Car
Citizen1 = game.Lighting.Car1
Citizens = {Citizen, Citizen1}

while wait() do
RCitizen = Citizens[math.random(1, #Citizens)]
RCitizen:Clone().Parent = game.Workspace
wait(12)
end

I do not know if its from the script but I just posted the scripts just incase...

0
I have a similar problem but instead I have a gui where it spawns a vehicle but It won't let me get on the driver seat when I touch it. I have no idea why this happens. FrontsoldierYT 129 — 4y

Answer this question