Does anyone know how I can check if someone hit a resource node or a tree, get the player, the weapon or tool the player used and the kind of resource node (at best the condition of that node, too) that the player hit?

Thanks in advance.