Cloned part's scripts not running

  1. What do you want to achieve? I have a part being cloned, and I need the scripts inside to run

  2. What is the issue? The scripts don’t run (they do when it starts in workspace but when cloned they dont)

  3. What solutions have you tried so far? I’ve tried wait(), and different run contexts

The part has 2 scripts, one tweens it and the other sets its size.

Could you maybe show the scripts?

sure

image
image

and the script that clones the part:

Make sure the script is disabled and enable it when cloning
I think you might have done that but I’m not 100% sure

I assume that you clone the part / model via a LocalScript. If you do so you need to remember that normal scripts can’t be run in that part / model. And also normal LocalScript can’t run in the workspace. You need to make “special” scripts by inserting a normal script and setting the runtype (or whatever the property is called) to client. It then looks the same like a normal local script but also runs in the workspace

thank you, i guess i was stupid

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.