Question about packages

Hello! Right now I’m learning how to use packages. All the tutorials I’ve followed use models as an example, but my question is what would happen if a non-model is converted to a package?

For example, here is a script with some children attached for data saving that I’ve made into a package:

image

If a change is made to the module in the package, will those changes be published with the package?

Or, if a new child is added under the script, like a part or another folder, will those new instances also be published with the package?

Yes, you can create packages on classes other than Models. A Model is typically used as the root of a package to prevent changes in position, scale, and rotation from being registered as a change to the package. This tutorial video explains this idea more.

I often use packages with a ModuleScript as it’s root for modules I use commonly across many projects. Changes to descendants of the package will be tracked as a change to the package, including changes to the source of Scripts, ModuleScripts, etc. Adding or removing descendants will also be tracked.

1 Like

Okay, good to hear. Thank you so much for explaining! I’ll watch that video too.

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