I have some objects inside game.StarterGui.ScreenGui
that I don’t need to be replicated to Players.LocalPlayer.PlayerGui.ScreenGui
every time I run my project.
Is there a way to do this?
You would have to make a custom folder inside ReplicatedStorage
or ServerStorage
, then you’d need to put that part in.
Else another option is adding a seperate LocalScript
which deletes certain aspects of the Gui
itself.
I want to avoid unnecessary copy overhead and memory usage at game start.
Putting in ReplicatedStorage
will generate copies.
Putting in ServerStorage
will not be accessible to LocalScript.
Deleting objects after they’ve been created is the same thing.
A better understanding of what you are trying to achieve might yield more effective solutions. Could you have the sever clone the content from ServerStorage to the client at the client’s request?