#Skript by 20bebol01# on death of player: drop 1 diamond at victim's location #MIECZE on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&LMIECZ": line 3 is "&lsharpness 1": player's tool is sword: player has 19 diamond: remove 19 diamond from player's inventory enchant the player's tool with sharpness 1 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 19 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 19 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&LMIECZ": line 3 is "&lsharpness 2": player's tool is sword: player has 38 diamond: remove 38 diamond from player's inventory enchant the player's tool with sharpness 2 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 38 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 38 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&LMIECZ": line 3 is "&lsharpness 3": player's tool is sword: player has 57 diamond: remove 57 diamond from player's inventory enchant the player's tool with sharpness 3 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 57 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 57 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&LMIECZ": line 3 is "&lsharpness 5": line 4 is "&lfire aspect 2": player's tool is sword: player has 64 diamond: remove 64 diamond from player's inventory enchant the player's tool with sharpness 4 enchant the player's tool with fire aspect 1 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 64 diamenty z Twojego ekwipunku!" else: send "&4Nie posiadasz 64 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&LMIECZ": line 3 is "&lsharpness 5": line 4 is "&lfire aspect 2": player's tool is sword: player has 80 diamond: remove 80 diamond from player's inventory enchant the player's tool with sharpness 5 enchant the player's tool with fire aspect 2 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 80 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 80 diamentow!" #ZBROJE on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 1": player's tool is helmet or chestplate: player has 19 diamond: remove 19 diamond from player's inventory enchant the player's tool with protection 1 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 19 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 19 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 2": player's tool is helmet or chestplate: player has 38 diamond: remove 38 diamond from player's inventory enchant the player's tool with protection 2 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 38 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 38 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 3": player's tool is helmet or chestplate: player has 57 diamond: remove 57 diamond from player's inventory enchant the player's tool with protection 3 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 57 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 57 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 4": line 4 is "&lunbreaking 2": player's tool is helmet or chestplate: player has 64 diamond: remove 64 diamond from player's inventory enchant the player's tool with protection 4 enchant the player's tool with unbreaking 2 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 64 diamenty z Twojego ekwipunku!" else: send "&4Nie posiadasz 64 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 4": line 4 is "&lunbreaking 3": player's tool is helmet or chestplate: player has 80 diamond: remove 80 diamond from player's inventory enchant the player's tool with protection 4 enchant the player's tool with unbreaking 3 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 80 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 80 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 1": player's tool is leggings or boots: player has 19 diamond: remove 19 diamond from player's inventory enchant the player's tool with protection 1 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 19 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 19 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 2": player's tool is leggings or boots: player has 38 diamond: remove 38 diamond from player's inventory enchant the player's tool with protection 2 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 38 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 38 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 3": player's tool is leggings or boots: player has 57 diamond: remove 57 diamond from player's inventory enchant the player's tool with protection 3 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 57 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 57 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 4": line 4 is "&lunbreaking 2": player's tool is leggings or boots: player has 64 diamond: remove 64 diamond from player's inventory enchant the player's tool with protection 4 enchant the player's tool with unbreaking 2 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 64 diamenty z Twojego ekwipunku!" else: send "&4Nie posiadasz 64 diamentow!" on click on sign: line 1 is "&4&lCENA: 19 DIAX": line 2 is "&4&lZBROJA": line 3 is "&lprotection 4": line 4 is "&lunbreaking 2": player's tool is leggings or boots: player has 64 diamond: remove 64 diamond from player's inventory enchant the player's tool with protection 4 enchant the player's tool with unbreaking 2 send "&b&lEnchant &6&l>> &eEnchantowanie zakonczone pomyslnie!" send "&b&lEnchant &6&l>> &eZabralismy 80 diamentow z Twojego ekwipunku!" else: send "&4Nie posiadasz 80 diamentow!"