Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I fix this problem with a local script not working in replicated storage?

Asked by 7 years ago

So I have this local script in a part that is in replicated storage. I put the script in the part because the clone of that part then gets teleported to multiple locations so there is ore than 1 part.

It apparently never works because the local script isn't inside starter gui or starter pack

So my question is what's the easiest and shortest way to apply a code from the local script inside of a starter gui to a part's clone (there can even be 100 of them; the exact number isn't known)

btw I tried parenting the script to the part when it get's cloned and when it's in workspace but it didn't work

1
scripts and local scripts do not run in replicate storage, if it could it would not be "storage" then. User#5423 17 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

You are vague when you describe the sentence: "...apply a code from the local script inside of a starter gui to a part's clone..." What do you mean? I will take it like you want the code in the script to be executed for each part, right? Well, there's a simple solution for that. Use a normal Script, not a LocalScript. Why do you need a LocalScript? LocalScripts are mean for players, not items. Could you please describe why you need it in a LocalScript, and maybe provide the code that's inside the script? For now, just try it with a normal Script.

Ad

Answer this question