Actor not getting destroyed

it turned out to be a logic error i fixed it. thanks tho