on rightclick with pumpkin: if name of player's tool is "&6Dynia Halloween": cancel event remove 1 pumpkin from player create a fake explosion set {_liczba} to random integer from 0 to 100 if {_liczba} is between 1 and 50: spawn 2 zombie at the player if {_liczba} is between 51 and 100: spawn 1 zombie at the player command /unikat: trigger: add 1 pumpkin of unbreaking 10 named "&6Dynia Halloween" with lore "&aZawiera Bardzo dobre przedmioty z podpisem gracza ktory je zdobyl!" to player