Trying to make this line multiplayer compatable

This is the line im struggling with making work with multiple players within range

execute as @e[limit=1,tag=deathpoint] if score @s dead matches 1 if score @s deathps = @p[distance=..4] playerid run kill

Continue to help post