Miliastra Wonderland Lua API

OnDisable

function OnDisable()

Called when the active state of the Client Control that the script is attached to changes to false.

  • Also called before OnDestroy when the Client Control the script is attached to is destroyed.
  • Ignored by Module scripts.