Do moduleScripts replicate across your own clienet?

Hi. I want to ask a simple question: If one client requires a modulescript across multiple scripts, do the module replicate or is it different for each? And if I have a variable defined outside of the module, and a function inside the return which will set these variables, will that exist across your own client? Thanks

Yeah so if you require a module script from a local script it only replicates to your client think of it as an extension of your local script

The module script is loaded into each local script which required the module script individually.

That’s not my question. I know it only replicates to your localscript, but if two localscripts required the same module on the same client, would it replicate across these two scripts?

Short answer yes it would replicate

1 Like