how would i make this only apply knockback to players without the tag in_spawn
world.events.entityHit.subscribe(({ entity, hitEntity }) => {
if (!hitEntity) return;
const xstr = 5;
const ystr = 3;
const direction = hitEntity.getViewDirection();
let hStrength, vStrength;
hStrength = Math.sqrt(1 - direction.y ** 2) * xstr;
vStrength = direction.y * ystr;
hitEntity.applyKnockback(direction.x, direction.z, hStrength, vStrength);
});```