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
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.