Thanks to Nitesphere08 for the code I can't get the head bounce right.
I suggest taping the flag a fuw times