event.load("player_elytra_start"); strength = 3; @wait wait(); yeet(player,strength); function yeet (player, strength){ array = entity.getLook(player); x = array[0] * strength; y = math.abs(array[1]) * strength; z = array[2] * strength; entity.throw(player, x, y, z); } goto("wait");