# Getting movie clip to stop

**URL:** <https://forum.kirupa.com/t/getting-movie-clip-to-stop/233085>\
**Category:** Uncategorized\
**Created:** [July 19, 2007, 11:19pm UTC](https://forum.kirupa.com/t/getting-movie-clip-to-stop/233085 "2007-07-19T23:19:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JB\_Duart](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@JB\_Duart](https://forum.kirupa.com/u/JB_Duart)\
**Post date:** [July 19, 2007, 11:19pm UTC](https://forum.kirupa.com/t/getting-movie-clip-to-stop/233085/1 "2007-07-19T23:19:32Z")

</div>

i’m making a little 2-player shooter game and i want to the shots to stop after the player shoots 5 times.  
i want to know how i’d make the if statement.

thanks!!

tis is the file if you guys need to look at it and i know it’s all messed up and there are a lot of things that could be better like putting all the action script on one layer instead of movie clips but right now it works. i just want to know how to get the shots to fire five times then stop.

and maybe get them to reset after 3 seconds :)?

THANK YOU!! =)
