Guest User

Pelerynka Męstwa by elosik123

a guest
Dec 4th, 2013
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. #============================#
  2. # Skript by elosik123 #
  3. # Name: PelerynkaMEstwa #
  4. # Version: 1.0.0 #
  5. #============================#
  6. # *Nie zezwalam na: #
  7. # - Przywłaszczania skryptu #
  8. # - Zarabiania na skrypcie #
  9. # - Przerabianie skryptu #
  10. # - Usuwanie komendy z #
  11. # treścią dotyczącą twórcy #
  12. # - Podszywania sie pod #
  13. # autora #
  14. # *Zezwalam na: #
  15. # - Edycje wiadomośći na #
  16. # własne potrzeby #
  17. # - Dopisywania fragmentów #
  18. #============================#
  19.  
  20. #=========#
  21. # OPCJE #
  22. #=========#
  23.  
  24. options:
  25. #Tag wyświetlany przed wiadomościami:
  26. tag: &7[&8PelerynkaMestwa&7]
  27. #Co ma respić się na PelerynceMestwa: (Pod spodem jest ilość!) (MAKSYMALNIE 5 POTWORÓW)
  28. potw1: zombie
  29. ile1: 5
  30. potw2: creeper
  31. ile2: 5
  32. potw3: spider
  33. ile3: 5
  34. potw4: skeleton
  35. ile4: 5
  36. potw5: witch
  37. ile5: 2
  38.  
  39. #===========#
  40. # ZMIENNE #
  41. #===========#
  42.  
  43. variables:
  44. {on.%player%} = true
  45.  
  46. #==========#
  47. # SKRYPT #
  48. #==========#
  49.  
  50. on rightclick holding a diamond:
  51. if player has permission "pelerynka.otrzymanie":
  52. if {on.%player%} is true:
  53. give leather named "&7Pelerynka Mestwa" to the player
  54. remove 1 diamond from the player
  55. send "{@tag}&fOtrzymales Pelerynke Mestwa!" to player
  56. if {on.%player%} is false:
  57. send "{@tag}&cPelerynka Mestwa zostala wylaczona!" to player
  58. else:
  59. send "{@tag}&cNie posiadasz uprawnien!" to player
  60.  
  61. on rightclick holding a leather:
  62. if name of player's tool is "&7Pelerynka Mestwa":
  63. if player has permission "pelerynka.uzycie":
  64. if {on.%player%} is true:
  65. send "{@tag}&fUzyles pelerynki mestwa! Trzymaj sie mocno!" to player
  66. spawn {@ile1} {@potw1} behind the player
  67. spawn {@ile2} {@potw2} behind the player
  68. spawn {@ile3} {@potw3} behind the player
  69. spawn {@ile4} {@potw4} behind the player
  70. spawn {@ile5} {@potw5} behind the player
  71. remove 1 leather named "&7Pelerynka Mestwa" from the player
  72. if {on.%player%} is false:
  73. send "{@tag}&cPelerynka Mestwa zostala wylaczona!" to player
  74.  
  75. command /pelerynka [<text>]:
  76. trigger:
  77. if player has permission "pelerynka.command":
  78. if arg 1 is not set:
  79. send "{@tag}&cPoprawna komenda to: /pelerynka wlacz,wylacz badz autor" to player
  80. if arg 1 is "wlacz" or "on":
  81. send "{@tag}&aWlaczyles pelerynke mestwa!"
  82. set {on.%player%} to true
  83. if arg 1 is "wylacz" or "off":
  84. send "{@tag}&aWylaczyles pelerynke mestwa!"
  85. set {on.%player%} to false
  86. else:
  87. send "{@tag}&cNie posiadasz permisji do tej komendy!"
  88. stop trigger
  89. if arg 1 is "author" or "autor" or "tworca":
  90. send "================================="
  91. send " &aAutor Skryptu "
  92. send " &aelosik123 "
  93. send "================================="
Advertisement
Add Comment
Please, Sign In to add comment