My best idea would be to send the name of the object along with specific properties such as position or a humanoid's health in order to find the object on the client/server side by trying to match those properties.

Any better solutions?

3 comments

1

As long as the object is visible by both sides (e.g. you're not sending an object from ServerStorage to a client) you should be fine.

0

how about (temporarily) cloning the object in ReplicatedStorage, where both the client and the server could see it ?

0

you could make a dictionary as a argument, then insert the object as a dictionary value. then just index the dictionary to get the object