In precision agriculture, such as crop spraying, controlling UAVs presents various challenges such as variable payload, inertial coefficient variation, influence of external disturbances such as wind gusts, and uncertainties associated with the dynamics. To address these challenges, this paper proposes a hybrid control technique that combines higher-order integral sliding mode control, fast-terminal sliding mode control, and adaptive law. The objective is to mitigate the effects of variable payload, external disturbances, and uncertainties while maintaining the stability and performance of the UAV during spraying. Initially, a mathematical model is constructed for a coaxial octocopter UAV that is fitted with a spraying tank. This model takes into account the variation in mass and moment of inertia. Then, a two-loop control structure is employed to attain control of both the translational and rotational axis of the UAV. The numerical simulations are performed on a nonlinear model of the agricultural UAV system and compared with neural network based sliding mode control and robust adaptive backstepping control schemes. The robustness of the proposed scheme is tested in wind gusts and sensor measurement error conditions. Finally, hardware-in-loop simulations are performed using the Pixhawk Orange Cube flight controller to validate the real-time capability of the proposed scheme.