Now, instead of adding a static mesh component you spawn an actor of the class you just created. Here you can set the location and rotation as you like, and even make it random. Make sure to plug the location from your Hit event, otherwise the actor will spawn on a fixed location and you don’t want that.
For the random tree part, you can use the get random array item node and set the static mesh to a random item from an array of trees. You can create this function on the construction script or you can fire it through the Begin Play event (idk which is better for your case), so it runs when the blueprint is spawned.
Note that there are more things you need to do to make it work properly, this is just the general idea you can follow. If you need more clarification feel free to ask. Good luck!