Machinegun.js script disabled on play

Hi,

I have the PS Tutorial and everything worked before, now i made a new project and redid the tutorial for the second time and so far so good, everything works but one thing is strange…
The Machinegun.js script gets disabled when i hit play.
Everything else works, missilelauncher and so on, the machinegun also makes sparks where it hits, and every now and then i see the Machinegun.js script enable for a split second, then i have one muzzleflash and it disables again.
I did notice that when i stop playing the “model” under the tag manager lights up yellow for a split second…

anybody know why this is ?

OK, after searching i found out what was the problem, under the muzzleflash.enabled = false; line there was a line that says enabled = false; line, i removed it and the script stays enabled…

so the enabled = false; line disables the script itself…

don’t know why the author put that line in though…