# Unwanted game over

**URL:** <https://forum.makecode.com/t/unwanted-game-over/23476>\
**Category:** Help\
**Created:** [October 18, 2023, 5:49pm UTC](https://forum.makecode.com/t/unwanted-game-over/23476 "2023-10-18T17:49:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thedevious](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@thedevious](https://forum.makecode.com/u/thedevious)\
**Post date:** [October 18, 2023, 5:49pm UTC](https://forum.makecode.com/t/unwanted-game-over/23476/1 "2023-10-18T17:49:32Z")

</div>

why does the game end suddenly

> **[space heck](https://arcade.makecode.com/S88043-27341-76152-88528)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![thedevious](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@thedevious](https://forum.makecode.com/u/thedevious)\
**Post date:** [October 18, 2023, 7:51pm UTC](https://forum.makecode.com/t/unwanted-game-over/23476/2 "2023-10-18T19:51:44Z")

</div>

i found the problem but i have another concern  
how do I get the blue attack to aim at the player (blue square)

---

<div class="post-metadata">

**Author:** ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)\
**Post date:** [October 20, 2023, 6:18pm UTC](https://forum.makecode.com/t/unwanted-game-over/23476/3 "2023-10-20T18:18:24Z")

</div>

Use “On game update” blocks instead of the “Forever” block with pauses. During any pauses, the game will not update at all, meaning many unintended things can happen.

---

<div class="post-metadata">

**Author:** ![thedevious](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@thedevious](https://forum.makecode.com/u/thedevious)\
**Post date:** [October 23, 2023, 5:10pm UTC](https://forum.makecode.com/t/unwanted-game-over/23476/4 "2023-10-23T17:10:06Z")

</div>

This solution defeats the purpose of some of the attacks

---

<div class="post-metadata">

**Author:** ![thedevious](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@thedevious](https://forum.makecode.com/u/thedevious)\
**Post date:** [October 23, 2023, 6:10pm UTC](https://forum.makecode.com/t/unwanted-game-over/23476/5 "2023-10-23T18:10:03Z")

</div>

it also makes some attacks not work
