Cannot change alpha over lifetime with custom shader

Hello everyone! I want to change alpha over lifetime in particle system with my custom shader but I cant. It affects anythin. Is there any way to change alpha with custom shader?

You need to add a “vertex color” node, isolate its alpha channel, and connect it to the alpha output.