To play random attack you must hold onto Z until you choose to stop. when you stop you will either have a gun or a sword. Oh and one thing: to use the mouse gun put the arrow of you mouse for the computer some where and that's where the bullet will go.