The "Bug Hunt" forum is meant for engine bugs, not for bugs in your own script. You should use the LiteC forum for that. (First one in the list, I think.)

That being said, we need more information than that. You mention a BEAM and a STREAK flag, but you don't call any particles in your script. BEAM and STREAK are for particles only... so where are the particles supposed to show? You said they shouldn't be behind and to the right of the player, but where should they be?
If you answer some of these questions, I'm sure someone will help you. You could also just post the answers to those questions in the LiteC forum.
Good luck...


~"I never let school interfere with my education"~
-Mark Twain