# Scoreboard and Health Score Errors

**URL:** https://forum.code.org/t/scoreboard-and-health-score-errors/38893
**Category:** Coding and Debugging Help
**Tags:** csd-unit-3
**Created:** [January 12, 2024, 2:19pm UTC](https://forum.code.org/t/scoreboard-and-health-score-errors/38893 "2024-01-12T14:19:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![svflake](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/svflake/32/8713_2.png) [@svflake](https://forum.code.org/u/svflake)
#### Post date: [January 12, 2024, 2:19pm UTC](https://forum.code.org/t/scoreboard-and-health-score-errors/38893/1 "2024-01-12T14:19:57Z")

</div>

![Screenshot 2024-01-12 at 8.14.31 AM](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/0/0b201a1d7067f14321fe0f1ebc5a08383e00d674.jpeg)

> **[Check out what I made](https://studio.code.org/projects/gamelab/DqGhArv7t2TLl6XcNo_c2e00x3fEC9FkfiJM380kJE8)**
>
> I wrote the code myself with Code.org

**What I expect to happen:** I expected the score to go up when Alucard touches the blood drop.  
**What actually happens:** Score Does not change, numbers will not display, “tostring” error  
**What I’ve tried:** I copied the code for the score board and health board directly from the lesson… it didnt work… I found an example where someone had used a function, I tried to add that in, it still didnt work, I am getting the same error when I try to code the health, this is Unit 3 Lesson 21

---

<div class="post-metadata">

### Author: ![melynn](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/melynn/32/4925_2.png) [@melynn](https://forum.code.org/u/melynn)
#### Post date: [January 12, 2024, 6:34pm UTC](https://forum.code.org/t/scoreboard-and-health-score-errors/38893/2 "2024-01-12T18:34:07Z")

</div>

Hi @svflake,

I love the theme and look of the game! It does look to be working now (YAY!) as both score and health are changing. Let us know if you have other questions.

~Michelle

---

<div class="post-metadata">

### Author: ![svflake](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/svflake/32/8713_2.png) [@svflake](https://forum.code.org/u/svflake)
#### Post date: [January 12, 2024, 8:42pm UTC](https://forum.code.org/t/scoreboard-and-health-score-errors/38893/3 "2024-01-12T20:42:00Z")

</div>

Thanks! Now my music is broken! It was working fine but now its not… it sounds glitchy during gameplay and the gameover music abruptly ends…
