Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ██████████████████████████████████████████████████████████████████████████████████████████████████████
- # █████████████████
- # ███████████████
- # ███████████████ MURDER.SK
- # ███████████████ V.1.0 (PL)
- # ███████████████
- # ███████████████ SKRYPT - MIMIKOLAJ
- # ███████████████ POMYSLY - MRCRAFTYKETCHUP
- # ███████████████ POMOC W EDYCJI KODU/DOPRACOWANIE KODU - TROPEREKS
- # ███████████████ NIE KOPIOWAC ITP.
- # ███████████████
- # █████████████████
- # █████████████████
- # ███████████████
- # ███████████████ WYMAGANE PLUGINY:
- # ███████████████
- # ███████████████ SKRIPT
- # ███████████████ SKQUARY
- # ███████████████ ESSENTIALS
- # ███████████████ NICK (http://dev.bukkit.org/bukkit-plugins/nniicckk/)
- # ███████████████ TAGAPI
- # ███████████████ RANDOMSK
- # ███████████████
- # █████████████████
- # █████████████████
- # ███████████████
- # ███████████████ CO TO JEST MURDER?
- # ███████████████
- # ███████████████ MURDER TO MINI-GRA POCHODZACA Z GRY GARRY'S MOD.
- # ███████████████ GRACZE DZIELA SIE NA NIEWNNYCH, JEDNEGO MORDERCE I JEDNEGO NIEWINNEGO Z BRONIA.
- # ███████████████ KAZDEMU GRACZOWI ZMIENIA SIE NICK I SKIN, BY UTRUDNIC GRE.
- # ███████████████ GLOWNYM CELEM GRY JEST:
- # ███████████████ • JAKO MORDERCA - ZAMORDOWANIE WSZYSTKICH GRACZY
- # ███████████████ • JAKO NIEWINNY - PRZEZYCIE I ZABICIE MORDERCY PISTOLETEM
- # ███████████████
- # ███████████████ MORDERCA MA OD RAZU MIECZ, KTORYM MOZNA ZABIC JEDNYM UDERZENIEM, A PRAWYM PRZYCISKIEM "RZUCIC" GO.
- # ███████████████ RZUCONY MIECZ REGENERUJE SIE CO 10S (MOZNA ZMIENIC).
- # ███████████████ TYLKO MORDERCA MOZE SPRINTOWAC I MIEC MIECZ.
- # ███████████████ ZA KAZDE 5 EMERALDOW MORDERCA DOSTAJE NOWY MIECZ
- # ███████████████
- # ███████████████ NIEWINNY MUSI UNIKAC SPOTKANIA Z MORDERCA I ZBIERAC EMERALDY. NIEWINNY NIE MOZE SPRINTOWAC.
- # ███████████████ KAZDE 5 EMERALDOW DLA NIEWINNEGO TO ULEPSZENIE:
- # ███████████████ • PIERWSZE 5 EMERALDOW - OTRZYMANIE BRONI (JEZELIJEJ NIE MA; 4S PRZELADOWANIE)
- # ███████████████ • DRUGIE 5 EMERALDOW - ULEPSZENIE BRONI (2S PRZELADOWANIE)
- # ███████████████ • TRZECIE 5 EMERALDOW - OSTATECZNE ULEPSZENIE BRONI (1S PRZELADOWANIE)
- # ███████████████ MAJAC BRON PRAWYM PRZYCISKIEM MOZE WYSTRZELIC POCISK.
- # ███████████████
- # █████████████████
- # █████████████████
- # ███████████████
- # ███████████████ JAK SKONFIGUROWAC SKRYPT NA SERWERZE:
- # ███████████████
- # ███████████████ I ZBUDUJ MAPE (POLECAM JAKIES ULICZKI LUB DUZY DOM)
- # ███████████████ II ZBUDUJ LOBBY
- # ███████████████ III USTAW SPAWN LOBBY WPISUJAC KOMENDE /MLOBBY
- # ███████████████ IV NASTEPNIE NA TWOJEJ MAPIE USTAW 15 SPAWNOW GRACZY (KOMENDA /MSPAWN<1-15>, NP. /MSPAWN5)
- # ███████████████ V TRZEBA JESZCZE USTALIC POLOZENIE EMERALDOW - DODAJ MIEJSCE KOMENDA /MERALDS
- # ███████████████ 1. ZLE USTAWILES? USUN ZAPISANE DANE POLOZEN KOMENDA /MERALDSCLEAR
- # ███████████████ VI ZAPROS ZNAJOMYCH I GRAJ :D
- # ███████████████
- # █████████████████
- # █████████████████
- # ███████████████
- # ███████████████ ZNANE BUGI-WOOGIE (BEDA NAPRAWIONE W NASTEPNYCH WERSJACH):
- # ███████████████
- # ███████████████ • KAZDA SNIEZKA ZABIJA (NP. NIEWINNY MOZE ZABIC NIEWINNEGO)
- # ███████████████ • EMERALDY ZA BARDZO SIE "SYPIA"
- # ███████████████ • DA SIE KLEPAC NA STARCIE (MIANOWICIE TZW "SPAWN KILL")
- # ███████████████ • JAK MORDERCA WYJDZIE Z GRY, NIE LOSUJE NOWEGO
- # ███████████████ • JAK BEDZIE MNIEJ NIZ 3 OSOBY W TRAKCIE GRY, RESZTE LUDZI ZOSTAJE NA ARENIE
- # ███████████████ • MOZLIWOSC SCIAGANIA ZBROI (MUSZE ZABLOKOWAC)
- # ███████████████
- # █████████████████
- # █████████████████
- # ███████████████
- # ███████████████ TO-DO:
- # ███████████████
- # ███████████████ • OSIAGNIECIA
- # ███████████████ • STATYSTYKI
- # ███████████████ • BUG-FIXY
- # ███████████████ • KARANIE NIEWINNYCH ZA ZABIJANIE KOLEGOW
- # ███████████████ • "UPIEKSZYC" SKRYPT
- # ███████████████
- # █████████████████
- # ██████████████████████████████████████████████████████████████████████████████████████████████████████
- every tick:
- loop all projectiles:
- set {_s} to location of loop-projectile
- spawn 5 of particle crit offset by 0.15, 0.15, 0.15 at {_s}
- every 1 second:
- if {mstage} is 7:
- add -1 to {emeraldstime}
- if {emeraldstime} is smaller than 1:
- make server execute "remove all 1000"
- set {emeraldstime} to 90
- drop 1 emerald at {meralds::*}
- loop all players:
- display board named "&b&lMurder" to loop-player
- make score "&3&lTozsamosc:" in board of loop-player to 11
- make score "&a%{nickname.%loop-player%}%" in board of loop-player to 10
- make score "&8--------" in board of loop-player to 9
- make score "&3&lNiewinnych:" in board of loop-player to 8
- make score "&a%{niewinni}%" in board of loop-player to 7
- make score "&8---------" in board of loop-player to 6
- make score "&3&lWygrane:" in board of loop-player to 5
- make score "&a%{wygrane.%loop-player%}%" in board of loop-player to 4
- move display of loop-player to sidebar
- every 1 second:
- if {mstage} is 7:
- if {murderalive} is false:
- make server execute "remove all 1000"
- loop all players:
- if {mingame.%loop-player%} is true:
- if {ingames.%loop-player%} is true:
- broadcast "&6[Murder] &7%loop-player% &8(Jako: %{nickname.%loop-player%}%)"
- broadcast "&6[Murder] &7Murderem byl: &6%{murders}% &8(Jako: %{nickname.%{murders}%}%)"
- set {murderalive} to true
- set {murders} to "---"
- set {niewinni} to "brak"
- loop all players:
- if {mingame.%loop-player%} is true:
- set {ingames.%loop-player%} to false
- make loop-player execute command "/nick %loop-player%"
- set {nickname.%loop-player%} to "nikt"
- set food bar of loop-player to 10
- clear loop-player's inventory
- teleport the loop-player to {mlobby}
- if loop-player is {bysguns}:
- set {bysguns} to false
- set {niewinny.%loop-player%} to false
- add 1 to {wygrane.%loop-player%}
- if {niewinny.%loop-player%} is true:
- set {bysguns} to false
- set {niewinny.%loop-player%} to false
- add 1 to {wygrane.%loop-player%}
- broadcast "&6[Murder] &6Niewinni &7wygrali!"
- set {mstage} to 0
- else if {niewinni} is smaller than 1:
- make server execute "remove all 1000"
- loop all players:
- if {mingame.%loop-player%} is true:
- if {ingames.%loop-player%} is true:
- broadcast "&6[Murder] &7%loop-player% &8(Jako: %{nickname.%loop-player%}%)"
- broadcast "&6[Murder] &7Murderem byl: &6%{murders}% &8(Jako: %{nickname.%{murders}%}%)"
- set {murderalive} to true
- set {bysguns} to false
- set {niewinni} to "brak"
- loop all players:
- if {mingame.%loop-player%} is true:
- set {ingames.%loop-player%} to false
- make loop-player execute command "/nick %loop-player%"
- set {nickname.%loop-player%} to "nikt"
- clear loop-player's inventory
- set food bar of loop-player to 10
- teleport the loop-player to {mlobby}
- set {niewinny.%loop-player%} to false
- if loop-player is {murders}:
- set {murders} to "---"
- add 1 to {wygrane.%loop-player%}
- broadcast "&6[Murder] &6Morderca &7wygral!"
- set {mstage} to 0
- if {mplayers} is smaller than 3:
- set {mstage} to 0
- else if {mplayers} is more than 2:
- if {mstage} is 0:
- set {mstage} to 1
- broadcast "&6[Murder] &7Gra rozpocznie sie za 30 sekund!"
- wait 10 seconds
- if {mstage} is 1:
- set {mstage} to 2
- broadcast "&6[Murder] &7Gra rozpocznie sie za 20 sekund!"
- wait 10 seconds
- if {mstage} is 2:
- set {mstage} to 3
- broadcast "&6[Murder] &7Gra rozpocznie sie za 10 sekund!"
- wait 7 seconds
- if {mstage} is 3:
- set {mstage} to 4
- broadcast "&6[Murder] &7Gra rozpocznie sie za 3 sekund!"
- wait 1 second
- if {mstage} is 4:
- set {mstage} to 5
- broadcast "&6[Murder] &7Gra rozpocznie sie za 2 sekundy!"
- wait 1 second
- if {mstage} is 5:
- set {mstage} to 6
- broadcast "&6[Murder] &7Gra rozpocznie sie za 1 sekunde!"
- wait 1 second
- if {mstage} is 6:
- set {emeraldstime} to 90
- drop 1 emerald at {meralds::*}
- set {niewinni} to 0
- clear {murderlist::*}
- clear {heads::*}
- wait 2 ticks
- add "kevinkool" to {heads::*}
- add "hypixel" to {heads::*}
- add "notch" to {heads::*}
- add "deadmau5" to {heads::*}
- add "Sethbling" to {heads::*}
- add "Dinnerbone" to {heads::*}
- add "JJayJoker" to {heads::*}
- add "groopo" to {heads::*}
- add "PolskiPingwin" to {heads::*}
- add "skkf" to {heads::*}
- add "goskay" to {heads::*}
- add "CaptainSparklez" to {heads::*}
- add "viv0" to {heads::*}
- add "Masterczulek" to {heads::*}
- add "supersurprise" to {heads::*}
- loop all players:
- if {mingame.%loop-player%} is true:
- heal loop-player
- add loop-player to {murderlist::*}
- add loop-player to {heads::*}
- clear loop-player's inventory
- set {murders} to random element of {murderlist::*}
- send "&6[Murder] Jestes &4Morderca&7!" to {murders}
- set {_head} to random element of {heads::*}
- set {nickname.%{murders}%} to {_head}
- make {murders} execute command "/nick %{_head}%"
- remove {_head} from {heads::*}
- equip {murders} with leather tunic
- equip {murders} with leather pants
- equip {murders} with leather boots
- apply slow 250 to {murders} for 4 seconds
- apply jump 250 to {murders} for 4 seconds
- apply blindness to {murders} for 4 seconds
- apply night vision to {murders} for 4 seconds
- remove {murders} from {murderlist::*}
- wait 3 ticks
- set {bysguns} to random element of {murderlist::*}
- send "&6[Murder] Jestes &aNiewinnym z bronia&7!" to {bysguns}
- set {_head} to random element of {heads::*}
- set {nickname.%{bysguns}%} to {_head}
- make {bysguns} execute command "/nick %{_head}%"
- remove {_head} from {heads::*}
- set {ingames.%{bysguns}%} to true
- equip {bysguns} with leather tunic
- equip {bysguns} with leather pants
- equip {bysguns} with leather boots
- set food bar of {bysguns} to 3
- apply slow 250 to {bysguns} for 4 seconds
- apply jump 250 to {bysguns} for 4 seconds
- apply blindness to {bysguns} for 4 seconds
- apply night vision to {bysguns} for 4 seconds
- add 1 to {niewinni}
- remove {bysguns} from {murderlist::*}
- teleport {murders} to {mspawn1} or {mspawn2} or {mspawn3} or {mspawn4} or {mspawn5} or {mspawn6} or {mspawn7} or {mspawn8} or {mspawn9} or {mspawn10} or {mspawn11} or {mspawn12} or {mspawn13} or {mspawn14} or {mspawn15}
- set {_murder} to location of {murders}
- give 1 iron sword named "&7Miecz murdera" to {murders}
- teleport {bysguns} to {mspawn1} or {mspawn2} or {mspawn3} or {mspawn4} or {mspawn5} or {mspawn6} or {mspawn7} or {mspawn8} or {mspawn9} or {mspawn10} or {mspawn11} or {mspawn12} or {mspawn13} or {mspawn14} or {mspawn15}
- set {_bysgun} to location of {bysguns}
- give 1 iron hoe named "Gun" to {bysguns}
- loop all players:
- if {mingame.%loop-player%} is true:
- play raw sound "mob.ghast.affectionate_scream" at location of loop-player with pitch 1 volume 3
- set {mshoot.%loop-player%} to false
- if loop-player isn't {murders}:
- if loop-player isn't {bysguns}:
- set {niewinny.%loop-player%} to true
- set {_head} to random element of {heads::*}
- set {nickname.%loop-player%} to {_head}
- make loop-player execute command "/nick %{_head}%"
- remove {_head} from {heads::*}
- set {ingames.%loop-player%} to true
- equip loop-player with leather tunic
- equip loop-player with leather pants
- equip loop-player with leather boots
- set food bar of loop-player to 3
- apply slow 250 to loop-player for 4 seconds
- apply jump 250 to loop-player for 4 seconds
- apply blindness to loop-player for 4 seconds
- apply night vision to loop-player for 4 seconds
- teleport loop-player to {mspawn1} or {mspawn2} or {mspawn3} or {mspawn4} or {mspawn5} or {mspawn6} or {mspawn7} or {mspawn8} or {mspawn9} or {mspawn10} or {mspawn11} or {mspawn12} or {mspawn13} or {mspawn14} or {mspawn15}
- add 1 to {niewinni}
- send "&6[Murder] Jestes &aNiewinnym&7!" to loop-player
- wait 1 second
- set {mstage} to 7
- on join:
- set {mingame.%player%} to false
- if {mingame.%player%} is not set:
- set {mingame.%player%} to false
- if {wygrane.%player%} is not set:
- set {wygrane.%player%} to 0
- on quit:
- make player execute command "/ml"
- command /mbot:
- permission: murder.op
- trigger:
- add 1 to {mplayers}
- message "&6[Murder] &7Dodano bota! [%{mplayers}%/10]"
- command /mj:
- trigger:
- if {mingame.%player%} is false:
- if {mplayers} is smaller than 11:
- set {ingames.%player%} to false
- set {mingame.%player%} to true
- add 1 to {mplayers}
- broadcast "&6[Murder] &6%player% &7dolaczyl do gry! [%{mplayers}%/10]"
- teleport the player to {mlobby}
- clear player's inventory
- stop
- else if {mplayers} is bigger than 10:
- message "&6[Murder] &7Gra jest pelna!"
- stop
- else if {mingame.%player%} is true:
- message "&6[Murder] &7Jestes juz w grze!"
- command /ml:
- trigger:
- if {mingame.%player%} is true:
- set {ingames.%player%} to false
- set {mingame.%player%} to false
- make player execute command "/nick %player%"
- add -1 to {mplayers}
- set food bar of player to 10
- broadcast "&6[Murder] &6%player% &7wyszedl z gry! [%{mplayers}%/10]"
- make player execute command "/spawn"
- clear player's inventory
- set {murder.%player%} to false
- set {bysgun.%player%} to false
- if {niewinny.%player%} is true:
- set {niewinny.%player%} to false
- add -1 to {niewinni}
- else if {mingame.%player%} is false:
- message "&6[Murder] &7Nie jestes w grze!"
- command /mspawn [<text>]:
- permission: murder.op
- trigger:
- if arg 1 is "1":
- set {mspawn1} to location of player
- message "&6[Murder] &7Ustawiono spawn 1"
- else if arg 1 is "2":
- set {mspawn2} to location of player
- message "&6[Murder] &7Ustawiono spawn 2"
- else if arg 1 is "3":
- set {mspawn3} to location of player
- message "&6[Murder] &7Ustawiono spawn 3"
- else if arg 1 is "4":
- set {mspawn4} to location of player
- message "&6[Murder] &7Ustawiono spawn 4"
- else if arg 1 is "5":
- set {mspawn5} to location of player
- message "&6[Murder] &7Ustawiono spawn 5"
- else if arg 1 is "6":
- set {mspawn6} to location of player
- message "&6[Murder] &7Ustawiono spawn 6"
- else if arg 1 is "7":
- set {mspawn7} to location of player
- message "&6[Murder] &7Ustawiono spawn 7"
- else if arg 1 is "8":
- set {mspawn8} to location of player
- message "&6[Murder] &7Ustawiono spawn 8"
- else if arg 1 is "9":
- set {mspawn9} to location of player
- message "&6[Murder] &7Ustawiono spawn 9"
- else if arg 1 is "10":
- set {mspawn10} to location of player
- message "&6[Murder] &7Ustawiono spawn 10"
- else if arg 1 is "11":
- set {mspawn11} to location of player
- message "&6[Murder] &7Ustawiono spawn 11"
- else if arg 1 is "12":
- set {mspawn12} to location of player
- message "&6[Murder] &7Ustawiono spawn 12"
- else if arg 1 is "13":
- set {mspawn13} to location of player
- message "&6[Murder] &7Ustawiono spawn 13"
- else if arg 1 is "14":
- set {mspawn14} to location of player
- message "&6[Murder] &7Ustawiono spawn 14"
- else if arg 1 is "15":
- set {mspawn15} to location of player
- message "&6[Murder] &7Ustawiono spawn 15"
- else if arg 1 is set:
- message "&6[Murder] &7Poprawne uzycie komendy /mspawn <1-15>"
- else if arg 1 is not set:
- message "&6[Murder] &7Poprawne uzycie komendy /mspawn <1-15>"
- command /mlobby:
- permission: murder.op
- trigger:
- set {mlobby} to location of player
- command /meralds:
- permission: murder.op
- trigger:
- add location of player to {meralds::*}
- command /meraldsclear:
- permission: murder.op
- trigger:
- clear {meralds::*}
- command /murderreload:
- permission: murder.op
- trigger:
- set {mplayers} to 0
- on rightclick with snowball:
- if {mstage} is 7:
- cancel event
- on pick up of iron hoe:
- if player is {murders}:
- cancel event
- else if player has 1 iron hoe:
- cancel event
- on rightclick with iron hoe:
- if {mstage} is 7:
- if name of player's tool is "Gun":
- if {mshoot.%player%} is false:
- set {mshoot.%player%} to true
- play raw sound "mob.creeper.death" at location of player with pitch 1 volume 3
- shoot a snowball at speed 2
- set player's level progress to 0.99
- wait 1 second
- set player's level progress to 0.75
- wait 1 second
- set player's level progress to 0.50
- wait 1 second
- set player's level progress to 0.25
- wait 1 second
- set player's level progress to 0
- set {mshoot.%player%} to false
- else if name of player's tool is "Machine Gun":
- if {mshoot.%player%} is false:
- set {mshoot.%player%} to true
- play raw sound "mob.creeper.death" at location of player with pitch 1 volume 3
- shoot a snowball at speed 2
- set player's level progress to 0.99
- wait 1 second
- set player's level progress to 0.50
- wait 1 second
- set player's level progress to 0
- set {mshoot.%player%} to false
- else if name of player's tool is "Minigun":
- if {mshoot.%player%} is false:
- set {mshoot.%player%} to true
- play raw sound "mob.creeper.death" at location of player with pitch 1 volume 3
- shoot a snowball at speed 2
- set player's level progress to 0.99
- wait 18 ticks
- set player's level progress to 0
- wait 2 ticks
- set {mshoot.%player%} to false
- on damage of player:
- if {mstage} is 7:
- if projectile is snowball:
- kill victim
- else if attacker's tool is iron sword:
- if name of attacker's tool is "&7Miecz murdera":
- kill victim
- else:
- cancel event
- on damage:
- if {mstage} is smaller than 7:
- if victim is player:
- if {mingame.%victim%} is true:
- cancel event
- on death of player:
- if {mstage} is 7:
- set {_s} to location of player
- wait 1 tick
- if player has 1 iron hoe:
- drop 1 iron hoe named "Gun" at {_s}
- if player is {murders}:
- set {murderalive} to false
- clear player's inventory
- teleport the player to {mlobby}
- else if {niewinny.%player%} is true:
- set {niewinny.%player%} to false
- add -1 to {niewinni}
- clear player's inventory
- teleport the player to {mlobby}
- else if player is {bysguns}:
- set {bysguns} to false
- add -1 to {niewinni}
- clear player's inventory
- teleport the player to {mlobby}
- force respawn player
- make player execute command "/nick %player%"
- on respawn:
- if {mingame.%player%} is true:
- teleport the player to {mlobby}
- on rightclick with iron sword:
- if {mingame.%player%} is true:
- if name of player's tool is "&7Miecz murdera":
- play raw sound "mob.ghast.charge" at location of player with pitch 2 volume 3
- shoot a snowball at speed 2
- remove 1 iron sword from player
- wait 10 seconds
- if {mstage} is 7:
- if player is {murders}:
- give 1 iron sword named "&7Miecz murdera" to player
- on drop:
- if {mingame.%player%} is true:
- cancel event
- on pick up of emerald:
- if {mingame.%player%} is true:
- if player has 4 emeralds:
- if player is {murders}:
- wait 1 tick
- remove 5 emeralds from player's inventory
- send "&6[Murder] &7Otrzymales miecz!" to player
- give 1 iron sword named "&7Miecz murdera" to player
- else if player is {bysguns}:
- if player has 1 iron hoe named "Gun":
- wait 1 tick
- remove 5 emeralds from player's inventory
- send "&6[Murder] &7Ulepszyles bron!" to player
- remove 1 iron hoe from player
- give 1 iron hoe named "Machine Gun" to player
- else if player has 1 iron hoe named "Machine Gun":
- wait 1 tick
- remove 5 emeralds from player's inventory
- send "&6[Murder] &7Ulepszyles bron!" to player
- remove 1 iron hoe from player
- give 1 iron hoe named "Minigun" to player
- else if player doesn't have iron hoe:
- wait 1 tick
- remove 5 emeralds from player's inventory
- send "&6[Murder] &7Otrzymales bron!" to player
- give 1 iron hoe named "Gun" to player
- else if {niewinny.%player%} is true:
- if player has 1 iron hoe named "Gun":
- wait 1 tick
- remove 5 emeralds from player's inventory
- send "&6[Murder] &7Ulepszyles bron!" to player
- remove 1 iron hoe from player
- give 1 iron hoe named "Machine Gun" to player
- else if player has 1 iron hoe named "Machine Gun":
- wait 1 tick
- remove 5 emeralds from player's inventory
- send "&6[Murder] &7Ulepszyles bron!" to player
- remove 1 iron hoe from player
- give 1 iron hoe named "Minigun" to player
- else if player doesn't have iron hoe:
- wait 1 tick
- remove 5 emeralds from player's inventory
- send "&6[Murder] &7Otrzymales bron!" to player
- give 1 iron hoe named "Gun" to player
- # ██████████████████████████████████████████████████████████████████████████████████████████████████████
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement