Remove script variable pointer on var destruction.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>