Hello, I have recently encountered an issue in my game with the car spawning GUI. When a player spawns a car, they can click the “Delete Car” button which should delete the car. I have also made it so if a player spawns another car, it will delete their previous. Now, this ONLY works if a player has NOT entered the driver seat. Once a player enters the driver’s seat, the delete car button no longer works. Please take a look at my scripts below and help me fix this issue!
Here is the local script under the Delete Car button:
Here is the client script under Server Script Service: