TheBlooes

Doping

Apr 17th, 2014
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. options:
  2. itemy: 15 diamond #Itemy potrzebne zeby dostac doping
  3. efekt: strength 2 #Jaki efekt ma dawac gdy zazywa sie doping.
  4. czasefektu: 3 minutes #Czas efektu
  5. szansa: 50% #Jaka ma byc szansa
  6.  
  7. command /Doping:
  8. trigger:
  9. player has {@itemy}:
  10. remove {@itemy} from player
  11. give a clay of sharpness 1 named "&3Doping" to the player
  12. else:
  13. message "&6Nie masz {@itemy}!"
  14.  
  15. on rightclick with clay:
  16. if name of player's tool is "&3Doping":
  17. remove clay named "&3Doping" from player
  18. chance of {@szansa}:
  19. apply {@efekt} to player for {@czasefektu}
  20. message "&6SZCZESCIARZ! DOSTALES STRENGTHA!"
  21. chance of {@szansa}:
  22. kill the player
  23. message "&6PECHOWIEC! ZGINALES!"
Advertisement
Add Comment
Please, Sign In to add comment