I am currently trying to make a vehicle control system via local and modular scripts, and right now, I have to directly find the cars name, settings, etc in workspace, before applying any code. What I am trying to do however is using a "controller" local script, to find whatever car I get into, and then use the code with settings inside the vehicles. This way, if the player gets into any car, they would be able to drive it, instead of it resulting in an error from 2 models of the same name existing.

I've tried using certain events, like the Changed event, checking the occupant and attempting to find things from that, and manually remembering each car, but they have all failed. If anyone can explain how I could find items, such as a "car," with the same names (Car1, Car1, Car2, etc.) you would be able to get out and still use a script on them, without having to individually find them.

Any help would be nice