knugi

Diamond

Aug 14th, 2014
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. on rightclick holding diamond:
  2. {diamond.%player%} is not set:
  3. chance of 50%:
  4. send "&3(&64Grief&3) &eZaczekaj Losuje Nagrode.."
  5. remove diamond from player
  6. execute console command "/effect %player% 1 10 1"
  7. apply regeneration 1 the player for 300 seconds
  8. send "&3(&64Grief&3) &6Wylosowales Efekt Szybkosc II Na 10 Sekund!"
  9. set {diamond.%player%} to 20
  10. stop
  11. chance of 10%:
  12. send "&3(&64Grief&3) &eZaczekaj Losuje Nagrode.."
  13. remove diamond from player
  14. send "&3(&64Grief&3) &6Wylosowales Efekt Niesmiertelnosc Na 3 Sekundy!"
  15. execute console command "/god %player%"
  16. wait 3 real seconds
  17. execute console command "/god %player%"
  18. apply regeneration 1 the player for 300 seconds
  19. set {diamond.%player%} to 20
  20. stop
  21. chance of 40%:
  22. send "&3(&64Grief&3) &eZaczekaj Losuje Nagrode.."
  23. remove diamond from player
  24. execute console command "/effect %player% 8 10 2"
  25. apply regeneration 1 the player for 300 seconds
  26. send "&3(&64Grief&3) &6Wylosowales Efekt Skoki III Na 10 Sekund"
  27. set {diamond.%player%} to 20
  28. stop
  29. chance of 20%:
  30. send "&3(&64Grief&3) &eZaczekaj Losuje Nagrode.."
  31. remove diamond from player
  32. execute console command "/effect %player% 5 10 1"
  33. apply regeneration 1 the player for 300 seconds
  34. send "&3(&64Grief&3) &6Wylosowales Efekt Sila II Na 10 Sekund!"
  35. set {diamond.%player%} to 20
  36. stop
  37. every 1 second:
  38. loop all players:
  39. {diamond.%loop-player%} is larger than 0:
  40. remove 1 from {diamond.%loop-player%}
  41. else:
  42. clear {diamond.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment