# Score variable starts from 0 every time i open the screen

**URL:** <https://community.thunkable.com/t/score-variable-starts-from-0-every-time-i-open-the-screen/977287>\
**Category:** Questions about Thunkable X\
**Created:** [November 16, 2020, 10:55am UTC](https://community.thunkable.com/t/score-variable-starts-from-0-every-time-i-open-the-screen/977287 "2020-11-16T10:55:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![konskotidisxauhu4](https://avatars.discourse-cdn.com/v4/letter/k/b2d939/32.png) [@konskotidisxauhu4](https://community.thunkable.com/u/konskotidisxauhu4)\
**Post date:** [November 16, 2020, 10:55am UTC](https://community.thunkable.com/t/score-variable-starts-from-0-every-time-i-open-the-screen/977287/1 "2020-11-16T10:55:36Z")

</div>

> **[Thunkable](https://x.thunkable.com/projects/5fa45b2633e84900111ba398/27640c74-9aec-495b-a18b-e2a08d5daee2/blocks)**

I am using a variable for countring score points. When the screen starts it has 0 points. For every correct answer gives 5 points and then it saves the value in realtime DB. When you leave and reenter the screen it shows the last value of score BUT when i enter a correct answer it doesnt go for example from 70 (last value saved) to 75 points but again from 0.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/score-variable-starts-from-0-every-time-i-open-the-screen/977287/2 "2024-11-08T12:21:37Z")

</div>


