Need Help with Destroying Targets on Click

Please use code tags. A wall of unformatted code is very difficult to read especially when it’s multiple scripts.