# Loop script problem

**URL:** <https://forum.kirupa.com/t/loop-script-problem/131712>\
**Category:** Uncategorized\
**Created:** [December 18, 2004, 10:45pm UTC](https://forum.kirupa.com/t/loop-script-problem/131712 "2004-12-18T22:45:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpb\_black](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jpb\_black](https://forum.kirupa.com/u/jpb_black)\
**Post date:** [December 18, 2004, 10:45pm UTC](https://forum.kirupa.com/t/loop-script-problem/131712/1 "2004-12-18T22:45:12Z")

</div>

I was wondering if any one could give me a hand with this loop script that I have. It works in MX but not in MX2004.

if (loopCount++ == 1) stop();  
else gotoAndPlay(Scene1);

Thanks
