on rightclick on zombie: if name of clicked entity is "Kupiec": if {lv::%player%} is not set: set {lv::%player%} to 1 set {exp::%player%} to 0 if player's tool is not air: if lore of player's tool is "||&2Poziom: &7&lZniszczony": if {kasa::%player%} is not set: set {kasa::%player%} to 0 if {kasa::%player%} is set: add 1 to {kasa::%player%} send " &b&lKUPIEC &8» &2Twoj przedmiot zostal sprzedany za: 1$" to player remove player's tool from player if lore of player's tool is "||&2Poziom: &8&lNormalny": if {kasa::%player%} is not set: set {kasa::%player%} to 0 if {kasa::%player%} is set: add 10 to {kasa::%player%} send " &b&lKUPIEC &8» &2Twoj przedmiot zostal sprzedany za: 10$" to player remove player's tool from player if lore of player's tool is "||&2Poziom: &e&lUnikatowy": if {kasa::%player%} is not set: set {kasa::%player%} to 0 if {kasa::%player%} is set: add 100 to {kasa::%player%} send " &b&lKUPIEC &8» &2Twoj przedmiot zostal sprzedany za: 100$" to player remove player's tool from player if lore of player's tool is "||&2Poziom: &3&lRzadki": if {kasa::%player%} is not set: set {kasa::%player%} to 0 if {kasa::%player%} is set: add 300 to {kasa::%player%} send " &b&lKUPIEC &8» &2Twoj przedmiot zostal sprzedany za: 300$" to player remove player's tool from player if lore of player's tool is "||&2Poziom: &c&lEpicki": if {kasa::%player%} is not set: set {kasa::%player%} to 0 if {kasa::%player%} is set: add 600 to {kasa::%player%} send " &b&lKUPIEC &8» &2Twoj przedmiot zostal sprzedany za: 600$" to player remove player's tool from player if lore of player's tool is "||&2Poziom: &6&lLegendarny": if {kasa::%player%} is not set: set {kasa::%player%} to 0 if {kasa::%player%} is set: add 1200 to {kasa::%player%} send " &b&lKUPIEC &8» &2Twoj przedmiot zostal sprzedany za: 1200$" to player remove player's tool from player if lore of player's tool is "||&2Poziom: &4&lElitarny": if {kasa::%player%} is not set: set {kasa::%player%} to 0 if {kasa::%player%} is set: add 6000 to {kasa::%player%} send " &b&lKUPIEC &8» &2Twoj przedmiot zostal sprzedany za: 6000$" to player remove player's tool from player else: send " &c&lKUPIEC &8» &cChcesz mi powietrze sprzedac?!" to player command /ustawrzadkosc []: permission: * permission message: &cNie masz dostepu do tej komendy! trigger: if executor is "TakiJakTy": if arg-1 is not "Zniszczony" or "Normalny" or "Unikalny" or "Rzadki" or "Epicki" or "Legendarny" or "Elitarny": send "&6Uzyj: /ustawrzadkosc " to player if arg-1 is "Zniszczony": set lore of player's tool to "||&2Poziom: &7&lZniszczony" send "&2Ustawiono rzadkosc przedmiotu na: &7&lZniszczony" to player stop if arg-1 is "Normalny": set lore of player's tool to "||&2Poziom: &8&lNormalny" send "&2Ustawiono rzadkosc przedmiotu na: &8&lNormalny" to player stop if arg-1 is "Unikalny": set lore of player's tool to "||&2Poziom: &e&lUnikalny" send "&2Ustawiono rzadkosc przedmiotu na: &e&lUnikalny" to player stop if arg-1 is "Rzadki": set lore of player's tool to "||&2Poziom: &3&lRzadki" send "&2Ustawiono rzadkosc przedmiotu na: &3&lRzadki" to player stop if arg-1 is "Epicki": set lore of player's tool to "||&2Poziom: &c&lEpicki" send "&2Ustawiono rzadkosc przedmiotu na: &c&lEpicki" to player stop if arg-1 is "Legendarny": set lore of player's tool to "||&2Poziom: &6&lLegendarny" send "&2Ustawiono rzadkosc przedmiotu na: &6&lLegendarny" to player stop if arg-1 is "Elitarny": set lore of player's tool to "||&2Poziom: &4&lElitarny" send "&2Ustawiono rzadkosc przedmiotu na: &4&lElitarny" to player stop