Making an actor destroy itself after a set value has been reached

no it was never set to simulate physics. i took out the branch checking if it was and it works perfectly now. thank you very much