# Need Help With Leaderboard

**URL:** <https://forums.unrealengine.com/t/need-help-with-leaderboard/310600>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 12, 2015, 3:30am UTC](https://forums.unrealengine.com/t/need-help-with-leaderboard/310600 "2015-03-12T03:30:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![logg99\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@logg99\_1](https://forums.unrealengine.com/u/logg99_1)\
**Post date:** [March 12, 2015, 3:30am UTC](https://forums.unrealengine.com/t/need-help-with-leaderboard/310600/1 "2015-03-12T03:30:28Z")

</div>

I am trying to add in 3 different text objects in game that show Score, Time, and Highscore. I am very new to Unreal and cannot figure it out. Basically my game will be on a 60 second timer, and your goal is to shoot the target as many times as you can in the 60 second period. After 60 seconds the timer should reset, the score should go back to 0, and the highscore should be changed to your last score if it is greater than the current highscore. I thought that maybe if I used labels, i could use variable to change the text of the labels, but have not been able to figure it out. If anyone could offer a quick and efficient way for me to add a leaderboard, it would be highly appreciated!

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [March 12, 2015, 10:16am UTC](https://forums.unrealengine.com/t/need-help-with-leaderboard/310600/2 "2015-03-12T10:16:50Z")

</div>

Hey there (:

First you need to choose the class where you want to save this.

I pretty good one would be the “GameState” Class. Create a new Class or BP from the GameState Base Class and go into your Maps and Modes Settings in “Project Settings”. Here you can set the GameState Class you want to use (same way as you set the Character, Controller and HUD:

[http://puu.sh/gx0on/d419bb0321.png](http://puu.sh/gx0on/d419bb0321.png)

Then create your variables in this BP. Like float Timer, int Score and int Highscore.

Now you can set these variables like you want in any BP/Class you want by just searching for the GameState in your Event Graph:

[http://puu.sh/gx0wq/36f587dff8.png](http://puu.sh/gx0wq/36f587dff8.png)

Then cast it to your custom BP/Class and set/get the variables like you need them.

---

<div class="post-metadata">

**Author:** ![logg99\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@logg99\_1](https://forums.unrealengine.com/u/logg99_1)\
**Post date:** [March 12, 2015, 8:21pm UTC](https://forums.unrealengine.com/t/need-help-with-leaderboard/310600/3 "2015-03-12T20:21:46Z")

</div>

Thanks for the reply, only problem is I dont understand any of that :/, any chance you good noob it up for me?

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [March 13, 2015, 10:18am UTC](https://forums.unrealengine.com/t/need-help-with-leaderboard/310600/4 "2015-03-13T10:18:57Z")

</div>

This is pretty easy already. I recommened you to watch some basic tutorials if you don’t understand that 😕  
I could only show you how to create the variables, but if i need to do that, then you really need some tutorials first, because more basic it can’t become (:
