# Please helpppppp

**URL:** <https://forum.makecode.com/t/please-helpppppp/4151>\
**Category:** Help\
**Created:** [October 29, 2020, 3:30am UTC](https://forum.makecode.com/t/please-helpppppp/4151 "2020-10-29T03:30:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satisfaction](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Satisfaction](https://forum.makecode.com/u/Satisfaction)\
**Post date:** [October 29, 2020, 3:30am UTC](https://forum.makecode.com/t/please-helpppppp/4151/1 "2020-10-29T03:30:37Z")

</div>

Hello all,

I am working on this project and I saw an example of one just like it. I need someone to make this block code to where there are levels. If you do it I will ensure that you are credited and recommend you to others, thanks! 😃

> **[Air Strike](https://arcade.makecode.com/97185-52583-96056-98597)**
>
> 用❤️创造，Microsoft MakeCode Arcade出品。

any help would be amazing.

---

<div class="post-metadata">

**Author:** ![Satisfaction](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Satisfaction](https://forum.makecode.com/u/Satisfaction)\
**Post date:** [October 29, 2020, 3:51am UTC](https://forum.makecode.com/t/please-helpppppp/4151/2 "2020-10-29T03:51:48Z")

</div>

this is what I got going, i don’t know what i am really doing though.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/52a59b67b39ed2747431a9c50716ab2d5c335fad.png)

---

<div class="post-metadata">

**Author:** ![ymxdj0](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ymxdj0/32/1222_2.png) [@ymxdj0](https://forum.makecode.com/u/ymxdj0)\
**Post date:** [October 29, 2020, 11:16am UTC](https://forum.makecode.com/t/please-helpppppp/4151/3 "2020-10-29T11:16:10Z")

</div>

sorry i couldnt

---

<div class="post-metadata">

**Author:** ![SPerkins25](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@SPerkins25](https://forum.makecode.com/u/SPerkins25)\
**Post date:** [October 29, 2020, 12:16pm UTC](https://forum.makecode.com/t/please-helpppppp/4151/4 "2020-10-29T12:16:32Z")

</div>

You’ve put the levelstart function inside a game update loop. That means the function is called every game frame (60 times a second). You have also put it inside an overlap which would mean you change level when you crash into an enemy.

You want to call that function once at the end of each level. You need to decide what should trigger that levelstart function call. It could be that you destroy a certain number of enemies, or you beat a specific boss enemy that spawns after a certain amount of time played.
