onDisable(callback): void
callback
void
Register a callback to run when the script is disabled.
Function
The function to run.
This can only be used while the script is initializing.
Last updated 6 hours ago