# ChoiceofScript Stat File Not Working

**URL:** <https://forum.choiceofgames.com/t/choiceofscript-stat-file-not-working/155313>\
**Category:** ChoiceScript Help\
**Tags:** coder\
**Created:** [June 20, 2024, 3:18am UTC](https://forum.choiceofgames.com/t/choiceofscript-stat-file-not-working/155313 "2024-06-20T03:18:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Godkin](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/godkin/32/229720_2.png) [@Godkin](https://forum.choiceofgames.com/u/Godkin)\
**Post date:** [June 20, 2024, 3:18am UTC](https://forum.choiceofgames.com/t/choiceofscript-stat-file-not-working/155313/1 "2024-06-20T03:18:32Z")

</div>

I’m having trouble with showing the stats of my game whenever I run it… Help plss

The error I’m getting is "choicescript stat file cannot be found

 ![Screenshot_2024-06-20-10-55-06-32](https://global.discourse-cdn.com/choiceofgames/original/3X/c/f/cfdacf982f8dc0194ca9d59b776c0d2238c90c9e.jpeg)

My code looks like this:

(In ChoiceofScript stat file) in the same folder as startup txt file in “scenes” under “mygame” folder

\*stat\_chart  
text name  
percent strength  
percent speed

(In startup)

\*title  
\*author  
\*scene\_list  
startup

\*create name “”  
\*create strength 50  
\*create speed 50

---

<div class="post-metadata">

**Author:** ![LiliArch](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/liliarch/32/120749_2.png) [@LiliArch](https://forum.choiceofgames.com/u/LiliArch)\
**Post date:** [June 20, 2024, 3:21am UTC](https://forum.choiceofgames.com/t/choiceofscript-stat-file-not-working/155313/2 "2024-06-20T03:21:05Z")

</div>

The important thing here isn’t what’s in the file, but whether or not the file has correct name (which, based on the error message, it doesn’t, or otherwise it’s not in the same folder with the other scene files).

---

<div class="post-metadata">

**Author:** ![Zodac01](https://avatars.discourse-cdn.com/v4/letter/z/b38774/32.png) [@Zodac01](https://forum.choiceofgames.com/u/Zodac01)\
**Post date:** [June 20, 2024, 3:55am UTC](https://forum.choiceofgames.com/t/choiceofscript-stat-file-not-working/155313/3 "2024-06-20T03:55:44Z")

</div>

I wonder if the file extension is .txt. If it isn’t, I’d try changing it to that.

---

<div class="post-metadata">

**Author:** ![Godkin](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/godkin/32/229720_2.png) [@Godkin](https://forum.choiceofgames.com/u/Godkin)\
**Post date:** [June 20, 2024, 9:58am UTC](https://forum.choiceofgames.com/t/choiceofscript-stat-file-not-working/155313/4 "2024-06-20T09:58:51Z")

</div>

Both the startup file and stats file are in the same folder in scenes tho …but thankss…

I tried trying it out in Dashingdon site and it actually works …both files are showing …maybe the emulator I have been using and the index html file only run one file at a time and not at the same time

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/choiceofgames/original/3X/e/f/efe1497a762edecdb6d569a1c4abee87508bf002.png) [@system](https://forum.choiceofgames.com/u/system)\
**Post date:** [June 21, 2024, 9:59am UTC](https://forum.choiceofgames.com/t/choiceofscript-stat-file-not-working/155313/5 "2024-06-21T09:59:49Z")

</div>

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.
