on script load:
register new shaped recipe for nameditemstack from "leather;<bold><magenta>Parachute;<gold>Sağ-Tıkla ve hasarı engelle." using feather, feather, feather, string, air, string, leather, leather, leather
on right click with feather:
"%lore of player's tool%" contains "<gold>Sağ-tık hasarı engeller.":
if the block below the player is air:
the player is not riding a chicken:
remove 1 of the tool from the player
spawn a chicken at the player's location
set the spawned chicken's display name to "Parachute"
make the spawned chicken ride the player
spawn a chicken at the player's location
set the spawned chicken's display name to "Parachute"
make the player ride the spawned chicken
set the spawned chicken's max health to 0
on any movement:
block below player is not air:
player is riding a chicken:
loop chickens in radius 10 around player:
if display name of loop-chicken contains "Parachute":
kill loop-chicken
on death of chicken:
if display name of event-chicken is "Parachute":
delete drops