variables: {miecz::ilosc} = 1 on death of player: if attacker is a player: if attacker's tool is a diamond sword: set {_} to "%uncoloured lore of attacker's tool%" if 3rd line of {_} contains "Players Killed": set {_} to 3rd line of lore of attacker's tool replace all "&fPlayers Killed: &f" with "" in {_} set {_} to {_} parsed as number add 1 to {_} set 3rd line of lore of attacker's tool to "&fPlayers Killed: &9%{_}%" on damage: if name of attacker's tool is "&e&lExcalibur": remove strength from the attacker apply strength 12 to attacker for 3.9 seconds #Jestes pewien ze taki duzy dmg bedzie dobry...? on rightclick on sign: if line 1 is "&1[EXCALIBUR]": if player's balance >= 300000: remove 300000 from player's balance execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&6Description:_&fWlasnosc&f_%player%|&fPlayers_Killed:_&f0|&fStrange_Weapon:_%{miecz::ilosc}%|&fDiamond_Sword" add 1 to {miecz::ilosc} send "&6Zakupiles EXCALIBUR" else: send "&6Nie masz wystarczajÄ…co pieniedzy, brakuje ci jeszcze %300000-player's balance%$" command /exc: permission: exc.admin trigger: execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&6Description:_&fWlasnosc&f_%player%|&fPlayers_Killed:_&f0|&fStrange_Weapon:_%{miecz::ilosc}%|&fDiamond_Sword" add 1 to {miecz::ilosc} send "&6Zakupiles EXCALIBUR"