Need help on fixing a Car Spawn bug

This is my first time making a topic so I may not explain it well but anyway, I recently made a car spawning script and recently came across an error. The script has been attempting to index nil with ‘Parent’ on a clone of a car model. The clone is spawned until the second spawn attempt.

Here is an image of the script and problem.

The Script

The Error

Well the error means that it cannot parent ‘clone’ because clone = nil, meaning it doesnt exist.
The reason this is the case is because you aren’t actually cloning Car1, but using the original car object instead, Meaning that when it spawns once, it is no longer in serverstorage. This is why it only works on first spawn.

The solution is really simple, you just forgot to add :Clone() at the end of this line
image

clone = game.ServerStorage:FindFirstChild("Cars"):FindFirstChild('Car1'):Clone()

I thought I had clone in the script the whole time. :man_facepalming:

Anyways, thank you for the help.