# Ahh Mp Problem

**URL:** https://forum.kirupa.com/t/ahh-mp-problem/224840
**Category:** flash
**Created:** [May 6, 2007, 3:45am UTC](https://forum.kirupa.com/t/ahh-mp-problem/224840 "2007-05-06T03:45:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![slayerX2](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@slayerX2](https://forum.kirupa.com/u/slayerX2)
#### Post date: [May 6, 2007, 3:45am UTC](https://forum.kirupa.com/t/ahh-mp-problem/224840/1 "2007-05-06T03:45:15Z")

</div>

well its not really a problem its just i dont no how to do it  
how do we make it so if the MP for example reaches 0 u cant use the skill anymore.

i thought it would be something like

```auto
onClipEvent(load){
if(_root.mp2 <= 0;
_root.skill2 = false;

```

but oviously its not working, so what would it be
