# Is this script right?

**URL:** <https://forum.kirupa.com/t/is-this-script-right/215793>\
**Category:** Uncategorized\
**Created:** [February 10, 2007, 12:04pm UTC](https://forum.kirupa.com/t/is-this-script-right/215793 "2007-02-10T12:04:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shweet](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@shweet](https://forum.kirupa.com/u/shweet)\
**Post date:** [February 10, 2007, 12:04pm UTC](https://forum.kirupa.com/t/is-this-script-right/215793/1 "2007-02-10T12:04:55Z")

</div>

```auto
onClipEvent (enterFrame) {
 if (this.hitTest(_root.red_mc)) {
  var helthr: Number = -2);
 }

```

is that corect and plz tell me the realone if not?

edit: the f in if
