Well, this is not the way to learn creating games. You should try to learn a bit about particles and try it on your own first.
If you notice problems, when doing it your self, someone will definitely help you to fix them. Another thing you can do is to search the AUMs for some code that fits.