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

Do things in the replicated storage cause lag to the client?

Asked by 4 years ago

Explanation

Okay so, let's say you make a GUI for your game so people can remove and re-add things to the game that are just there for detail... this would be done so people such as myself who have PC's from 2008 could actually play those types of games. With this, the way they remove the items is by removing it from workspace and how they re-add the said item is by cloning the model in Replicated Storage and moving that clone to the Workspace.

Issue

I've been told that doing this will cause lag to your game as your Client can see everything that's inside of the Replicated Storage, although it may not render... it's still visible on the Client side.

Solutions

There are no solutions as this is something I've been trying to properly figure out for the past six months. I'll list what I've looked over. 1) The Developer Forum 2) The Developer Hub 3) Scripting Helpers

Thank you to anyone who helps me with this.

1
perhaps you could fire a remote event and have the server do it for you? so that it doesn't take up client resources jediplocoon 877 — 4y
1
But I do not know if items in replicated storage use up client resources jediplocoon 877 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

Hey man,

Unfortunately, from my understanding - this will cause lag because these said items placed inside storage containers are replicated to the player's local client which mean that they occupy memory even if the player can't see them.

Best to keep models not needed in ServerStorage - or to somewhat improve this, you can do what jediplocoon said in the comments above.

You can read https://developer.roblox.com/en-us/articles/Improving-Performance for the replication of these items too!

As well as Wsly's response: https://devforum.roblox.com/t/is-this-a-good-way-to-reduce-lag/214326

Hope this will somewhat answer your question.

0
This is exactly what I thought, thank you for answering my question/concern! Just2Terrify 566 — 4y
Ad

Answer this question