How can I make an instance (using a script) have a script?

This is a support category for asking questions about how to get something done on the Roblox websites or how to do something on Roblox applications such as Roblox Studio.

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    To create a new instance of a part inside of a script with a script
  2. What is the issue? Include screenshots / videos if possible!
    I want to create a new instance of a part inside of a script, but I want it to be able to have scripts aswell inside of it.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I looked for some solutions on the developer hub and on youtube, but none of them apply to what I want to make.
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

If you have any suggestions on what I should do, please reply because that would be really helpful! ^^

The only way you can do that is to have the script already exist somewhere. I would recommend that you have the script be Disabled at this point. Then, when you create the part, simply clone the script, parent it to the part, and then enable the script

1 Like

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