How do I keep score on HUD after round 1

I want to keep the score on the HUD after round one ends, I realised that the score manager doesn’t save the score so I tried to make hidden score using verse with global variables but these too doesn’t carry or something is wrong with them here is the code I used

var GlobalATKTeam:weak_map(session, int) = map{}
var GlobalDEFTeam:weak_map(session, int) = map{}
OnBegin<override>()<suspends>:void=

        Session := GetSession()
        if (ATKTeamValue := GlobalATKTeam[Session]):
            if (set GlobalATKTeam[Session] = 0):
                Print("Initialized ATK Team Score to 0")
        if (DEFTeamValue := GlobalDEFTeam[Session]):
            if (set GlobalDEFTeam[Session] = 0):
                Print("Initialized DEF Team Score to 0")
Loads(Agent:?agent):void=
        Print("Tessssst")
        Playspace: fort_playspace = GetPlayspace()
        AllPlayers: []player = Playspace.GetPlayers()
        
        for (PlayerAgent : AllPlayers):

            Session := GetSession()
            if (ATKTeamValue := GlobalATKTeam[Session]):
                if ( GlobalATKTeam[Session] = 1):
                    DefsScore.Trigger(PlayerAgent)
                    Print("AAA")
                else:
                     AtckScore.Trigger(PlayerAgent)
                    Print("DDD")