Kapson1337

YourTools

Sep 10th, 2014
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.33 KB | None | 0 0
  1. #Skrypt zrobiony przez: Kapson1337 #
  2. #Nie zezwalam na: Kopiowanie skryptu i podszywanie siÄ™ pod autora!#
  3. #Version: 0.1 #
  4. on skript start:
  5. send "&7Skrypt &eYourTools &7zostal odpalony!" to the console
  6. send "&7Wersja: &e0.1" to the console
  7. send "&7Autor: &aKapson" to the console
  8.  
  9. options:
  10. tag: &eYourTools -
  11. time: 8
  12. variables:
  13. {chat.statc} = false
  14. #Ogolne#
  15. command /Kapson [<text>]:
  16. trigger:
  17. send "&e/Kapson komendy"
  18. send "&eMore - Comming soon"
  19. if player has permission "Kapson.perm":
  20. if arg 1 is "Komendy":
  21. send "&e"
  22. send "&e"
  23. send "&e"
  24. send "&e"
  25. send "&e"
  26. send "&e"
  27. send "&eAutorem skryptu jest Kapson1337"
  28. send "&e/Chathelp "
  29. send "&e/Dzien "
  30. send "&e/Noc "
  31. send "&E/wylaczdeszcz"
  32. send "&e/deszcz"
  33. send "&e/zapisz"
  34. command /list:
  35. trigger:
  36. send "&{@tag} &7Na serwerze jest &3%number of players% &7graczy na &3%number of all players%&7."."
  37. #Ustawienia pogody#
  38. command /dzien:
  39. trigger:
  40. if player has permissions "Kapson.perm":
  41. execute player command "/time day"
  42. send "{@tag} &6Ustawiles dzien w swiecie %world%"
  43. else:
  44. send "{@tag} &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
  45.  
  46. command /noc:
  47. trigger:
  48. if player has permissions "Kapson.perm":
  49. execute player command "/time night"
  50. send "{@tag} &6Ustawiles noc w swiecie %world%"
  51. else:
  52. send "{@tag} &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
  53. command /wylaczdeszcz:
  54. trigger:
  55. if player has permission "Kapson.perm":
  56. set the weather in the player's world to sun
  57. send "{@tag} &6Pogoda w swiecie %world% zostala zmieniona na: Bezdeszowa!"
  58. stop
  59. else:
  60. send "{@tag} &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
  61. stop
  62. command /deszcz:
  63. trigger:
  64. if player has permission "Kapson.perm":
  65. set the weather in the player's world to rain
  66. send "{@tag} &6Pogoda w swiecie %world% zostala zmieniona na: deszczowa!"
  67. stop
  68. else:
  69. send "{@tag} &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
  70. stop
  71.  
  72. #Czat#
  73. command /chathelp [<text>]:
  74. trigger:
  75. if player has permission "Kapson.perm":
  76. send "&e/Chat clear"
  77. send "&e/Chat on"
  78. send "&e/Chat off"
  79. else:
  80. send "&eYourTools: &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
  81. command /chat [<text>]:
  82. trigger:
  83. if player has permission "Kapson.perm":
  84. if arg 1 is "clear":
  85. if player has permission "Kapson.perm":
  86. loop 150 times:
  87. broadcast ""
  88. broadcast "{@tag} &cCzat zostal wyczyszczony przez: &6%player%"
  89. if arg 1 is "off":
  90. if player has permission "Kapson.perm":
  91. set {chat.statc} to false
  92. broadcast "{@tag} &cCzat zostal wylaczony przez: &6%player%"
  93. if arg 1 is "on":
  94. if player has permission "Kapson.perm":
  95. set {chat.statc} to true
  96. broadcast "{@tag} &cCzat zostal Wlaczony przez: &6%player%"
  97. on chat:
  98. if {chat.statc} is false:
  99. cancel event
  100. send "{@tag} &cCzat Jest aktualnie: &6Wylaczony !"
  101. on chat:
  102. replace all "kurwa" with "k***a" in the message
  103. replace all "chuj" with "c**j" in the message
  104. replace all "pierdolony" with "p********y" in the message
  105. replace all "pedal" with "p***l" in the message
  106. replace all "gej" with "g*j" in the message
  107. replace all "suka" with "s**a" in the message
  108. replace all "cipa" with "c**a" in the message
  109. replace all "dupa" with "d**a" in the message
  110. replace all "pierdolona" with "pi*******a" in the message
  111. replace all "pojebalo" with "p*****lo" in the message
  112. replace all "zajebe cie" with "z****e cie" in the message
  113. replace all "debil" with "d***l" in the message
  114. on chat:
  115. if player doesn't have permissions "Kapson.perm":
  116. set {_czas} to difference between {spam.%player%} and now
  117. if {_czas} is less than 5 seconds:
  118. send "{@tag} Na chacie mozna pisac co 5 sekund!"
  119. cancel event
  120. stop
  121. else:
  122. set {spam.%player%} to now
  123. on join:
  124. loop 100 times:
  125. send ""
  126. send "&6>> &8IP SERWERA: &c"
  127. send "&6>> &8TeamSpeak3: &c"
  128. send "&6>> &8Strona: &c"
  129. send "&6>> &8Biznes: &c"
  130. send "&6>> &cZyczymy milej gry!"
  131. send "&6>> &cPS. Ten serwer uzywa skryptu YourTools!"
  132. #Zapis#
  133. command /zapisz:
  134. permission: Kapson.perm
  135. trigger:
  136. broadcast "&6Zapisywanie swiata..."
  137. wait 2 seconds
  138. execute console command "save-all"
  139. wait 1 seconds
  140. broadcast "&6Pomyslnie zapisano swiat!"
  141. every 5 minutes:
  142. execute console command "zapisz"
  143. #Usuwanie#
  144. every {@time} minutes:
  145. broadcast "{@tag}&6Usuwanie przedmiotow z podlogi..."
  146. execute console command "/remove item 999999"
  147. wait 6 second
  148. broadcast "{@tag} &6Przedmioty zostaly usuniete"
  149. On damage of player:
  150. If attacker is flying:
  151. Send "{@tag} &cBicie na fly jest zablokowane!" to attacker
  152. cancel event
  153.  
  154. on damage:
  155. attacker is player
  156. projectile is arrow:
  157. stop
  158. set {_distance} to distance between attacker and victim
  159. if {_distance} is less than 4.85:
  160. clear {_distance}
  161. stop
  162. send "&8[&4AntyCheat&8] &7Gracz &c%attacker% &7uderzyl z ponad &c%{_distance}% kratek&7!" to all ops
Advertisement
Add Comment
Please, Sign In to add comment