Facebook
From PanRomcio , 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 296
  1. #Na zlecenie Gibek123
  2.  
  3. variables:
  4.     {excalibur.kille.%player%} = 0
  5.        
  6. command /excalibur:
  7.     permission: excalibur.skript
  8.     trigger:
  9.         give 1 diamond sword named "&6&oExcalibur" with lore "&fWlasnosc : &6%player%||&fZabici gracze : &4%{excalibur.kille.%player%}%||&6Sila broni: &f17" to player
  10.         send "&4Dostales &6&oExcalibur!"
  11.        
  12. on damage:
  13.     if attacker is player:
  14.         if name of attacker's tool is "&6&oExcalibur":
  15.             remove strength from attacker
  16.             apply Strength 30 to attacker for 3 seconds
  17.                
  18. on death:
  19.     if victim is a player:
  20.         if attacker is a player:
  21.             add 1 to {excalibur.kille.%player%}
  22.