AI and player fire weapon with cooldown