How to show UI to Multiplayer?

Hi, Does anyone know how to show custom UI to Multiplayer? I was able to add UI to single player by YouTube video - Epic Boss Battles In Fortnite Creative 2 UEFN. But in multiplayer it is only visible to one player even with for loop. Any suggestion would be helpful.

Main.verse -

    OnBegin<override>()<suspends>:void=
        AllPlayers := GetPlayspace().GetPlayers()
        BossHPBar.Init("Aknar The Terrible", 1000.0)

       for (Player : AllPlayers):
            GameState.ProgressBar.ShowUIForPlayer(Player)

HealthBar.verse -

    ShowUIForPlayer(Player : player):void=
        if (PlayerUI := GetPlayerUI[Player]):
            PlayerUI.AddWidget(CreateUI())

    ShowUIToAllPlayers():void=
        block:

    CreateUI<private>() : canvas=
        TheCanvas : canvas = canvas:
            Slots := array:
                canvas_slot:
                    Anchors := anchors{Minimum := vector2{X := 0.5, Y := 0.9}, Maximum := vector2{X := 0.5, Y := 0.9}}
                    Offsets := margin{Top := 0.0, Left := 0.0, Right := 0.0, Bottom := 100.0}
                    Alignment := vector2{X := 0.5, Y := 1.0}
                    Widget := stack_box:
                        Orientation := orientation.Vertical
                        Slots := array:
                            stack_box_slot:
                                Widget := CreateOverlay()


        return TheCanvas

You have to create a canvas for each player and map them to it. Ditto for any per-player-variables you want to use.

This may help → Related Question