I tried making the car delete when the driver leaves the game, but the car deletes also when a passenger leaves. I tried fixing this many times, but it didn't work out. If you have any solutions, that would be great.
game.Players.PlayerRemoving:Connect(function() script.Parent.Parent:Destroy() end)
So, basically you need to be a little more specific about which player is leaving the game and which one isn't. Here you'll be able to see what I am going to do:
game.Players.PlayerRemoving:Connect(function(p) Seat.Touched:Connect(function(hit) if hit.Parent.Name == p.Name then script.Parent.Parent:Destroy() end end) end)
This may or may not work, because I am not in Team Create mode to test it out.