############################################## #Nie edytować nic oprócz linijek 40-72(Dropy)# #SirSkPlus Licencja Skript.pl################# #ZABRANIAM USUWANIA LINIJEK 1-5 ############## ############################################## variables: {zycie} = 1000 {polozenie} = 0 options: p: &8[&a&l&oNexus&8] on place of nether quartz ore: if player is holding nether quartz ore named "&8[&a&l&oNexus&8]" with lore "&7Zycie:||&6%{zycie}%": if player is op: remove 1 nether quartz ore named "&8[&a&l&oNexus&8]" with lore "&7Zycie:||&6%{zycie}%" from player's inventory set {polozenie} to location of player broadcast "{@p} &aStworzyl nexus'a na kordach: &6%{polozenie}%" broadcast "{@p} &aKto pierwszy go zniszczy ten zdobedzie super nagrody!" else: stop else: stop on mine of nether quartz ore: if {polozenie} is set: if {zycie} is bigger than 0: if player's tool is any pickaxe: add -1 to {zycie} cancel event send "{@p} &aZycie: &c%{zycie}%&7/&c1000" else: cancel event send "{@p} &cMnie mozna zniszczyc tylko kilofem!" if {zycie} is 0: set event-block to bedrock broadcast "{@p} &a%player% &7rozwalil &aNexus'a&7!" add 1 sunflower of fortune 7 named "&3[&a+&3] {@p} &3[&a+&3]" with lore "&6+200$" to player's inventory loop all players: set {_a} to location of loop-player loop all players in radius 5 around {_a}: send "&8[&a&l&oNexus&8] &aOtrzymales nagrode!" add 10 diamond named "&8[&a&l&oNexus&8]" to loop-player's inventory add 1 sunflower of unbreaking 10 named "&3[&a+&3]&e&l +20 zl &3[&a+&3]" to loop-player's inventory set {los} to a random integer between 1 and 13 {los} is 1: drop 16 bookshelf {los} is 2: drop 5 enchanted golden apple {los} is 3: drop 1 diamond pickaxe of efficiency 5 {los} is 4: drop 16 gold block {los} is 5: drop 1 chest of fortune 6 named "&cUSTAWNAZWE" with lore "&8Poziom: &a6" {los} is 6: drop 64 diamond {los} is 7: drop 5 anvil {los} is 8: drop 16 diamond block {los} is 9: drop 1 diamond sword of sharpness 5 and fire aspect 3 and looting 3 and unbreaking 3 named "&8[&a&l&oNexus Sword&8]" with lore "&5&lby SirSk" {los} is 10: drop 192 384 {los} is 11: spawn wolf at the player set name of spawned entity to "&a&lPIES" {los} is 12: drop 32 iron block {los} is 13: drop 1 diamond chestplate of protection 5 and infinity 100 wait 5 real seconds set event-block to nether quartz ore set {zycie} to 1000 set {polozenie} to location of player broadcast "{@p} &aOdrodzil sie, na kordynatach &6%{polozenie}%&a!" command /nexusanuluj: trigger: if player is op: set {polozenie} to 0 broadcast "{@p} &cEVENT nexus zostal przerwany przez Admina %player%" else: send "&cNie!" command /nexusdaj: trigger: if player is op: add 1 nether quartz ore named "&8[&a&l&oNexus&8]" with lore "&7Zycie:||&6%{zycie}%" to player's inventory else: send "&cNie!" command /nexus0: trigger: if player is op: set {zycie} to 1 send "&aUstawiono!" else: send "&cNie!"