Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to access ReplicatedStorage from Client Side?

Asked by 6 years ago

So... here's the story. Very short.

With my Script, I cloned a model from ServerStorage to ReplicatedStorage. My understanding of ReplicatedStorage is that both Client and Server can see it, but when I tried to get the cloned model that is in ReplicatedStorage with a LocalScript, I failed to do so (The cloned object doesn't even show up in Client side's ReplicatedStorage). Any ideas on why it does this, and how to fix it?

Thanks.

  • TB
0
[Off-Topic] Do you actually build Tokyo themed stuff? GingeyLol 338 — 6y
0
What on earth are you trying to clone from storage to storage? MachoPiggies 526 — 6y
0
I believe replicated storage only replicates when the game server starts, so any changes after that show up. protectiveebob 221 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Um, to clone something wouldn't it be,

local clonepart = game:GetService("ServerStorage").[location of item]

 clonepart:Clone()

clonepart.Parent = game:GetService("ReplicatedStorage")

Wouldn't it be just this?

Ad

Answer this question