Burst fire script
#1
I just wanted to create a script that will automate fire 3 shots. I tried while, looping attack command without results. I finished with this:

Yes, it's a little crappy, but it works somehow. But it doesnt work as I expected, the main disadvantage is that I must keep pressing button until burstin stops. Can anyone help me to improve it?

Mod edit: These scripts are not meant to be used in multiplayer and will be blocked in future versions AFAIK, don't use them, and definitely don't release them publicly.
Thanks given by:
#2
Closed, sorry but these scripts are not allowed.
Thanks given by: