OOP, attempt to call a nil value

Attempt to call a nil value would otherwise indicate that you’re attempting to call a nil type value as a function. Meaning that the function “DestroyRig” either doesn’t exist or cannot be reached within the body of the function named “CreateRigFunction”.