I made a weapon that makes trident rain down from the sky, and i am trying to make them strike lightning on the ground when they die. Which seems simple enough. But no matter what I do it doesn't work with the tridents. The line of code is simple enough. It goes like this. EntityDeath -> If Entity Type = Trident -> Spawnlightning Location is a game value with the location of projectile. But it doesn't work. I dont know if its because i have the trident in the chest and i need something else, or because of the game value. But please help me.