Verse code not working

Summary

I am trying to make a 1v1 map where an elms are tracked using a tracker device and it shows your team score and enemy team score in the top right hand corner, when i use the elimination managers in game to increment score on elimination it doesn’t work. I was hoping that using verse code to increment these would fix my issue but the code i have written doesn’t work and I am unsure as to how to fix it. Can someone help?

Here is the code:

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Fortnite.com/Teams }
using { /Verse.org/Simulation }
using { /Fortnite.com/Characters }
using { /Verse.org/Random }
using { /Fortnite.com/Game }
using { /Fortnite.com/FortPlayerUtilities }
using { /UnrealEngine.com/Temporary/SpatialMath }

ScoreManager := class(creative_device):

@editable
ElimDevice : []elimination_manager_device = array{}
@editable
TrackerDevice : []tracker_device = array{}

OnBegin<override>()<suspends>:void=
    if: 
        ElimDevice1 := ElimDevice[0]
        ElimDevice2 := ElimDevice[1]
    then:
        ElimDevice1.OnElimination.Subscribe(OnElimDevice1Elimination)
        ElimDevice2.OnElimination.Subscribe(OnElimDevice2Elimination)

OnElimDevice1Elimination(Agent : agent):void=
    if:
        ElimDevice1 := ElimDevice[0] 
        TrackerDevice1 := TrackerDevice[0]
        
    then:
        TrackerDevice1.Increment(Agent)  

OnElimDevice2Elimination(Agent : agent):void=
    if:
        ElimDevice2 := ElimDevice[1]
        TrackerDevice2 := TrackerDevice[1]
        
    then:
        TrackerDevice2.Increment(Agent)

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Assets

Steps to Reproduce

Paste code into a uefn map

Expected Result

on an elimination the score on a tracker should increase by 1

Observed Result

code doesn’t work

Platform(s)

Pc