Guest User

ItemsParkour

a guest
Feb 28th, 2014
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.11 KB | None | 0 0
  1. #============================#
  2. # Skript by elosik123 #
  3. # Name: ItemsParkour! #
  4. # Version: 1.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.  
  26. #OPCJE DIAMENTU - INFORMACJE NA TEMAT SERWERA!!!!!!!
  27. #Maksymalnie możemy wpisać 5 wiadomości!
  28. 1: &cwpisz tu swoja wiadomosc
  29. 2: &cwpisz tu swoja wiadomosc
  30. 3: &cwpisz tu swoja wiadomosc
  31. 4: &cwpisz tu swoja wiadomosc
  32. 5: &cwpisz tu swoja wiadomosc
  33.  
  34. #==========#
  35. # SKRYPT #
  36. #==========#
  37.  
  38. on join:
  39. clear the player's inventory
  40. give player stick named "&3Patyk - &6Teleportujacy na spawn!"
  41. give player paper named "&3Papier - &6Chowajacy/pokazujacy graczy!"
  42. give player green music disc named "&3Plyta - &6Tworzenie checkpointa!"
  43. give player blocks music disc named "&3Plyta - &6Teleport na checkpoint!"
  44. give player diamond named "&3Diament - &6Informacje na temat serwera!"
  45.  
  46. on respawn:
  47. give player stick named "&3Patyk - &6Teleportujacy na spawn!"
  48. give player paper named "&3Papier - &6Chowajacy/pokazujacy graczy!"
  49. give player green music disc named "&3Plyta - &6Tworzenie checkpointa!"
  50. give player blocks music disc named "&3Plyta - &6Teleport na checkpoint!"
  51. give player diamond named "&3Diament - &6Informacje na temat serwera!"
  52.  
  53. command /itemsparkour [<text>]:
  54. aliases: ip
  55. trigger:
  56. if arg 1 is "sethome":
  57. if player has permission "itemsparkour.sethome":
  58. set {home.%player%} to player's location
  59. send "&aUstawiles sethome dla itemsparkour!"
  60. else:
  61. send "&cNie masz permisji do tej komendy!"
  62. stop trigger
  63. if arg 1 is "itemy":
  64. clear the player's inventory
  65. give player stick named "&3Patyk - &6Teleportujacy na spawn!"
  66. give player paper named "&3Papier - &6Chowajacy/pokazujacy graczy!"
  67. give player green music disc named "&3Plyta - &6Tworzenie checkpointa!"
  68. give player blocks music disc named "&3Plyta - &6Teleport na checkpoint!"
  69. give player diamond named "&3Diament - &6Informacje na temat serwera!"
  70. send "&aOtrzymales itemy startowe!"
  71. if arg 1 is "autor":
  72. send "&6Autorem skryptu jest elosik123"
  73. send "&6Link do kanalu youtube: https://www.youtube.com/user/xTTTheDanieLLL"
  74. if arg 1 is not set:
  75. send "&cPoprawna komenda: /itemsparkour help"
  76. if arg 1 is "help":
  77. send "&3/itemsparkour help - &6Wszystkie komendy"
  78. send "&3/itemsparkour sethome - &fUstawienie spawnu dla skryptu"
  79. send "&3/itemsparkour itemy - &fOtrzymanie itemow startowych"
  80. send "&3/itemsparkour autor - &fInformacje o autorze"
  81.  
  82. on rightclick holding stick:
  83. if name of player's tool is "&3Patyk - &6Teleportujacy na spawn!":
  84. if {home.%player%} is not set:
  85. send "&cNie zostal ustawiony zadny spawn, skontaktuj sie z administracja!"
  86. stop trigger
  87. else:
  88. teleport player to {home.%player%}
  89. send "&aWitaj na spawnie!"
  90.  
  91. on leftclick holding paper:
  92. if {gracze.%name of player%} is name of player:
  93. send "&cZanim uzyjesz tego ponownie, musisz odczekac 10 sekund!"
  94. stop trigger
  95. else:
  96. if name of player's tool is "&3Papier - &6Chowajacy/pokazujacy graczy!":
  97. hide all players from player
  98. send "&aUkryto wszystkich graczy!"
  99. set {gracze.%name of player%} to name of player
  100. wait 10 second
  101. delete {gracze.%name of player%}
  102. stop
  103.  
  104. on rightclick holding paper:
  105. if {gracze.%name of player%} is name of player:
  106. send "&cZanim uzyjesz tego ponownie, musisz odczekac 10 sekund!"
  107. stop trigger
  108. else:
  109. if name of player's tool is "&3Papier - &6Chowajacy/pokazujacy graczy!":
  110. reveal all players to player
  111. send "&aPokazano wszystkich graczy!"
  112. set {gracze.%name of player%} to name of player
  113. wait 10 second
  114. delete {gracze.%name of player%}
  115. stop
  116.  
  117. on rightclick holding green music disc:
  118. if name of player's tool is "&3Plyta - &6Tworzenie checkpointa!":
  119. set {checkpointsave.%player%} to player's location
  120. send "&aStworzono checkpoint!"
  121.  
  122. on rightclick holding blocks music disc:
  123. if name of player's tool is "&3Plyta - &6Teleport na checkpoint!":
  124. teleport player to {checkpointsave.%player%}
  125. send "&aTeleportowales sie do checkpointa!"
  126.  
  127. on rightclick holding diamond:
  128. if {info.%name of player%} is name of player:
  129. send "&cZanim uzyjesz tego ponownie, musisz odczekac 5 sekund!"
  130. stop trigger
  131. else:
  132. if name of player's tool is "&3Diament - &6Informacje na temat serwera!":
  133. send "{@1}"
  134. send "{@2}"
  135. send "{@3}"
  136. send "{@4}"
  137. send "{@5}"
  138. set {info.%name of player%} to name of player
  139. wait 5 second
  140. delete {info.%name of player%}
  141. stop
  142.  
  143. on drop of stick:
  144. cancel event
  145.  
  146. on drop of paper:
  147. cancel event
  148.  
  149. on drop of green music disc:
  150. cancel event
  151.  
  152. on drop blocks music disc:
  153. cancel event
  154.  
  155. on drop diamond:
  156. cancel event
Advertisement
Add Comment
Please, Sign In to add comment