# A game score board

**URL:** <https://discussions.unity.com/t/a-game-score-board/395736>\
**Category:** Multiplayer & Networking\
**Created:** [July 31, 2009, 3:44pm UTC](https://discussions.unity.com/t/a-game-score-board/395736 "2009-07-31T15:44:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon\_12608066](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@anon\_12608066](https://discussions.unity.com/u/anon_12608066)\
**Post date:** [July 31, 2009, 3:44pm UTC](https://discussions.unity.com/t/a-game-score-board/395736/1 "2009-07-31T15:44:16Z")

</div>

Hi !

I will finish my first Networking game, but something is missing : the game score board.  
I want to make a little box with inside the Players and their kills/deaths, but i don’t know how to do it  
can you help me please ? 🙂

---

<div class="post-metadata">

**Author:** ![anon\_20903479](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@anon\_20903479](https://discussions.unity.com/u/anon_20903479)\
**Post date:** [August 1, 2009, 5:32pm UTC](https://discussions.unity.com/t/a-game-score-board/395736/2 "2009-08-01T17:32:05Z")

</div>

Are you looking at doing some sort of GUI?

```auto
int deaths = 0;
int kills = 0;

void OnGUI()
{
   GUI.Label(new Rect(0f, 0f, 100f, 100f), "Deaths: " + deaths + " Kills: " + kills);

}

```

You should probably check out the GUI section on the Unity Manual, and there are some examples on the wiki [http://www.unifycommunity.com/wiki/index.php?title=Scripts](http://www.unifycommunity.com/wiki/index.php?title=Scripts)

---

<div class="post-metadata">

**Author:** ![anon\_12608066](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@anon\_12608066](https://discussions.unity.com/u/anon_12608066)\
**Post date:** [August 1, 2009, 6:26pm UTC](https://discussions.unity.com/t/a-game-score-board/395736/3 "2009-08-01T18:26:02Z")

</div>

yes, but i want to do that the others players can see the others scores, i am good with gui section 😉

---

<div class="post-metadata">

**Author:** ![anon\_33084754](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@anon\_33084754](https://discussions.unity.com/u/anon_33084754)\
**Post date:** [August 11, 2009, 5:12pm UTC](https://discussions.unity.com/t/a-game-score-board/395736/4 "2009-08-11T17:12:04Z")

</div>

If you are still looking around for a way of doing this, it is most likely that you’ll be needing a database. A new score is saved to the database, then the scores are all read from it on the highscores page. Theres a perfect example of how to go about doing this in the Wiki 🙂

[http://www.unifycommunity.com/wiki/index.php?title=Server\_Side\_Highscores](http://www.unifycommunity.com/wiki/index.php?title=Server_Side_Highscores)
