Is there a more efficient way of storing a localscript in the player’s character?
Currently, I’m listening for the .CharacterAdded event, however that doesn’t sound as efficient as parenting it somewhere else just once (ex: StarterCharacterScripts), but inserting it there will just make every player in the server have it.
Is there a solution to this, or somehow mess around with the StarterCharacterScripts in order to achieve this?
You don’t have to put a local script inside the player until you want that there to effect them.
You could use a collection service to tag each user that has made it to a specific checkpoint and use the Tagging Instance signls to add or remove the desired local script. You could leave the local script in ReplicatedStorage then clone it out as you need when the desired event fires.
This should go to #help-and-feedback:code-review, you need to show your code and we could help you to improve it. And please, find a better name for the topic. I don‘t know why you don‘t want to use the CharacterAdded event, when you parent the model in the StarterCharacterScripts, I think (correct me if I am wrong) that ituse the same event listner. And, just create a basic code like:
I don’t need to provide code, this is only a question.
You are still using the .CharacterAdded event.
Roblox won’t let you do that because StarterCharacterScripts is not available to be used yet (other than in the StarterPlayer service, it’s not inside the actual player itself or game.Players).
Anyways, that answers my question for now. Hopefully this feature will be enabled soon as it does exist.