Guest User

Untitled

a guest
Dec 22nd, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. # # # # # # # # # # # # # # # #
  2. # Name: DeathHead #
  3. # Version: 1.0 #
  4. # Skript: 2.0.2 #
  5. # # # # # # # # # # # # # # # #
  6.  
  7.  
  8.  
  9. #=============================================#
  10. # Licencja DeathHead by FejminTV #
  11. # + Nie zezwalamy na: #
  12. # - Usuwanie tresci o autorach! #
  13. # - Udostepnaniu skryptu innym! #
  14. # - Podszywanie sie pod autorów! #
  15. # - Uzywanie kodu skryptu w swoich skryptach! #
  16. # - Zarabianie na skrypcie! #
  17. # + Zezwalamy na: #
  18. # - Dodawanie kodu na swoja potrzebe! #
  19. # - Modyfikowanie wiadomosci! #
  20. #=============================================#
  21. variables:
  22. {head.status} = 1
  23. options:
  24. szansa: 100
  25. szansavip: 100
  26. tag: &8[&cHead&8]
  27. permission: &4Nie masz uprawnien by uzywac tej komendy!
  28. on death:
  29. {head.status} is 1:
  30. if player has permission "head":
  31. attacker is player
  32. if chance of {@szansa}%:
  33. give the victim's skull to attacker
  34. send "&{@tag} 7Za zabicie &cgracza &7dostajesz jego glowe" to attacker
  35. else:
  36. send "{@tag} {@permission}"
  37. stop
  38. if player has permission "head.vip":
  39. attacker is player
  40. if chance of {@szansavip}%:
  41. give the victim's skull to attacker
  42. send "&{@tag} 7Za zabicie &cgracza &7dostajesz jego glowe" to attacker
  43. else:
  44. send "{@tag} {@permission}"
  45. stop
  46. {head.status} is 0:
  47. send "&{@tag} &7Drop glow z graczy jest &4OFF"
  48.  
  49. command /heads [<text>]:
  50. trigger:
  51. if player has permission "head":
  52. if arg 1 is "on":
  53. set {head.status} to 1
  54. send "{@tag} &7Glowy wlaczone"
  55. stop
  56. if arg 1 is "off":
  57. set {head.status} to 0
  58. send "{@tag} &7Glowy wylaczone"
  59. stop
  60. else:
  61. send "{@tag} &c/heads <&fon/off&c>"
  62. stop
  63. else:
  64. send "{@tag} {@permission}"
  65. stop
  66.  
  67. command /head [<player>]:
  68. trigger:
  69. {head.status} is 1:
  70. if player has permission "head.give":
  71. give skull of arg to player
  72. send "{@tag} &7Dostales glowe &c%arg player%"
  73. stop
  74. else:
  75. send "{@tag} {@permission}"
  76. stop
  77. else:
  78. send "{@tag} &7Glowy sa &cOFF"
  79. stop
Advertisement
Add Comment
Please, Sign In to add comment