iibronzee
(coasts)
December 18, 2025, 8:35am
1
As the title says…
For most of my projects I rely on the use of one script for the client and server, while everything else uses ModuleScripts.
A little more context:
This client script handles preloading aswell as running the client modules.
So my question is:
Does it matter if my client script is ran in ReplicatedFirst vs StarterPlayerScripts/performance impacts?
And if so, should I have a dedicated preload script in ReplicatedFirst and have my client script in StarterPlayerScripts?
you can run your localscript in replicatedfirst but only if its essential in the start of the game
and yes it does matter if you run your client script in replicatedfirst unnecessarily it could cause the game to load slower
you should check out the roblox documentation for more accurate information
https://create.roblox.com/docs/reference/engine/classes/ReplicatedFirst
halosviel
(halosviel)
December 18, 2025, 11:29am
3
When confused about a service/instance, you can refer to the documentations since Roblox writes all the info there!
This is what it says:
While there is no info on the technical aspects, it’s still standard practice to keep your non-essential client code elsewhere and leave ReplicatedFirst for things like preloading and custom loading screens.