Advancement Leaderboard

This is for a minigame leaderboard the hiders get points by surviving and get a point after set intervals whereas the seekers get points for kills I've made it using advancements so when I player dies the points update they also update when I run the function to go back to the lobby but they're not updating both the seekers and hiders aren't getting points which is suprising as the points system for the seekers is incredibly simple... What I need help with: - Fixing the leaderboard so it updates when it should - Adding a feature (not attempted yet) so when hiders are dead they can't recieve the points for survival I will paste all necessary code in order of activation
Continue to help post