How can I make spawned models have different remote events

Hello, Im Trying to make a system that can generate multiple scripts on server script service to handle player input while I spawn different vehicles (for example)

My issue is that if I give each new model a remote event and a serverscript they will have the same names and will end up not working

I thought about making each new Remote Event and server script have the same name with a different number each time the model spawns, but here the issue:

to make that I would have to make the script and copy it so it has information inside, but if I do that then the script wont be able to know what was the name of the model it is supposed to work with.

Any solution to this?

Maybe using less Server scripts or working in a diffferent way…

-Thanks for reading, elpanlo

Why not have one remote event and pass the model in as an argument

I’ll try

If I can make it work, great if not maybe I’ll try another way of making it or a fix