You need to store the hit cube in a Game Object variable. The raycast will go out and 'hit' stuff, when it hits stuff it returns a bunch of information, like the object that it hit.
Make a Game Object variable to store that data. The Raycast action has all those options and Store Hit Object is where you tell it you want it to put the object that it hit.
Now that you stored it you can go to State 2 and use Destroy Object, then just put that variable in the slot... *poof*.