on right click on entity: entity's display name is "biolog" if {misjaBiologNumer::%player%} is set: if {misjaBiologNumer::%player%} is 1: if player's tool is 5 spider eye named "Oko Rycerza": set player's tool to (item amount of player's tool - 5) of player's tool send "&aWykonałeś zadanie nr 1!" and "&aNagroda: &b1 diament" to player give player 1 diamond set {misjaBiologNumer::%player%} to 2 send "&aPrzynieś mi 5 oczy rycerza!" to player stop send "&cMusisz przynieść mi 5 oczy rycerza! Musisz trzymać je w ręce!" to player stop else if {misjaBiologNumer::%player%} is 2: if player's tool is 10 spider eye named "Oko Wojownika": set player's tool to (item amount of player's tool - 5) of player's tool send "&aWykonałeś zadanie nr 2!" and "&aNagroda: &b1 diament" to player give player 1 diamond set {misjaBiologNumer::%player%} to 3 send "&aPrzynieś mi 5 oczy wojownika!" to player stop send "&cMusisz przynieść mi 5 oczy wojownika! Musisz trzymać je w ręce!" to player stop else if {misjaBiologNumer::%player%} is 3: if player's tool is 5 white tulip named "Kwiatek Zombie": set player's tool to (item amount of player's tool - 5) of player's tool send "&aWykonałeś zadanie nr 2!" and "&aNagroda: &b1 diament" to player give player 1 diamond set {misjaBiologNumer::%player%} to 3 send "&aPrzynieś mi 5 kwiatków zombie!" to player stop send "&aPrzynieś mi 5 kwiatków zombie!" to player set {misjaBiologNumer::%player%} to 1 on death: if attacker is a player: if victim's name is "&7Rycerz &3( lvl 1-10 )": chance of 100%: give spider eye named "Oko Rycerza" to the attacker on death: if attacker is a player: if victim's name is "&7Wojownik &3( lvl 10-20 )": if {misjaBiologNumer::%player%} is 2: chance of 100%: give spider eye named "Oko Wojownika" to the attacker