# How to use CopyProperties of PlayerState after RestartGame?

**URL:** <https://forums.unrealengine.com/t/how-to-use-copyproperties-of-playerstate-after-restartgame/528518>\
**Category:** Multiplayer & Networking\
**Tags:** playerstate, restart, unreal-engine, Multiplayer, UE4-27, question\
**Created:** [April 14, 2022, 4:49pm UTC](https://forums.unrealengine.com/t/how-to-use-copyproperties-of-playerstate-after-restartgame/528518 "2022-04-14T16:49:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![isikdev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/isikdev/32/991020_2.png) [@isikdev](https://forums.unrealengine.com/u/isikdev)\
**Post date:** [April 14, 2022, 4:49pm UTC](https://forums.unrealengine.com/t/how-to-use-copyproperties-of-playerstate-after-restartgame/528518/1 "2022-04-14T16:49:57Z")

</div>

Hi there. I am trying to maintain scoreboard values which are stored in player states. Basically I have a simple pvp game where you have kill/death ratio and when a player wins (1v1), the game automatically restarts, calling Restart Game from the gamemode. However upon doing so, I lose the scores in the Player State. How would I go about fixing this? I tried using Event CopyProperties on the playerstate but I could not manage to figure it out.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![isikdev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/isikdev/32/991020_2.png) [@isikdev](https://forums.unrealengine.com/u/isikdev)\
**Post date:** [April 14, 2022, 6:12pm UTC](https://forums.unrealengine.com/t/how-to-use-copyproperties-of-playerstate-after-restartgame/528518/2 "2022-04-14T18:12:20Z")

</div>

For now, I have changed the logic of restarting the game. I just don’t call restart game but use my own function to respawn players at their own spots and do something like a restart game but without resetting variables. However I would still like to learn how to use the Event CopyProperties of the Player State so that I can use it later on in my game.

---

<div class="post-metadata">

**Author:** ![karlingen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@karlingen](https://forums.unrealengine.com/u/karlingen)\
**Post date:** [January 14, 2024, 4:22am UTC](https://forums.unrealengine.com/t/how-to-use-copyproperties-of-playerstate-after-restartgame/528518/3 "2024-01-14T04:22:51Z")

</div>

Did you ever find a solution to this?

---

<div class="post-metadata">

**Author:** ![GarnerP57](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GarnerP57](https://forums.unrealengine.com/u/GarnerP57)\
**Post date:** [January 14, 2024, 11:22am UTC](https://forums.unrealengine.com/t/how-to-use-copyproperties-of-playerstate-after-restartgame/528518/4 "2024-01-14T11:22:35Z")

</div>

To avoid the Score getting reset you need to override APlayerState::Reset.
