Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==================================#
- # Skrypt stworzony przez Sophera #
- # Nazwa: SopherMobs #
- # Wersja: 1.2 #
- # Skript: 2.0 #
- #==================================#
- #==================================#
- # Specjalnie dla SKRIPT.pl #
- # Pierwsze polskie centrum Skripta #
- #==================================#
- # Znajdziesz tam wiele skryptów, #
- # poradników, a także pomoc! #
- #==================================#
- #==================================#
- # Chcesz zobaczyc jak sprawuje #
- # sie skrypt? #
- # Wystarczy ze wejdziesz na serwer #
- # mc.SkyblockWars.pl #
- # [1.6.4] #
- #==================================#
- #==================================#
- # LICENCJA #
- #==================================#
- # ZAKAZ: #
- # * Modyfikowania treści skryptu #
- # * Przywłaszczania sobie #
- # autorstwa skryptu #
- # * Zarabiania na skrypcie #
- # * Udostepniania skryptu w swoich #
- # paczkach serwerowych #
- # * Usuwania tresci zawierajacych #
- # informacje o autorze #
- # * Podszywania sie pod autora #
- #==================================#
- # POZWOLENIA: #
- # * Modyfikowaniu wiadomości #
- # skryptu na wlasne potrzeby #
- #==================================#
- # Mylnie odczytana licencja nie #
- # zwalnia z przestrzegania jej #
- #==================================#
- #---------------------------------------------------------------#
- # #
- # #
- # #
- # PERMISSIONS #
- # #
- # #
- # #
- #---------------------------------------------------------------#
- # sopher.mobs.status - pozwala na podlgąd/ zmiane statusu potworów
- # sopher.mobs.* - możliwość używania wszystkiego
- #---------------------------------------------------------------#
- # #
- # #
- # #
- # KONFIGURACJA #
- # #
- # #
- # #
- #---------------------------------------------------------------#
- # +-----------------------------------------------+ #
- # #
- # | USTAWIENIA | #
- # #
- # +-----------------------------------------------+ #
- # Ustawienia generalne #
- # +-----------------------------------------------+ #
- options:
- # Wpisz tutaj nazwe swiata, na ktorym maja dzialac poziomy potworow.
- swiat: SKYBLOCK
- # Tag - uzywany w ogloszeniach ogolnych
- tag: &f[&cP&f]
- # Tag2 - uzwany w informacjach dla gracza
- tag2: &f[&6P&f]
- # Tag3 - uzywanych przy bledach
- tag3: &f[&aP&f]
- # Wiadomosc jezeli nie masz uprawnien.
- prms: &cNie masz uprawnien, aby to wykonac!
- # +-----------------------------------------------+ #
- # #
- # | ZMIENNE | #
- # #
- # +-----------------------------------------------+ #
- variables:
- {sopher.mobs.status} = false
- #---------------------------------------------------------------#
- # #
- # #
- # #
- # EVENTY #
- # #
- # #
- # #
- #---------------------------------------------------------------#
- on spawn:
- entity is in world "{@swiat}":
- if {sopher.mobs.status} is true:
- entity is zombie:
- set name of entity to "&aZOMBIE - 1P"
- set max health of spawned entity to 20
- chance of 30%:
- set chestplate of entity to chestplate of protection 1
- chance of 45%:
- set name of entity to "&eZOMBIE - 2P"
- set max health of spawned entity to 25
- heal the spawned entity
- chance of 60%:
- set chestplate of entity to chestplate of thorns 1
- chance of 20%:
- set helmet of entity to helmet of protection 1
- chance of 20%:
- set boots of entity to boots of protection 1
- chance of 30%:
- set leggings of entity to leggings of protection 1
- chance of 40%:
- set the entity's tool to sword of sharpness 2
- chance of 20%:
- set name of entity to "&6ZOMBIE - 3P"
- set max health of spawned entity to 30
- heal the spawned entity
- set chestplate of entity to chestplate of thorns 2
- chance of 20%:
- set helmet of entity to helmet of protection 2
- chance of 20%:
- set boots of entity to boots of protection 1
- chance of 30%:
- set leggings of entity to leggings of protection 2
- chance of 40%:
- set tool of entity to sword of sharpness 3
- chance of 5%:
- set name of entity to "&cZOMBIE - 4P"
- set max health of spawned entity to 40
- heal the spawned entity
- set chestplate of entity to chestplate of thorns 2 and protection 2
- chance of 20%:
- set helmet of entity to helmet of protection 3
- chance of 20%:
- set boots of entity to boots of protection 2
- chance of 30%:
- set leggings of entity to leggings of protection 4
- chance of 40%:
- set the entity's tool to sword of sharpness 4 and fire aspect 1
- stop
- entity is skeleton:
- set name of entity to "&aSZKIELET - 1P"
- set max health of spawned entity to 25
- heal the spawned entity
- chance of 90%:
- set the entity's tool to bow of power 1
- set the entity's helmet to helmet of protection 1
- set the entity's chestplate to chestplate of thorns 1
- chance of 45%:
- set name of entity to "&eSZKIELET - 2P"
- set max health of spawned entity to 25
- heal the spawned entity
- set the entity's tool to bow of power 3
- set the entity's helmet to helmet of protection 1
- set the entity's chestplate to chestplate of thorns 2
- set the entity's leggings to leggings of protection 2
- chance of 20%:
- set name of entity to "&6SZKIELET - 3P"
- set max health of spawned entity to 30
- heal the spawned entity
- set the entity's tool to bow of power 4 and flame 1
- set the entity's helmet to helmet of protection 3
- set the entity's chestplate to chestplate of thorns 2
- set the entity's leggings to leggings of protection 2
- set the entity's boots to boots of protection 3
- stop
- entity is spider:
- set name of entity to "&aPAJAK - 1P"
- set max health of spawned entity to 20
- chance of 45%:
- set name of entity to "&ePAJAK - 2P"
- set max health of spawned entity to 25
- heal the spawned entity
- apply strength 1 to the entity for 10 minutes
- chance of 20%:
- set name of entity to "&6PAJAK - 3P"
- set max health of spawned entity to 30
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- chance of 5%:
- set name of entity to "&cPAJAK - 4P"
- set max health of spawned entity to 30
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- apply regeneration 1 to the entity for 10 minutes
- stop
- entity is creeper:
- set name of entity to "&aCREEPER - 1P"
- set max health of spawned entity to 20
- chance of 45%:
- set name of entity to "&eCREEPER - 2P"
- set max health of spawned entity to 25
- heal the spawned entity
- apply strength 1 to the entity for 10 minutes
- chance of 20%:
- set name of entity to "&6CREEPER - 3P"
- set max health of spawned entity to 30
- heal the spawned entity
- apply regeneration 1 to the entity for 10 minutes
- chance of 5%:
- set name of entity to "&cCREEPER - 4P"
- set max health of spawned entity to 40
- heal the spawned entity
- apply regeneration 1 to the entity for 10 minutes
- stop
- entity is enderman:
- set name of entity to "&aENDERMAN - 1P"
- set max health of spawned entity to 20
- chance of 45%:
- set name of entity to "&eENDERMAN - 2P"
- set max health of spawned entity to 25
- heal the spawned entity
- apply strength 1 to the entity for 10 minutes
- chance of 20%:
- set name of entity to "&6ENDERMAN - 3P"
- set max health of spawned entity to 30
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- chance of 5%:
- set name of entity to "&cENDERMAN - 4P"
- set max health of spawned entity to 30
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- apply regeneration 1 to the entity for 10 minutes
- stop
- entity is slime:
- set name of entity to "&aSLIME - 1P"
- set max health of spawned entity to 50
- heal the spawned entity
- chance of 45%:
- set name of entity to "&eSLIME - 2P"
- set max health of spawned entity to 65
- heal the spawned entity
- apply strength 1 to the entity for 10 minutes
- chance of 20%:
- set name of entity to "&6SLIME - 3P"
- set max health of spawned entity to 80
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- chance of 5%:
- set name of entity to "&cSLIME - 4P"
- set max health of spawned entity to 100
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- apply regeneration 1 to the entity for 10 minutes
- stop
- entity is blaze:
- set name of entity to "&aBLAZE - 1P"
- set max health of spawned entity to 25
- heal the spawned entity
- chance of 45%:
- set name of entity to "&eBLAZE - 2P"
- set max health of spawned entity to 30
- heal the spawned entity
- apply strength 1 to the entity for 10 minutes
- chance of 20%:
- set name of entity to "&6BLAZE - 3P"
- set max health of spawned entity to 40
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- chance of 5%:
- set name of entity to "&cBLAZE - 4P"
- set max health of spawned entity to 60
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- apply regeneration 1 to the entity for 10 minutes
- stop
- entity is ghast:
- set name of entity to "&aGHAST - 1P"
- set max health of spawned entity to 25
- heal the spawned entity
- chance of 45%:
- set name of entity to "&eGHAST - 2P"
- set max health of spawned entity to 30
- heal the spawned entity
- apply strength 1 to the entity for 10 minutes
- chance of 20%:
- set name of entity to "&6GHAST - 3P"
- set max health of spawned entity to 40
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- chance of 5%:
- set name of entity to "&cGHAST - 4P"
- set max health of spawned entity to 60
- heal the spawned entity
- apply strength 2 to the entity for 10 minutes
- apply regeneration 1 to the entity for 10 minutes
- stop
- entity is sheep:
- chance of 5%:
- set name of entity to "&cOWCA SOPHERA"
- set max health of spawned entity to 100
- heal the spawned entity
- stop
- stop
- else:
- stop
- on damage:
- if attacker is player:
- if name of victim is "&cCREEPER - 4P":
- chance of 20%:
- shoot a creeper from the victim
- stop
- if name of victim is "&cENDERMAN - 4P":
- chance of 90%:
- push the attacker upwards at speed 1.3
- stop
- if name of victim is "&cPAJAK - 4P":
- chance of 90%:
- push the attacker upwards at speed 2.0
- stop
- if name of victim is "&cSLIME - 4P" or "&6SLIME - 3P":
- chance of 30%:
- strike lightning effect at the attacker
- stop
- if name of victim is "&cBLAZE - 4P":
- chance of 90%:
- create a fake explosion at the attacker
- stop
- if name of victim is "&cGHAST - 4P" or "&6GHAST - 3P" or "&eGHAST - 2P":
- chance of 10%:
- poison the attacker for 10 seconds
- stop
- if name of victim is "&cOWCA SOPHERA":
- loop blocks in radius 7 of the victim:
- loop-block is stone or cobblestone or stone brick or dirt or grass or water
- set loop-block to pink wool
- wait 2 seconds
- create an explosion of power 8 at the victim
- stop
- on rightclick on a sheep holding a shears:
- if name of entity is "&cOWCA SOPHERA":
- loop blocks in radius 7 of the player:
- loop-block is stone or cobblestone or stone brick or dirt or grass or water
- set loop-block to pink wool
- wait 2 seconds
- create an explosion of power 8 at the player
- stop
- #---------------------------------------------------------------#
- # #
- # #
- # #
- # KOMENDY #
- # #
- # #
- # #
- #---------------------------------------------------------------#
- command /potwory [<text>]:
- trigger:
- if player has permission "sopher.mobs.status" or "sopher.mobs.*":
- if arg is not set:
- send "{@tag2} &7Status potworow: &e%{sopher.mobs.status}%"
- stop
- if arg is "wlacz":
- set {sopher.mobs.status} to true
- send "{@tag2} &7Wlaczyles potwory!"
- stop
- if arg is "wylacz":
- set {sopher.mobs.status} to false
- send "{@tag2} &7Wylaczyles potwory!"
- stop
- else:
- send "{@tag3} {@prms}"
- stop
- #-------------------------------------------------- Koniec skryptu --------------------------------------------------#
- #--------------------------------------- © by Sopher - Strona: www.Skript.pl ----------------------------------------#
Advertisement
Add Comment
Please, Sign In to add comment