# I can't get my text blocks to update. 

**URL:** <https://forums.unrealengine.com/t/i-cant-get-my-text-blocks-to-update/2653940>\
**Category:** Programming & Scripting\
**Tags:** unreal-editor-for-fortnite, question, fortnite\
**Created:** [September 5, 2025, 1:03pm UTC](https://forums.unrealengine.com/t/i-cant-get-my-text-blocks-to-update/2653940 "2025-09-05T13:03:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![extrantaves](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@extrantaves](https://forums.unrealengine.com/u/extrantaves)\
**Post date:** [September 5, 2025, 1:03pm UTC](https://forums.unrealengine.com/t/i-cant-get-my-text-blocks-to-update/2653940/1 "2025-09-05T13:03:33Z")

</div>

I am brand new to making games and I’m attempting to follow a tutorial on making a currency system. Everything works fine except for displaying the currency amount. The part of the code that is supposed to update the text for the currencies only returns the fail text when I test the game, I don’t know what I need to do to fix this.

 ![Screenshot_20250905_040236_YouTube](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/c/fbc431490f01868983549f5b46929fe3979a093d.jpeg)

---

<div class="post-metadata">

**Author:** ![btwixer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@btwixer](https://forums.unrealengine.com/u/btwixer)\
**Post date:** [September 5, 2025, 1:24pm UTC](https://forums.unrealengine.com/t/i-cant-get-my-text-blocks-to-update/2653940/2 "2025-09-05T13:24:57Z")

</div>

I’d add Print statements after pretty much every line and watch the logs in UEFN to see what code path it takes (which Print statements do NOT print). Could be a number of different things, such as SuffixIndex not being within range of the Suffixes array.

---

<div class="post-metadata">

**Author:** ![extrantaves](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@extrantaves](https://forums.unrealengine.com/u/extrantaves)\
**Post date:** [September 6, 2025, 1:46am UTC](https://forums.unrealengine.com/t/i-cant-get-my-text-blocks-to-update/2653940/3 "2025-09-06T01:46:38Z")

</div>

I tested this out and it seems to fail at the second if-then statement, the second message fail is for a second currency that hasn’t been added yet.

 ![InCollage_20250905_214354032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/b/30b82d1f75f1e660389f5a6c03b109d4d8043ced.jpeg)

---

<div class="post-metadata">

**Author:** ![extrantaves](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@extrantaves](https://forums.unrealengine.com/u/extrantaves)\
**Post date:** [September 7, 2025, 3:51am UTC](https://forums.unrealengine.com/t/i-cant-get-my-text-blocks-to-update/2653940/4 "2025-09-07T03:51:43Z")

</div>

I followed this post to replace the decimal code I had before and it resolved my issue [How to round float to x decimal places?](https://forums.unrealengine.com/t/how-to-round-float-to-x-decimal-places/821189)
