If your interested, I'd suggest creating/activating a collider in front of the player when they press the Destroy button. Could destroy/deactivate it after 0.1s say. Might be more reliable than using a raycast.
Thats a fire idea thanks for the suggestion