This is your issue unless the ray cast isn't working... For sure just tested it and also I think there is another error unless you did not look at the output because the output says distinctly that you "deleting the ray-casts hit transform is not aloud destroy the gameobject instead!!" I am sorry if I couldnt fix everything but that is one of the errors.
Destroy(hit.transform);
To:
Destroy(hit.transform.gameobject);
↧