jantest6.txt 307 B

1234567891011121314
  1. event.load("player_elytra_start");
  2. strength = 3;
  3. @wait
  4. wait();
  5. yeet(player,strength);
  6. function yeet (player, strength){
  7. array = entity.getLook(player);
  8. x = array[0] * strength;
  9. y = math.abs(array[1]) * strength;
  10. z = array[2] * strength;
  11. entity.throw(player, x, y, z);
  12. }
  13. goto("wait");