variables: {licence} = 0 {zabicia} = 0 command /excalibur: permission: essentials.item trigger: give player 1 diamond sword named "&e&oExcalibur" with lore "&fDiamond_Sword||&6&oDescription:_&fWlasnosc&f_%player%||&fPlayers_Killed:_%{zabicia}%||&fStrange_Weapon:_%{licence}%" on damage: if attacker's tool is diamond sword named "&e&oExcalibur": remove strength from the attacker apply strength 6.5 to attacker for 3.9 seconds on death of player: if attacker's tool is diamond sword named "&e&oExcalibur" with lore "&fDiamond_Sword||&6&oDescription:_&fWlasnosc&f_%attacker%||&fPlayers_Killed:_%{zabicia}%||&fStrange_Weapon:_%{licence}%": add 1 to {zabicia} set lore of attacker's tool to "&fDiamond_Sword||&6&oDescription:_&fWlasnosc&f_%attacker%||&fPlayers_Killed:_%{zabicia}%||&fStrange_Weapon:_%{licence}%" on rightclick on sign: if line 1 is "&1[EXCALIBUR]": if line 2 is "INTELIGENTNY": if line 3 is "MIECZ": if line 4 is "$300000": if player's balance is greater than 300000: remove 300000 from player's account give player 1 diamond sword named "&e&oExcalibur" with lore "&fDiamond_Sword||&6&oDescription:_&fWlasnosc&f_%player%||&fPlayers_Killed:_%{zabicia}%||&fStrange_Weapon:_%{licence}%" add 1 to {licence} send "&6[SignShop] &fZakupiles Excalibur Najlepsza Bron za &a$300000&f!" else: send "&6[SignShop] &fNie masz wystarczajaco duzo dolarow! Wykonuj prace i zarabiaj lub zamow je smsem!"