Splitscreen 2 players , scoring system


I am making a local splitscreen with 2 players.

I can get the 2 players moving with keyboard and gamepad . For score system , health , bullets etc. how can I differentiate these stats between the 2 players ?

For example when overlapping a health object by a player it should count only for the player who overlap it an not for both.

Thank you.