Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Skrypt zrobiony przez: Kapson1337 #
- #Nie zezwalam na: Kopiowanie skryptu i podszywanie siÄ™ pod autora!#
- #Version: 0.1 #
- on skript start:
- send "&7Skrypt &eYourTools &7zostal odpalony!" to the console
- send "&7Wersja: &e0.1" to the console
- send "&7Autor: &aKapson" to the console
- options:
- tag: &eYourTools -
- time: 8
- variables:
- {chat.statc} = false
- #Ogolne#
- command /Kapson [<text>]:
- trigger:
- send "&e/Kapson komendy"
- send "&eMore - Comming soon"
- if player has permission "Kapson.perm":
- if arg 1 is "Komendy":
- send "&e"
- send "&e"
- send "&e"
- send "&e"
- send "&e"
- send "&e"
- send "&eAutorem skryptu jest Kapson1337"
- send "&e/Chathelp "
- send "&e/Dzien "
- send "&e/Noc "
- send "&E/wylaczdeszcz"
- send "&e/deszcz"
- send "&e/zapisz"
- command /list:
- trigger:
- send "&{@tag} &7Na serwerze jest &3%number of players% &7graczy na &3%number of all players%&7."."
- #Ustawienia pogody#
- command /dzien:
- trigger:
- if player has permissions "Kapson.perm":
- execute player command "/time day"
- send "{@tag} &6Ustawiles dzien w swiecie %world%"
- else:
- send "{@tag} &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
- command /noc:
- trigger:
- if player has permissions "Kapson.perm":
- execute player command "/time night"
- send "{@tag} &6Ustawiles noc w swiecie %world%"
- else:
- send "{@tag} &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
- command /wylaczdeszcz:
- trigger:
- if player has permission "Kapson.perm":
- set the weather in the player's world to sun
- send "{@tag} &6Pogoda w swiecie %world% zostala zmieniona na: Bezdeszowa!"
- stop
- else:
- send "{@tag} &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
- stop
- command /deszcz:
- trigger:
- if player has permission "Kapson.perm":
- set the weather in the player's world to rain
- send "{@tag} &6Pogoda w swiecie %world% zostala zmieniona na: deszczowa!"
- stop
- else:
- send "{@tag} &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
- stop
- #Czat#
- command /chathelp [<text>]:
- trigger:
- if player has permission "Kapson.perm":
- send "&e/Chat clear"
- send "&e/Chat on"
- send "&e/Chat off"
- else:
- send "&eYourTools: &cCos ci sie pokickalo - nie masz dostepu do tej komendy."
- command /chat [<text>]:
- trigger:
- if player has permission "Kapson.perm":
- if arg 1 is "clear":
- if player has permission "Kapson.perm":
- loop 150 times:
- broadcast ""
- broadcast "{@tag} &cCzat zostal wyczyszczony przez: &6%player%"
- if arg 1 is "off":
- if player has permission "Kapson.perm":
- set {chat.statc} to false
- broadcast "{@tag} &cCzat zostal wylaczony przez: &6%player%"
- if arg 1 is "on":
- if player has permission "Kapson.perm":
- set {chat.statc} to true
- broadcast "{@tag} &cCzat zostal Wlaczony przez: &6%player%"
- on chat:
- if {chat.statc} is false:
- cancel event
- send "{@tag} &cCzat Jest aktualnie: &6Wylaczony !"
- on chat:
- replace all "kurwa" with "k***a" in the message
- replace all "chuj" with "c**j" in the message
- replace all "pierdolony" with "p********y" in the message
- replace all "pedal" with "p***l" in the message
- replace all "gej" with "g*j" in the message
- replace all "suka" with "s**a" in the message
- replace all "cipa" with "c**a" in the message
- replace all "dupa" with "d**a" in the message
- replace all "pierdolona" with "pi*******a" in the message
- replace all "pojebalo" with "p*****lo" in the message
- replace all "zajebe cie" with "z****e cie" in the message
- replace all "debil" with "d***l" in the message
- on chat:
- if player doesn't have permissions "Kapson.perm":
- set {_czas} to difference between {spam.%player%} and now
- if {_czas} is less than 5 seconds:
- send "{@tag} Na chacie mozna pisac co 5 sekund!"
- cancel event
- stop
- else:
- set {spam.%player%} to now
- on join:
- loop 100 times:
- send ""
- send "&6>> &8IP SERWERA: &c"
- send "&6>> &8TeamSpeak3: &c"
- send "&6>> &8Strona: &c"
- send "&6>> &8Biznes: &c"
- send "&6>> &cZyczymy milej gry!"
- send "&6>> &cPS. Ten serwer uzywa skryptu YourTools!"
- #Zapis#
- command /zapisz:
- permission: Kapson.perm
- trigger:
- broadcast "&6Zapisywanie swiata..."
- wait 2 seconds
- execute console command "save-all"
- wait 1 seconds
- broadcast "&6Pomyslnie zapisano swiat!"
- every 5 minutes:
- execute console command "zapisz"
- #Usuwanie#
- every {@time} minutes:
- broadcast "{@tag}&6Usuwanie przedmiotow z podlogi..."
- execute console command "/remove item 999999"
- wait 6 second
- broadcast "{@tag} &6Przedmioty zostaly usuniete"
- On damage of player:
- If attacker is flying:
- Send "{@tag} &cBicie na fly jest zablokowane!" to attacker
- cancel event
- on damage:
- attacker is player
- projectile is arrow:
- stop
- set {_distance} to distance between attacker and victim
- if {_distance} is less than 4.85:
- clear {_distance}
- stop
- 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