on throwing of egg:
tool's name is "&6Birinci Tavig":
spawn chicken
set display name of spawned chicken to "&6Birinci Tavig"
on death:
if attacker is player:
if victim is chicken:
loop all chickens:
loop-chicken's name contains "&6Birinci Tavig"
give 1 egg named "&6Birinci Tavig" to attacker
command /birincitavigyimirtasiver:
trigger:
if player is op:
give 1 egg named "&6Birinci Tavig" to player
else:
send "&cBuğu yapamazsin"