# How to reset a subscribe to a  Player.EliminatedEvent().Subscribe(Function)

**URL:** <https://forums.unrealengine.com/t/how-to-reset-a-subscribe-to-a-player-eliminatedevent-subscribe-function/1689973>\
**Category:** Verse\
**Tags:** unreal-engine, unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [February 15, 2024, 4:50am UTC](https://forums.unrealengine.com/t/how-to-reset-a-subscribe-to-a-player-eliminatedevent-subscribe-function/1689973 "2024-02-15T04:50:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chawewo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chawewo](https://forums.unrealengine.com/u/Chawewo)\
**Post date:** [February 15, 2024, 4:50am UTC](https://forums.unrealengine.com/t/how-to-reset-a-subscribe-to-a-player-eliminatedevent-subscribe-function/1689973/1 "2024-02-15T04:50:20Z")

</div>

There is a button players can press, which will give them a skeleton they can walk with, and when they die the skeleton no longer follows them. While this works, the Player.EliminatedEvent().Subscribe(function) is always called after the player dies the first time, so the Skeleton never stays on after the first death. Need help with having the subscription work more than once. My code:

```auto
 UpdateCharacter(Player : fort_character)<suspends>:void=
        loop:
            Player.EliminatedEvent().Subscribe(OnPlayerEliminated)
            Sleep(0.0)
            if (SpongeChar.TeleportTo[Player.GetTransform().Translation, Player.GetTransform().Rotation]) {}
            if (Elim?):
                Print("Eliminated, Stopping stuff")
                break
    OnPlayerEliminated(ElimResult : elimination_result): void=
        set Elim = true
        return

```

---

<div class="post-metadata">

**Author:** ![Starkiller9229](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Starkiller9229](https://forums.unrealengine.com/u/Starkiller9229)\
**Post date:** [February 15, 2024, 6:11pm UTC](https://forums.unrealengine.com/t/how-to-reset-a-subscribe-to-a-player-eliminatedevent-subscribe-function/1689973/2 "2024-02-15T18:11:49Z")

</div>

Hi, ensure that you reset the value of Elim when the player respawns.

Also, you can place the _Player.EliminatedEvent().Subscribe(OnPlayerEliminated)_ outside the loop since you don’t need to subscribe to events multiple times.
