Or you could use addVelocity and have an ::onFire function
Don't do it the way sgt walter did it because that SUCKS ASS.You dont randomly look somewhere else for no reason after shooting a pistol do you?!
use addVelocity and have an ::onFire function
Knockback the player who was hit by the projectile.