on right click on entity: if coloured name of entity contains "Kupiec": if {kupiec.%player%} is true: if player's tool is iron sword or iron helmet or iron chestplate or iron leggings or iron boots: if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 1": remove player's tool from player add 1 to balance of player send "&6Trzymaj te drobniaki &2(+1)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 2": remove player's tool from player add 2 to balance of player send "&6Trzymaj te drobniaki &2(+2)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 3": remove player's tool from player add 3 to balance of player send "&6Trzymaj te drobniaki &2(+3)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 4": remove player's tool from player add 4 to balance of player send "&6Trzymaj te drobniaki &2(+4)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 5": remove player's tool from player add 5 to balance of player send "&6Trzymaj te drobniaki &2(+5)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 6": remove player's tool from player add 6 to balance of player send "&6Trzymaj te drobniaki &2(+6)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 7": remove player's tool from player add 7 to balance of player send "&6Trzymaj te drobniaki &2(+7)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 8": remove player's tool from player add 8 to balance of player send "&6Trzymaj te drobniaki &2(+8)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 9": remove player's tool from player add 9 to balance of player send "&6Trzymaj te drobniaki &2(+9)" to player stop if lore of player's tool is "||&3Rzadkosc przedmiotu: &bLvl. 10": remove player's tool from player add 10 to balance of player send "&6Trzymaj te drobniaki &2(+10)" to player stop send "&6Kupiec: &2Ten item nie jest na sprzedasz!" to player else if {kupiec.%player%} is not set: send "&6Zaakceptuj regulamin kupca (Po kliknieciu prawym na kupca sprzedajesz item w rece!) Wpisz /KupiecAkceptuje" to player command /KupiecAkceptuje: trigger: if {kupiec.%player%} is not set: send "&7Akceptowales regulamin kupca (Po kliknieciu prawym na kupca sprzedajesz item w rece!)" send "&7Administracja nie odpowiada za stracone itemy!" set {kupiec.%player%} to true else: send "&7Akceptowales juz!"