Ok, so for context I'm just trying to execute commands on projectiles (ex, arrows) when they first spawn/appear, and when they actually hit something or land on the ground. I'm trying to add a tag on a projectile when it lands on the ground (in the photo provided I just have "summon pig" for testing). You can see that in the block in the middle I have put a tag on the projectile when it first spawns as well and that command worked fine. For some reason, in that last block of code that command won't work, even though I used the exact same testing method for that first block.
I should also note I even replaced the runCommand string with a world.sendMessage string and it would work and send a message in chat whenever the projectile hit a block. Does anyone know the problem?