How would I replicate this?

Hello, I’m currently trying to replicate a model from serverstorage to the client. But how would I do this? From the server I have an object value, which value is the model that i’m trying to replicate. However the client cannot see this model because obviously it doesn’t have access to server storage, leaving the value blank. In more simplier terms what i’m trying to do is replicate the object value’s value to the client.

I would recommend putting the value in ReplicatedStorage because both the server and the client have access to ReplicatedStorage, allowing the client to have access to the object value.

the thing is, there are many many models that are being stored into serverstorage, if i move all of them into replicated storage. the client would have to load in all of those models every time they join. which is something that i do not want.

Could you have the server send a remote event to the client with the model?

how would i include the model with the remote event though? im very new to using remotes sorry

When you fire the remote event send the model as a parameter in the parenthesis. Then on the client receive the remote event and connect it to a function requiring a parameter that is the model. If you want all the clients to see the model use fireallclients else use fireclient and send a player as the first parameter.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.