Local scripts in starter character scripts

Hello all.

Quite a simple question, but when you put a local script into StarterCharacterScripts, does it clone it into each person’s character? For example, if I were to have access to the explorer in a server with 3 players, and I checked the hierarchy of each player’s character, would there be a script in all of them or only mine?

If it does duplicate the script for each character, is there a way to only duplicate it for only the local player’s character?

Thanks.

LocalScripts in StarterCharacterScripts are cloned into each character. That is the entire point of the service.

And so all the local scripts in other characters will be in the workspace for me?

Yes, however that won’t be a problem since the code in the scripts
just affecting them.

Okay, my main concern is memory though. I’m under the impression that all objects in the workspace take up a certain amount of memory (forgive me if this is horribly wrong I’m a novice). Will this use up my memory to load the objects, or is the amount so miniscule and insignificant that it won’t matter?

Literally so miniscule it doesn’t matter.

1 Like

Alright cool, thank you man :slight_smile:

1 Like