# Something broke in my game and I can't figure out what happened :(

**URL:** https://forum.makecode.com/t/something-broke-in-my-game-and-i-cant-figure-out-what-happened/29587
**Category:** Help
**Created:** [July 6, 2024, 5:06am UTC](https://forum.makecode.com/t/something-broke-in-my-game-and-i-cant-figure-out-what-happened/29587 "2024-07-06T05:06:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JaidenThePerson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jaidentheperson/32/16250_2.png) [@JaidenThePerson](https://forum.makecode.com/u/JaidenThePerson)
#### Post date: [July 6, 2024, 5:06am UTC](https://forum.makecode.com/t/something-broke-in-my-game-and-i-cant-figure-out-what-happened/29587/1 "2024-07-06T05:06:15Z")

</div>

Once you beat level 7, the game freezes, and I’m not sure why, if it helps, I’ve edited the code so that you spawn on level 7, and I have two versions of the game linked below;

Game with bug: [https://makecode.com/\_XLP0TkMKV4xw](https://makecode.com/_XLP0TkMKV4xw)

Game without bug: [https://arcade.makecode.com/S00498-52725-96206-08843](https://arcade.makecode.com/S00498-52725-96206-08843)

---

<div class="post-metadata">

### Author: ![JaidenThePerson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jaidentheperson/32/16250_2.png) [@JaidenThePerson](https://forum.makecode.com/u/JaidenThePerson)
#### Post date: [July 6, 2024, 7:31pm UTC](https://forum.makecode.com/t/something-broke-in-my-game-and-i-cant-figure-out-what-happened/29587/2 "2024-07-06T19:31:52Z")

</div>

Ok, whilst I was waiting for the post to be authenticated, I fixed the issue! [https://makecode.com/\_U3eF2a67CCVH](https://makecode.com/_U3eF2a67CCVH)

---

<div class="post-metadata">

### Author: ![JaidenThePerson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jaidentheperson/32/16250_2.png) [@JaidenThePerson](https://forum.makecode.com/u/JaidenThePerson)
#### Post date: [July 6, 2024, 7:31pm UTC](https://forum.makecode.com/t/something-broke-in-my-game-and-i-cant-figure-out-what-happened/29587/3 "2024-07-06T19:31:57Z")

</div>

Drat, I fixed the first issue, you can now enter the Boss level, but now the game freezes once you’ve killed the boss! [https://arcade.makecode.com/S40123-77680-00802-66525](https://arcade.makecode.com/S40123-77680-00802-66525)

---

<div class="post-metadata">

### Author: ![JaidenThePerson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jaidentheperson/32/16250_2.png) [@JaidenThePerson](https://forum.makecode.com/u/JaidenThePerson)
#### Post date: [July 6, 2024, 7:35pm UTC](https://forum.makecode.com/t/something-broke-in-my-game-and-i-cant-figure-out-what-happened/29587/4 "2024-07-06T19:35:47Z")

</div>

OMG I FIXED IT!

Boss test: [https://arcade.makecode.com/S68066-52831-47507-87757](https://arcade.makecode.com/S68066-52831-47507-87757)

Final game: [https://makecode.com/\_8PCTs1Lq4Lyg](https://makecode.com/_8PCTs1Lq4Lyg)

Please let me know if you find any other bugs!
