#forcefield?

1 messages · Page 1 of 1 (latest)

odd garnet
#

how would i apply kb to players around me in a 3 block radius to force them away

fluid bone
#
system.runInterval(() => {
  for (const p of world.getAllPlayers()) {
    const otherps = world
      .getAllPlayers()
      .filter((player) => player.name !== p.name);

    otherps.forEach((otherp) => {
      if (p.dimension.getPlayers({ maxDistance: 3, name: otherp.name })) {
        otherp.applyKnockback(p.location.x, p.location.z, 5, 0.6);
      }
    });
  }
});

probably something like that

#

actually, i dont think that would work

astral hatch
#

should work if I'm not mistaken

fluid bone
#

i feel like it should work tho

odd garnet
#

ok ill try