please help me with turret script!!

ok im following the tornado twins tutorial on the worm game, but my problem is that i cant get the turret to only fire one bullet, http://www.youtube.com/watch?v=raNfTotAGQw thats a link to what is going wrong, I made a video of it. there is also my code in the box below the video (when i paste it here it jumbles up) you may notice that my turret spawn point is called turret point, this is because for some reason it makes the worm fire from the turret.

PLEASE HELP!!! thanks kris

Hi, welcome to the forum!

I see from the video that you are getting errors with the code. Can you post the error messages you are getting with line numbers if they are supplied (but don’t post multiple copies of the same message if that is what you are getting :wink: ).

One of them is: cant find rigidbody.Addforce my guess is it is not Addforce, but addForce (unityOftenWritesLikeThis, OrLikeThis)