01-08-2016, 03:13 AM
Try this instead:
Entity:GetWorld():DoWithPlayer(ShooterName, function(a_Player) Entity:TakeDamage(dtArrow, a_Player, 18, ProjectileEntity:GetPosition() end )