######################################################### # SKRYPT WYKONANY PRZEZ FLUXYYY1337 DLA FORUM SKRIPT.PL # ######################################################### on break: if block is pumpkin: if {unixhc::halloween} is true: drop 1 sunflower named "&5&lHalloween&f&lCoin" if {unixhc::halloween} is false: cancel event send "&8» &4Ten blok bedziesz mogl dopiero zniszczyc podczas Halloween!" command /halloween []: permission: unixhc.halloween permission message: &4Nie masz permisji! trigger: if arg-1 is not set: send "&8» &7Poprawne uzycie to &a/halloween " if arg-1 is "on": set {unixhc::halloween} to true send "&8» &aEvent Halloween zostal wlaczony!" if arg-1 is "off": set {unixhc::halloween} to false send "&8» &cEvent Halloween zostal wylaczony!" command /sklep: trigger: if {unixhc::halloween} is true: set {sklep:%player%:otworzone} to true open chest with 1 rows named "&5&lHalloween&f&lCoin" to player wait 3 ticks format slot 0 of player with diamond sword of sharpness 5 and unbreaking 3 with lore "&8» &7Cena: &f&l8 &8[&5&lHalloween&f&lCoin&8]" to run [execute player command "1"] format slot 1 of player with diamond boots of protection 5 and unbreaking 3 with lore "&8» &7Cena: &f&l12 &8[&5&lHalloween&f&lCoin&8]" to run [execute player command "2"] format slot 2 of player with diamond leggings of protection 5 and unbreaking 3 with lore "&8» &7Cena: &f&l16 &8[&5&lHalloween&f&lCoin&8]" to run [execute player command "3"] format slot 3 of player with diamond chestplate of protection 5 and unbreaking 3 with lore "&8» &7Cena: &f&l16 &8[&5&lHalloween&f&lCoin&8]" to run [execute player command "4"] format slot 4 of player with diamond helmet of protection 5 and unbreaking 3 with lore "&8» &7Cena: &f&l12 &8[&5&lHalloween&f&lCoin&8]" to run [execute player command "5"] format slot 5 of player with black glass named " " to be unstealable format slot 6 of player with black glass named " " to be unstealable format slot 7 of player with black glass named " " to be unstealable format slot 8 of player with red wool named "&4&lWyjscie" to close set {sklep:%player%:otworzone} to false if {unixhc::halloween} is false: send "&8» &cTej komendy bedzie mozna uzyc podczas Halloween!" on right click: if {sklep:%player%:otworzone} is true: cancel event command /1: trigger: if player has 8 sunflower named "&5&lHalloween&f&lCoin": remove 8 sunflower named "&5&lHalloween&f&lCoin" from player's inventory give 1 diamond sword of sharpness 5 and unbreaking 3 to player send "&8» &7Wymieniono &f&l8 &8[&5&lHalloween&f&lCoin&8] &7na mieczyk 5/3" if player doesn't have 8 sunflower named "&5&lHalloween&f&lCoin": send "&8» &cNie masz wystarczajacej ilosci monet!" command /2: trigger: if player has 12 sunflower named "&5&lHalloween&f&lCoin": remove 12 sunflower named "&5&lHalloween&f&lCoin" from player's inventory give 1 diamond boots of protection 5 and unbreaking 3 to player send "&8» &7Wymieniono &f&l12 &8[&5&lHalloween&f&lCoin&8] &7na buty 5/3" if player doesn't have 12 sunflower named "&5&lHalloween&f&lCoin": send "&8» &cNie masz wystarczajacej ilosci monet!" command /3: trigger: if player has 16 sunflower named "&5&lHalloween&f&lCoin": remove 16 sunflower named "&5&lHalloween&f&lCoin" from player's inventory give 1 diamond leggings of protection 5 and unbreaking 3 to player send "&8» &7Wymieniono &f&l16 &8[&5&lHalloween&f&lCoin&8] &7na spodnie 5/3" if player doesn't have 16 sunflower named "&5&lHalloween&f&lCoin": send "&8» &cNie masz wystarczajacej ilosci monet!" command /4: trigger: if player has 16 sunflower named "&5&lHalloween&f&lCoin": remove 16 sunflower named "&5&lHalloween&f&lCoin" from player's inventory give 1 diamond chestplate of protection 5 and unbreaking 3 to player send "&8» &7Wymieniono &f&l16 &8[&5&lHalloween&f&lCoin&8] &7na klate 5/3" if player doesn't have 16 sunflower named "&5&lHalloween&f&lCoin": send "&8» &cNie masz wystarczajacej ilosci monet!" command /5: trigger: if player has 12 sunflower named "&5&lHalloween&f&lCoin": remove 12 sunflower named "&5&lHalloween&f&lCoin" from player's inventory give 1 diamond helmet of protection and unbreaking 3 to player send "&8» &7Wymieniono &f&l12 &8[&5&lHalloween&f&lCoin&8] &7na helm 5/3" if player doesn't have 12 sunflower named "&5&lHalloween&f&lCoin": send "&8» &cNie masz wystarczajacej ilosci monet!" command /event: trigger: send "&8================================" send "&8» &ePodczas zniszczenia dyni otrzymujesz HalloweenCoin, ktorym bedziesz mogl placic uzywajac komendy /sklep" send "&8» &6Event ten zostanie wlaczony dnia 31 pazdziernika" send "&8================================"