knugi

Diament v2

Aug 14th, 2014
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 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 to 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 to 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 to 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 to 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. else:
  38. {diamond.%player%} is larger than 5:
  39. send "&7Diamenta losowania bedziesz mogl mozesz uzyc dopiero za &c%{diamond.%player%}% &7sekund."
  40. stop
  41. {diamond.%player%} is 2 or 3 or 4:
  42. send "&7Diamenta losowania bedziesz mogl mozesz uzyc dopiero za &c%{diamond.%player%}% &7sekundy."
  43. stop
  44. {diamond.%player%}% is 1:
  45. send "&7Diamenta losowania bedziesz mogl mozesz uzyc dopiero za &c%{diamond.%player%}% &7sekund."
  46. stop
  47. else:
  48. send "&cBlad: &4Napisz do admina"
  49. every 1 second:
  50. loop all players:
  51. {diamond.%loop-player%} is larger than 0:
  52. remove 1 from {diamond.%loop-player%}
  53. else:
  54. clear {diamond.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment