Im making a car spawner gui which ive got working fine but ive been trying to come up with a script that allows only one car per person so that it deletes the other cars they've previously spawned in and replaces it with the new one etc, can anyone help?

this is my script so far and its stored in a text box

script.Parent.MouseButton1Click:connect(function(GetCar) Mod = game.ServerStorage.VWPASSATESTATECIV clone = Mod:clone() clone.Parent = workspace clone:MakeJoints() end)

thanks