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?
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?
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
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.
how about (temporarily) cloning the object in ReplicatedStorage, where both the client and the server could see it ?
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