#================================# #Skrypt jest autorstwa franio3321# #Skript.pl# #Zabraniam modifikacji kodu skryptu# #================================# #Zmienne# #================================# variables: {elsm.%player%} = false {gino.%player%} = false {kox.%player%} = true #================================# #Konfiguracja# #================================# #Nazwa warpu gdzie respia sie broniacy# gino: warp gino #Nazwa warpu gdzie respia sie atakujacy# elsm: warp elsm #Nazwa cuboida broniacych# cuboid: gino #================================# #Wybieranie EQ# #================================# #W BUDOWIE# #================================# #Czynnosc wykonywana przy zabicu gracza# #================================# on death: if victim is player: if attacker is a player: broadcast "&c%victim% &7zostal zabity przez &c%attacker%&7!" give the victim's skull to attacker strike lightning effect at the player stop on join: #================================# #GILDIA BRONIACA [GINO]# #================================# chance of 50%: set {gino.%player%} to true broadcast "&c%name of player% &7doloczyl do gildii &c[GINO]&7!" send "&8|&7Doloczyles do gildii &c[GINO]&7, bronisz zamek!" clear the player's inventory make console execute command "pex user %name of player% add NametagEdit.*" make player execute command "ne prefix &c[GINO]&7%name of player%" make console execute command "pex user %name of player% remove NametagEdit.*" make console execute command "rg addowner %name of player% {@cuboid}" add diamond sword of sharpness 5,Fire Aspect 2 to player's inventory add diamond sword of sharpness 5,Knockback 2 to player's inventory add 2 322:1 to player's inventory add 10 322 to player's inventory add 10 steak to player's inventory add bow of infinity,Punch 2 to player's inventory add arrow of infinity 10 to player's inventory add diamond helmet of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's helmet add diamond chestplate of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's chestplate add diamond leggings of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's leggings add diamond boots of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's boots add 4 ender pearl to player's inventory stop #================================# #GILDIA ATAKUJACA [ELSM]# #================================# chance of 50%: set {elsm.%player%} to true broadcast "&c%name of player% &7doloczyl do gildii &c[ELSM]&7!" send "&8|&7Doloczyles do gildii &c[ELSM]&7, atakujesz zamek!" clear the player's inventory make console execute command "rg removeowner %name of player% {@cuboid}" make console execute command "pex user %name of player% add NametagEdit.*" make player execute command "ne prefix &c[ELSM]&7%name of player%" make console execute command "pex user %name of player% remove NametagEdit.*" add diamond sword of sharpness 5,Fire Aspect 2 to player's inventory add diamond sword of sharpness 5,Knockback 2 to player's inventory add 2 322:1 to player's inventory add 10 322 to player's inventory add 10 steak to player's inventory add bow of infinity,Punch 2 to player's inventory add arrow of infinity 10 to player's inventory add diamond helmet of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's helmet add diamond chestplate of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's chestplate add diamond leggings of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's leggings add diamond boots of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's boots add 4 ender pearl to player's inventory stop on fist join: #================================# #GILDIA BRONIACA [GINO]# #================================# chance of 50%: send "&8|&7#####" send "&8|&7Komendy dot. Castle MOD &c/castle&7!" send "&8|&7Plugin na Castle MOD stworzyl franio3321." send "&8|&7Wersja| &81.0" send "&8|&7Milej gry zyczy franio3321 :>" send "&8|&7##### set {gino.%player%} to true broadcast "&c%name of player% &7doloczyl do gildii &c[GINO]&7!" send "&8|&7Doloczyles do gildii &c[GINO]&7, bronisz zamek!" clear the player's inventory make console execute command "pex user %name of player% add NametagEdit.*" make player execute command "ne prefix &c[GINO]&7%name of player%" make console execute command "pex user %name of player% remove NametagEdit.*" make console execute command "rg addowner %name of player% {@cuboid}" add diamond sword of sharpness 5,Fire Aspect 2 to player's inventory add diamond sword of sharpness 5,Knockback 2 to player's inventory add 2 322:1 to player's inventory add 10 322 to player's inventory add 10 steak to player's inventory add bow of infinity,Punch 2 to player's inventory add arrow of infinity 10 to player's inventory add diamond helmet of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's helmet add diamond chestplate of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's chestplate add diamond leggings of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's leggings add diamond boots of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's boots add 4 ender pearl to player's inventory stop #================================# #GILDIA ATAKUJACA [ELSM]# #================================# chance of 50%: send "&8|&7#####" send "&8|&7Komendy dot. Castle MOD &c/castle&7!" send "&8|&7Plugin na Castle MOD stworzyl franio3321." send "&8|&7Wersja| &81.0" send "&8|&7Milej gry zyczy franio3321 :>" set {elsm.%player%} to true broadcast "&c%name of player% &7doloczyl do gildii &c[ELSM]&7!" send "&8|&7Doloczyles do gildii &c[ELSM]&7, atakujesz zamek!" clear the player's inventory make console execute command "rg removeowner %name of player% {@cuboid}" make console execute command "pex user %name of player% add NametagEdit.*" make player execute command "ne prefix &c[ELSM]&7%name of player%" make console execute command "pex user %name of player% remove NametagEdit.*" add diamond sword of sharpness 5,Fire Aspect 2 to player's inventory add diamond sword of sharpness 5,Knockback 2 to player's inventory add 2 322:1 to player's inventory add 10 322 to player's inventory add 10 steak to player's inventory add bow of infinity,Punch 2 to player's inventory add arrow of infinity 10 to player's inventory add diamond helmet of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's helmet add diamond chestplate of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's chestplate add diamond leggings of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's leggings add diamond boots of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's boots add 4 ender pearl to player's inventory stop #==============# #SMIERC# #==============# on death: {gino.%player%} is true: execute player command "{@gino}" send "&8|&7Bronisz zamek!" add diamond sword of sharpness 5,Fire Aspect 2 to player's inventory add diamond sword of sharpness 5,Knockback 2 to player's inventory add 2 322:1 to player's inventory add 10 322 to player's inventory add 10 steak to player's inventory add bow of infinity,Punch 2 to player's inventory add arrow of infinity 10 to player's inventory add diamond helmet of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's helmet add diamond chestplate of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's chestplate add diamond leggings of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's leggings add diamond boots of protection 4 named ""&c[GINO] &7Lepsze!"" to the player's boots add 4 ender pearl to player's inventory {elsm.%player%} is true: execute player command "{@elsm}" send "&8|&7Atakujesz zamek!" add diamond sword of sharpness 5,Fire Aspect 2 to player's inventory add diamond sword of sharpness 5,Knockback 2 to player's inventory add 2 322:1 to player's inventory add 10 322 to player's inventory add 10 steak to player's inventory add bow of infinity,Punch 2 to player's inventory add arrow of infinity 10 to player's inventory add diamond helmet of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's helmet add diamond chestplate of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's chestplate add diamond leggings of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's leggings add diamond boots of protection 4 named ""&c[ELSM] &7Lepsze!"" to the player's boots add 4 ender pearl to player's inventory #===========KONIEC=KODU=============# #Napisane dla kolegow i dla skript.pl# #Autor Franio3321# #===========KONIEC=KODU=============#