Guest User

Untitled

a guest
Feb 10th, 2015
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. variables:
  2. {kill.%player%} = 0
  3. {dedy.%player%} = 0
  4. on rightclick on sign:
  5. if line 1 is "&1[EXCALIBUR]":
  6. if line 2 is "&aInteligentny":
  7. if line 3 is "&aMiecz":
  8. if line 4 is "300000 $":
  9. if player's balance is greater than 30000:
  10. remove 30000 from player's balance
  11. add diamond sword named "&e&lExcalibur" with lore "&fDiamond Sword||Wlasnosc: %player%" to player
  12. else:
  13. send "&2Masz za malo kasy"
  14.  
  15. on damage:
  16. if victim has a potion of speed:
  17. if attacker has a potion of strength:
  18. cancel event
  19. else:
  20. apply Strength 3 to the attacker for 10 seconds
  21. else:
  22. apply speed to the victim for 10 seconds
  23. on death:
  24. attacker is player
  25. victim is a player
  26. if attacker's tool is diamond sword named "&e&lExcalibur":
  27. add 1 to {kill.%attacker%}
  28. on death of player:
  29. if attacker's tool is diamond sword named "&e&lExcalibur":
  30. add 1 to {dedy.%victim%}
  31. command /staty:
  32. trigger:
  33. send "&2Zabicia:&7 %{kill.%player%}%"
  34. send "&2Smierci:&7 %{dedy.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment