# Hi i need help pls

**URL:** https://forum.makecode.com/t/hi-i-need-help-pls/16138
**Category:** Help
**Created:** [November 2, 2022, 5:19pm UTC](https://forum.makecode.com/t/hi-i-need-help-pls/16138 "2022-11-02T17:19:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![daPokekid360](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dapokekid360/32/9879_2.png) [@daPokekid360](https://forum.makecode.com/u/daPokekid360)
#### Post date: [November 2, 2022, 5:19pm UTC](https://forum.makecode.com/t/hi-i-need-help-pls/16138/1 "2022-11-02T17:19:13Z")

</div>

[https://arcade.makecode.com/S85718-19427-35251-00827](https://arcade.makecode.com/S85718-19427-35251-00827) heres the game. I need it to stop shooting when the bar runs out

---

<div class="post-metadata">

### Author: ![Salex](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/salex/32/15835_2.png) [@Salex](https://forum.makecode.com/u/Salex)
#### Post date: [November 2, 2022, 8:24pm UTC](https://forum.makecode.com/t/hi-i-need-help-pls/16138/2 "2022-11-02T20:24:28Z")

</div>

> **[E.D.F.](https://arcade.makecode.com/S15823-87925-30299-56892)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Ok, so I fixed the power-bar problem, but I also added something else: When the power gets to zero, the pilot (?) says that they’ve hit a critical failure. This means that all systems are offline, guns and all. However, because of this, the hearts now have a 50/50 chance of giving you power back, to which the pilot will say that the power is restored. After that, just spam A (the code says that pressing A gives you 5 power, idk if this is intentional) to get the rest of the power back. Hope this was helpful?

---

<div class="post-metadata">

### Author: ![daPokekid360](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dapokekid360/32/9879_2.png) [@daPokekid360](https://forum.makecode.com/u/daPokekid360)
#### Post date: [November 3, 2022, 2:21am UTC](https://forum.makecode.com/t/hi-i-need-help-pls/16138/3 "2022-11-03T02:21:36Z")

</div>

thanks this is pretty good
