setscriptable
Overrides a property's scriptability for an Instance.
Returns the previous effective state, or nil if the property does not exist. The override is per Instance.
setscriptable(target: Instance, property: string, enabled: boolean): boolean?Parameters
| Parameter | Type | Description |
|---|---|---|
target | Instance | Instance to modify. |
property | string | Property name. |
enabled | boolean | New scriptability state. |
