# Hi i need a bit of help

**URL:** <https://forum.makecode.com/t/hi-i-need-a-bit-of-help/32175>\
**Category:** Help\
**Created:** [December 3, 2024, 9:47pm UTC](https://forum.makecode.com/t/hi-i-need-a-bit-of-help/32175 "2024-12-03T21:47:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JackB4D11](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@JackB4D11](https://forum.makecode.com/u/JackB4D11)\
**Post date:** [December 3, 2024, 9:47pm UTC](https://forum.makecode.com/t/hi-i-need-a-bit-of-help/32175/1 "2024-12-03T21:47:19Z")

</div>

ok so i am coding this game for s school project and in my opinion its coming together nicely but a problem I noticed while testing is the game will randomly freeze ive been trying to figure it out but i cant find any cause. also sometimes the game screen will just be black without a sim error so if yall can help me i would really apreciate it. heres the game link

> **[Game](https://arcade.makecode.com/S46479-02863-62503-64945)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![qwertyisabadpass](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/qwertyisabadpass/32/18506_2.png) [@qwertyisabadpass](https://forum.makecode.com/u/qwertyisabadpass)\
**Post date:** [December 3, 2024, 10:33pm UTC](https://forum.makecode.com/t/hi-i-need-a-bit-of-help/32175/2 "2024-12-03T22:33:43Z")

</div>

I’m not the best person to answer this, _but here I go_:

At first, I suspected that maybe it had to do with this:  
 ![Screenshot 2024-12-03 5.16.37 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/optimized/3X/c/6/c6a3ada0f44cc278972a30271bcb6255ecd60606_2_690x56.png)

This tends to lead to decimals, maybe causing a Floating-point error? (Idk, I don’t think that’s it but, just wanted to put it out there)

And then I saw this:  
 ![Screenshot 2024-12-03 5.11.12 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/5/758d158ba97e4e0803a63efcf2b5769cc9f39cb2.png)  
When this freezes, this seems to get stuck looping, do with that what you will.

Anyways! I hope this helps 😃

---

<div class="post-metadata">

**Author:** ![JackB4D11](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@JackB4D11](https://forum.makecode.com/u/JackB4D11)\
**Post date:** [December 5, 2024, 4:20am UTC](https://forum.makecode.com/t/hi-i-need-a-bit-of-help/32175/3 "2024-12-05T04:20:45Z")

</div>

thank you, i was able to swich that out for a if verible and its not having issues anymore
