RemoteEvents don't pass through object references?

When I try to pass the reference to an object through a RemoteEvent ,

(example:)
event:FireAllClients(game.ReplicatedStorage.Part)

this gets printed out by the client:

<Instance> (Part)

its in string format, so i can’t do anything with this.

My other idea was to pass through Instance information by using :GetFullName() and constructing the reference client-side, but :GetFullname() is problematic because this doesn’t allow multiple objects with the same name to have the same parent.

Is there no way around this?

You can send the object proprieties thrown the remote event and then construct the part on the other side. (not the best solution but it’s the one I can think of)

1 Like