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

Which service is best to store objects that will be used by the client?

Asked by 9 years ago

Pretty much what my question asked. The lighting in my place contain many attachments, sights, guns, etc, and it causes lag. So which service is best to store objects: Lighting or ReplicatedStorage?

1 answer

Log in to vote
1
Answered by
Merely 2122 Moderation Voter Community Moderator
9 years ago

If the guns are given out by a server script, you should be storing the objects in ServerStorage. None of the objects in ServerStorage are replicated to the client until you copy them to the Workspace.

Put them in ReplicatedStorage if you are cloning the weapons from a LocalScript.

1
Ok, thanks! TurboFusion 1821 — 9y
Ad

Answer this question