Hitting moving targets is difficult. This requires knowing the time it takes for the ammo to reach that distance as well as knowing where that target will be at that time as well.
Start with hitting targets that are swinging. A bean or soup can hanging on a sting is a great place to start. Remember, practice, pratcice, practice!