Random Attack System

You can also use this post by Toothless.