Help with little datapack

I wanted to make a datapack for a little server with friends and i wanted to give a kit after death but only death by a player like not fall damage nor mobs i've tried with predicates but it seems not to work. I'm in 1.16.5.

Continue to help post