ModuleScript
Write code once and use it everywhere: require a module from any script, starting with the animation helpers every project comes with.
A ModuleScript holds Luau that other scripts load with require; what it returns is what they get. A module outside every Sandbox can be required from all of them, while requiring another Sandbox's module is an error. Every project has AnimUtils and the modules it needs in Root.Modules: require(Root.Modules.AnimUtils). While playing, an edited module waits for Q, which restarts only the scripts that use it.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Source | string | The Luau source the module holds. |
From LuaSourceContainer 1
From Instance 22
Subclasses
