# ####################### # # MegaWalls FFA - drugi skrypt # Skrypt stworzony przez: MrKeeno # Zakaz kopii tekstu # Zmienianie tekstu jest dozwolone # ####################### # # ####################### # # Aby skrypt dzialal w pelni # musisz pobrac 1 skrypt # i wrzucic go do folderu /scripts # ####################### # on xp spawn: cancel event every tick: loop all players: level of loop-player is larger than 100: set level of the loop-player to 100 set the loop-player's level progress to 0.99 every tick: loop all players: level of loop-player is smaller than 1: set level of the loop-player to 0 set the loop-player's level progress to 0 # \/ KLASA ZOMBIE \/ # on damaging: if {zombie.%attacker%} is true: if level of attacker is smaller than 100: increase level of the attacker by 12 increase level progress of the attacker by 0.12 else: set level of the attacker to 100 on rightclick with a sword: if {zombie.%player%} is true: player's level is larger than 99 player's level is smaller than 101 heal the player by 3 1.8 spawn 10 of particle heart:1 offset by 0.5, 1, 0.5 at player play raw sound "random.levelup" at player with pitch 1 volume 5 reduce the player's level by 100 # \/ KLASA SKELETON \/ # every second: loop all players: if {skeleton.%loop-player%} is true: level of loop-player is smaller than 100: increase level of the loop-player by 1 increase level progress of the loop-player by 0.01 on damage: if {skeleton.%attacker%} is true: if projectile is a arrow: if level of attacker is smaller than 100: increase level of the attacker by 20 increase level progress of the attacker by 0.20 else: set level of the attacker to 100 on leftclick with a bow: if {skeleton.%player%} is true: player's level is larger than 99 player's level is smaller than 101 shoot arrow from player at speed 2 apply resistance 5 to player for 1 second reduce the player's level by 100 set {strzala.%player%} to true wait 1 second set {strzala.%player%} to false on projectile hit: if {skeleton.%shooter%} is true: if {strzala.%shooter%} is true: projectile is arrow: 1.8 spawn 10 of particle large explode:1 offset by 1, 1, 1 at projectile play raw sound "random.explode" at projectile with pitch 1 volume 5 delete event-arrow set {strzala.%shooter%} to false loop all players in radius 2 around the projectile: damage loop-player by 3 hearts on damage: if {skeleton.%attacker%} is true: if projectile is a arrow: remove speed from the attacker remove regeneration from the attacker apply speed 2 to attacker for 5 seconds apply regeneration 2 to attacker for 5 seconds on damage: if {skeleton.%attacker%} is true: if projectile is a arrow: give attacker 1 arrow named "&bSkeleton Arrow" send "&eTwoj Skill przywrocil strzale do Ciebie!" to attacker delete event-arrow # \/ KLASA CREEPER \/ # on damaging: if {creeper.%attacker%} is true: if level of attacker is smaller than 100: increase level of the attacker by 20 increase level progress of the attacker by 0.20 else: set level of the attacker to 100 on rightclick with a sword: if {creeper.%player%} is true: player's level is larger than 99 player's level is smaller than 101 reduce the player's level by 100 send "&aWybuchniesz za &a&l3..." 1.8 spawn 1 of particle angry villager:1 offset by 0.5, 1, 0.5 at player wait 1 second send "&aWybuchniesz za &a&l2..." 1.8 spawn 1 of particle angry villager:1 offset by 0.5, 1, 0.5 at player wait 1 second send "&aWybuchniesz za &a&l1..." 1.8 spawn 1 of particle angry villager:1 offset by 0.5, 1, 0.5 at player wait 1 second send "&a&lBOOM!" 1.8 spawn 10 of particle large explode:1 offset by 1, 1, 1 at player play raw sound "random.explode" at player with pitch 1 volume 5 loop all entities within 20 meters of the player: damage loop-entity by 3 heart # \/ KLASA SPIDER \/ # every second: loop all players: if {spider.%loop-player%} is true: level of loop-player is smaller than 100: increase level of the loop-player by 7 increase level progress of the loop-player by 0.07 on rightclick with a sword: if {spider.%player%} is true: player's level is larger than 99 player's level is smaller than 101 reduce the player's level by 100 push the player upwards at speed 1.3 push player forward with speed 1 on damage: damage was caused by fall: victim is a player: if {spider.%victim%} is true: 1.8 spawn 20 of particle large explode:1 offset by 1, 1, 1 at victim play raw sound "random.explode" at victim with pitch 1 volume 5 set damage to damage*1.2 # \/ KLASA HEROBRINE \/ # on damaging: if {herobrine.%attacker%} is true: if level of attacker is smaller than 100: increase level of the attacker by 20 increase level progress of the attacker by 0.20 else: set level of the attacker to 100 on rightclick with a sword: if {herobrine.%player%} is true: player's level is larger than 99 player's level is smaller than 101 reduce the player's level by 100 loop all players in radius 2 around the player: damage loop-player by 3 hearts strike lightning effect at the loop-player # \/ KLASA ENDERMAN \/ # on damaging: if {enderman.%attacker%} is true: if level of attacker is smaller than 100: increase level of the attacker by 20 increase level progress of the attacker by 0.20 else: set level of the attacker to 100 on rightclick with a sword: if {enderman.%player%} is true: player's level is larger than 99 player's level is smaller than 101 reduce the player's level by 100 teleport player to targeted entity apply speed 3 to player for 5 seconds # \/ KLASA SQUID \/ # on damaging: if {squid.%attacker%} is true: if level of attacker is smaller than 100: increase level of the attacker by 8 increase level progress of the attacker by 0.08 else: set level of the attacker to 100 on rightclick with a sword: if {squid.%player%} is true: player's level is larger than 99 player's level is smaller than 101 reduce the player's level by 100 set {_l} to location of player render "drip water" halo of properties 1, 20, 0, 720, true, 1 tick at location 0.2 meters above {_l} with data 0 heal the player by 2 loop all players in radius 2 around the player: damage loop-player by 3 hearts render "drip water" halo of properties 1, 20, 0, 720, true, 1 tick at location 0.2 meters above loop-player with data 0 stop # \/ KLASA DREADLORD \/ # on damaging: if {dreadlord.%attacker%} is true: if level of attacker is smaller than 100: increase level of the attacker by 12 increase level progress of the attacker by 0.12 else: set level of the attacker to 100 on rightclick with a sword: if {dreadlord.%player%} is true: player's level is larger than 99 player's level is smaller than 101 reduce the player's level by 100 loop 3 times: shoot a wither skull at speed 1 on damage: if damage is caused by projectile: if {dreadlord.%attacker%} is true: damage victim by 9 hearts