on rightclick with fishing rood:     if player's tool is fishing rod named "&6&lElitarna Wedka" with lore "&7Pozostale uzycia: &b%{wedkakoniec4}%/50":         if {wedkakoniec4} is more than 0:             remove 1 from {wedkakoniec4}              chance of 0.1%:                 add 1 crafting table named "&eSkrzynia Rybaka" to player's inventory                 send "&2Znalazlem skrzynie..." to player             chance of 1%:                 add 1 Cooked Fish named "&bSum Wąsaty" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 3%:                 add 1 pufferfish named "&eWybuchowa Ryba" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 5%:                 add 1 clownfish named "&6Ryba Nemo" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 8%:                 add 1 Raw Salmon named "&cCzerwona Ryba" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 10%:                 add 1 Raw Fish named "&bSledz" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 70%:                 send "&4Niestety nic nie znalazlem" to player         else:             send "&4Twoja wedka zostala zniszczona! Pojdz do rybaka i kup nowa!" to player             remove 1 fishing rod named "&6&lElitarna Wedka" with lore "&7Pozostale uzycia: &b%{wedkakoniec4}%/50" from player's inventory              On player fishing:     if player's tool is fishing rod named "&6&lElitarna Wedka" with lore "&7Pozostale uzycia: &b%{wedkakoniec4}%/50":         cancel eventon rightclick with fishing rood:     if player's tool is fishing rod named "&6&lElitarna Wedka" with lore "&7Pozostale uzycia: &b%{wedkakoniec4}%/50":         if {wedkakoniec4} is more than 0:             remove 1 from {wedkakoniec4}              chance of 0.1%:                 add 1 crafting table named "&eSkrzynia Rybaka" to player's inventory                 send "&2Znalazlem skrzynie..." to player             chance of 1%:                 add 1 Cooked Fish named "&bSum Wąsaty" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 3%:                 add 1 pufferfish named "&eWybuchowa Ryba" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 5%:                 add 1 clownfish named "&6Ryba Nemo" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 8%:                 add 1 Raw Salmon named "&cCzerwona Ryba" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 10%:                 add 1 Raw Fish named "&bSledz" to player's inventory                  send "&2Znalazlem jakas Rybe..." to player             chance of 70%:                 send "&4Niestety nic nie znalazlem" to player         else:             send "&4Twoja wedka zostala zniszczona! Pojdz do rybaka i kup nowa!" to player             remove 1 fishing rod named "&6&lElitarna Wedka" with lore "&7Pozostale uzycia: &b%{wedkakoniec4}%/50" from player's inventory              On player fishing:     if player's tool is fishing rod named "&6&lElitarna Wedka" with lore "&7Pozostale uzycia: &b%{wedkakoniec4}%/50":         cancel event