Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #============================#
- # Skript by elosik123 #
- # Name: PelerynkaMEstwa #
- # Version: 1.0.0 #
- #============================#
- # *Nie zezwalam na: #
- # - Przywłaszczania skryptu #
- # - Zarabiania na skrypcie #
- # - Przerabianie skryptu #
- # - Usuwanie komendy z #
- # treścią dotyczącą twórcy #
- # - Podszywania sie pod #
- # autora #
- # *Zezwalam na: #
- # - Edycje wiadomośći na #
- # własne potrzeby #
- # - Dopisywania fragmentów #
- #============================#
- #=========#
- # OPCJE #
- #=========#
- options:
- #Tag wyświetlany przed wiadomościami:
- tag: &7[&8PelerynkaMestwa&7]
- #Co ma respić się na PelerynceMestwa: (Pod spodem jest ilość!) (MAKSYMALNIE 5 POTWORÓW)
- potw1: zombie
- ile1: 5
- potw2: creeper
- ile2: 5
- potw3: spider
- ile3: 5
- potw4: skeleton
- ile4: 5
- potw5: witch
- ile5: 2
- #===========#
- # ZMIENNE #
- #===========#
- variables:
- {on.%player%} = true
- #==========#
- # SKRYPT #
- #==========#
- on rightclick holding a diamond:
- if player has permission "pelerynka.otrzymanie":
- if {on.%player%} is true:
- give leather named "&7Pelerynka Mestwa" to the player
- remove 1 diamond from the player
- send "{@tag}&fOtrzymales Pelerynke Mestwa!" to player
- if {on.%player%} is false:
- send "{@tag}&cPelerynka Mestwa zostala wylaczona!" to player
- else:
- send "{@tag}&cNie posiadasz uprawnien!" to player
- on rightclick holding a leather:
- if name of player's tool is "&7Pelerynka Mestwa":
- if player has permission "pelerynka.uzycie":
- if {on.%player%} is true:
- send "{@tag}&fUzyles pelerynki mestwa! Trzymaj sie mocno!" to player
- spawn {@ile1} {@potw1} behind the player
- spawn {@ile2} {@potw2} behind the player
- spawn {@ile3} {@potw3} behind the player
- spawn {@ile4} {@potw4} behind the player
- spawn {@ile5} {@potw5} behind the player
- remove 1 leather named "&7Pelerynka Mestwa" from the player
- if {on.%player%} is false:
- send "{@tag}&cPelerynka Mestwa zostala wylaczona!" to player
- command /pelerynka [<text>]:
- trigger:
- if player has permission "pelerynka.command":
- if arg 1 is not set:
- send "{@tag}&cPoprawna komenda to: /pelerynka wlacz,wylacz badz autor" to player
- if arg 1 is "wlacz" or "on":
- send "{@tag}&aWlaczyles pelerynke mestwa!"
- set {on.%player%} to true
- if arg 1 is "wylacz" or "off":
- send "{@tag}&aWylaczyles pelerynke mestwa!"
- set {on.%player%} to false
- else:
- send "{@tag}&cNie posiadasz permisji do tej komendy!"
- stop trigger
- if arg 1 is "author" or "autor" or "tworca":
- send "================================="
- send " &aAutor Skryptu "
- send " &aelosik123 "
- send "================================="
Advertisement
Add Comment
Please, Sign In to add comment