# ####################### # # MegaWalls FFA - pierwszy skrypt # Skrypt stworzony przez: MrKeeno # Zakaz kopii tekstu # Zmienianie tekstu jest dozwolone # ####################### # # ####################### # # Aby skrypt dzialal w pelni # musisz pobrac 2 skrypt # i wrzucic go do folderu /scripts # ####################### # variables: {zombie.%player%} = false {skeleton.%player%} = false {creeper.%player%} = false {enderman.%player%} = false {herobrine.%player%} = false {spider.%player%} = false {squid.%player%} = false {monety.%player%} = 0 {kills.%player%} = 0 {deaths.%player%} = 0 {join.%player%} = false {inventory.%player%} = 0 {sb.on.%player%} = false {dreadlord.buy.%player%} = false {dreadlord.%player%} = false command /klasa []: trigger: if arg 1 is not set: send "&aPoprawne uzycie: &e/klasa " if arg 1 is "zombie": send "- &7Wybrales klase &eZombie!" to player set {zombie.%player%} to true set {skeleton.%player%} to false set {creeper.%player%} to false set {enderman.%player%} to false set {herobrine.%player%} to false set {spider.%player%} to false set {squid.%player%} to false set {dreadlord.%player%} to false execute player command "/scoreboardtest" if arg 1 is "skeleton": send "- &7Wybrales klase &eSkeleton!" to player set {skeleton.%player%} to true set {zombie.%player%} to false set {creeper.%player%} to false set {enderman.%player%} to false set {herobrine.%player%} to false set {spider.%player%} to false set {squid.%player%} to false set {dreadlord.%player%} to false execute player command "/scoreboardtest" if arg 1 is "creeper": send "- &7Wybrales klase &eCreeper!" to player set {creeper.%player%} to true set {skeleton.%player%} to false set {zombie.%player%} to false set {enderman.%player%} to false set {herobrine.%player%} to false set {spider.%player%} to false set {squid.%player%} to false set {dreadlord.%player%} to false execute player command "/scoreboardtest" if arg 1 is "enderman": send "- &7Wybrales klase &eEnderman!" to player set {enderman.%player%} to true set {creeper.%player%} to false set {skeleton.%player%} to false set {zombie.%player%} to false set {herobrine.%player%} to false set {spider.%player%} to false set {squid.%player%} to false set {dreadlord.%player%} to false execute player command "/scoreboardtest" if arg 1 is "herobrine": send "- &7Wybrales klase &eHerobrine!" to player set {herobrine.%player%} to true set {enderman.%player%} to false set {creeper.%player%} to false set {skeleton.%player%} to false set {zombie.%player%} to false set {spider.%player%} to false set {squid.%player%} to false set {dreadlord.%player%} to false execute player command "/scoreboardtest" if arg 1 is "spider": send "- &7Wybrales klase &eSpider!" to player set {spider.%player%} to true set {herobrine.%player%} to false set {enderman.%player%} to false set {creeper.%player%} to false set {skeleton.%player%} to false set {zombie.%player%} to false set {squid.%player%} to false set {dreadlord.%player%} to false execute player command "/scoreboardtest" if arg 1 is "squid": send "- &7Wybrales klase &eSquid!" to player set {squid.%player%} to true set {herobrine.%player%} to false set {enderman.%player%} to false set {creeper.%player%} to false set {skeleton.%player%} to false set {zombie.%player%} to false set {spider.%player%} to false set {dreadlord.%player%} to false execute player command "/scoreboardtest" if arg 1 is "dreadlord": if {dreadlord.buy.%player%} is true: send "- &7Wybrales klase &eDreadlord!" to player set {dreadlord.%player%} to true set {enderman.%player%} to false set {creeper.%player%} to false set {skeleton.%player%} to false set {zombie.%player%} to false set {herobrine.%player%} to false set {spider.%player%} to false set {squid.%player%} to false execute player command "/scoreboardtest" else: send "- &cNie kupiles klasy &eDreadlord!" command /mwffa [] []: trigger: if arg 1 is not set: send "&7--------------- &e&lMegaWalls FFA &7---------------" send "- &e&l/mwffa setlobby &7- Ustawia lobby do gry." send "- &e&l/mwffa setspawn <1-6> &7- Ustawia spawny do gry." send "- &e&l/mwffa join &7- Dolacza do gry." send "- &e&l/mwffa leave &7- Wychodzi z gry." send "&7--------------- &e&lMegaWalls FFA &7---------------" if arg 1 is "setlobby": if player has permission "mwffa.admin": set {mwffa.setlobby} to location of player send "- &7Pomyslnie ustawiles lobby do gry!" else: send "- &cNie masz pozwolenia!" if arg 1 is "setspawn": if arg 2 is "1" or "2" or "3" or "4" or "5" or "6": if player has permission "mwffa.admin": set {mwffa.%arg 2%.spawn} to location of player send "- &7Ustawiles &e%arg 2% &7spawn do gry!" else: send "- &cNie masz pozwolenia!" else: send "- &cSpawny mozesz ustawiac od 1 do 6!" if arg 1 is "join": if {join.%player%} is false: if {mwffa.setlobby} is set: teleport player to {mwffa.setlobby} clear player's inventory set player's gamemode to adventure apply health boost 5 to player for 9999 seconds set player's health to 40 set level of the player to 0 set the player's level progress to 0 execute player command "/scoreboardtest" set slot 0 of player to command block named "&aWybor klas &7(Kliknij PPM)" set slot 4 of player to cake named "&aGraj! &7(Kliknij PPM)" set slot 8 of player to emerald named "&aSklep &c(Juz wkrotce...)" set {join.%player%} to true send "- &7Dolaczyles do gry!" else: send "- &cLobby nie jest ustawione!" else: send "- &cJuz jestes w grze!" if arg 1 is "leave": if {join.%player%} is true: send "- &cWyszedles z gry!" clear player's inventory remove health boost from player set {join.%player%} to false set {skeleton.%player%} to false set {zombie.%player%} to false set {creeper.%player%} to false set {enderman.%player%} to false set {herobrine.%player%} to false set {spider.%player%} to false set {squid.%player%} to false set {dreadlord.%player%} to false wipe player's sidebar else: send "- &cNie ma cie w grze!" if arg 1 is "graj": if {join.%player%} is true: if {mwffa.1.spawn} is set: if {mwffa.2.spawn} is set: if {mwffa.3.spawn} is set: if {mwffa.4.spawn} is set: if {mwffa.5.spawn} is set: if {mwffa.6.spawn} is set: set {_} to random integer between 1 and 6 teleport player to {mwffa.%{_}%.spawn} send "- &7Zostales teleportowany!" set level of the player to 100 set the player's level progress to 0.99 clear player's inventory if {zombie.%player%} is true: equip player with iron helmet equip player with diamond chestplate of protection 2 named "&bZombie Chestplate" equip player with iron leggings equip player with iron boots set slot 0 of player to iron sword of unbreaking 3 named "&bZombie Sword" set slot 1 of player to potion of:8229 named "&bPotion of Health (10)" set slot 2 of player to 2 potion of:8226 named "&bPotion of Speed (15 Seconds)" set slot 3 of player to diamond pickaxe of unbreaking 3 and efficiency 2 named "&bZombie Pickaxe" set slot 4 of player to 3 steak named "&bZombie Steak" if {skeleton.%player%} is true: equip player with diamond helmet of protection 1 named "&bSkeleton Helmet" equip player with iron chestplate equip player with iron leggings equip player with iron boots set slot 0 of player to bow of power 3 named "&bSkeleton Bow" set slot 1 of player to 2 potion of:8229 named "&bPotion of Health (8)" set slot 2 of player to 2 potion of:8226 named "&bPotion of Speed (15 Seconds)" set slot 3 of player to diamond pickaxe of unbreaking 2 and efficiency 2 named "&bSkeleton Pickaxe" set slot 4 of player to 3 steak named "&bSkeleton Steak" set slot 5 of player to iron axe of unbreaking 2 and efficiency 2 named "&bSkeleton Axe" set slot 8 of player to 64 arrow named "&bSkeleton Arrow" if {creeper.%player%} is true: equip player with iron helmet equip player with iron chestplate equip player with diamond leggings of blast protection 4 named "&bCreeper Leggings" equip player with iron boots set slot 0 of player to iron sword of unbreaking 3 named "&bCreeper Sword" set slot 1 of player to 2 potion of:8229 named "&bPotion of Health (8)" set slot 2 of player to 2 potion of:8226 named "&bPotion of Speed (15 Seconds)" set slot 3 of player to diamond pickaxe of unbreaking 3 and efficiency 2 named "&bCreeper Pickaxe" set slot 4 of player to 3 steak named "&bCreeper Steak" if {enderman.%player%} is true: equip player with iron helmet equip player with iron chestplate equip player with iron leggings equip player with diamond boots of feather falling 4 named "&bEnderman Boots" set slot 0 of player to iron sword of unbreaking 3 named "&bEnderman Sword" set slot 1 of player to 2 potion of:8229 named "&bPotion of Health (8)" set slot 2 of player to 2 potion of:8226 named "&bPotion of Speed (15 Seconds)" set slot 3 of player to diamond pickaxe of unbreaking 3 and efficiency 2 named "&bEnderman Pickaxe" set slot 4 of player to 3 steak named "&bEnderman Steak" if {herobrine.%player%} is true: equip player with iron helmet of protection 1, unbreaking 1 and aqua affinity 1 named "&bHerobrine Helmet" equip player with iron chestplate equip player with iron leggings equip player with iron boots set slot 0 of player to diamond sword of unbreaking 3 named "&bHerobrine Sword" set slot 1 of player to 2 potion of:8229 named "&bPotion of Health (6)" set slot 2 of player to 2 potion of:8226 named "&bPotion of Speed (15 Seconds)" set slot 3 of player to diamond pickaxe of unbreaking 3 and efficiency 2 named "&bHerobrine Pickaxe" set slot 4 of player to 3 steak named "&bHerobrine Steak" if {spider.%player%} is true: equip player with iron helmet equip player with iron chestplate equip player with iron leggings equip player with diamond boots of unbreaking 3 named "&bSpider Boots" set slot 0 of player to iron sword of unbreaking 3 named "&bSpider Sword" set slot 1 of player to 2 potion of:8229 named "&bPotion of Health (8)" set slot 2 of player to 2 potion of:8226 named "&bPotion of Speed (15 Seconds)" set slot 3 of player to diamond pickaxe of unbreaking 3 and efficiency 2 named "&bSpider Pickaxe" set slot 4 of player to 3 steak named "&bSpider Steak" if {squid.%player%} is true: equip player with iron helmet equip player with iron chestplate equip player with iron leggings equip player with diamond boots of unbreaking 3 named "&bSquid Boots" set slot 0 of player to iron sword of unbreaking 3 named "&bSquid Sword" set slot 1 of player to 3 potion of:8229 named "&bPotion of Health (6)" set slot 2 of player to 1 potion of:8226 named "&bPotion of Speed (15 Seconds)" set slot 3 of player to diamond pickaxe of unbreaking 3 and efficiency 2 named "&bSquid Pickaxe" set slot 4 of player to 4 cooked salmon named "&bSquid Salmon" if {dreadlord.%player%} is true: equip player with diamond helmet of unbreaking 3 named "&bDreadlord Helmet" equip player with iron chestplate equip player with iron leggings equip player with iron boots set slot 0 of player to diamond sword of unbreaking 3 and smite 1 named "&bDreadlord Sword" set slot 1 of player to 2 potion of:8229 named "&bPotion of Health (8)" set slot 2 of player to 2 potion of:8226 named "&bPotion of Speed (15 Seconds)" set slot 3 of player to diamond pickaxe of unbreaking 3 and efficiency 2 named "&bDreadlord Pickaxe" set slot 4 of player to 3 steak named "&bDreadlord Steak" else: send "- &cSpawn 6 nie jest ustawiony!" else: send "- &cSpawn 5 nie jest ustawiony!" else: send "- &cSpawn 4 nie jest ustawiony!" else: send "- &cSpawn 3 nie jest ustawiony!" else: send "- &cSpawn 2 nie jest ustawiony!" else: send "- &cSpawn 1 nie jest ustawiony!" else: send "- &cNie jestes podczas gry!" command /menu: trigger: open chest with 3 rows named "&aWybor klas" to player wait 2 tick format slot 0 of player with 1 of gray glass pane named " " to be unstealable format slot 1 of player with 1 of gray glass pane named " " to be unstealable format slot 2 of player with 1 of gray glass pane named " " to be unstealable format slot 3 of player with 1 of gray glass pane named " " to be unstealable format slot 4 of player with 1 of gray glass pane named " " to be unstealable format slot 5 of player with 1 of gray glass pane named " " to be unstealable format slot 6 of player with 1 of gray glass pane named " " to be unstealable format slot 7 of player with 1 of gray glass pane named " " to be unstealable format slot 8 of player with 1 of gray glass pane named " " to be unstealable format slot 9 of player with 1 of gray glass pane named " " to be unstealable format slot 10 of player with 1 of gray glass pane named " " to be unstealable format slot 11 of player with 1 of iron sword named "&aDarmowe Klasy" with lore "&7Kliknij aby otworzyc GUI darmowych klas" to run [execute player command "/menu2"] format slot 12 of player with 1 of gray glass pane named " " to be unstealable if {zombie.%player%} is false: if {skeleton.%player%} is false: if {creeper.%player%} is false: if {enderman.%player%} is false: if {herobrine.%player%} is false: if {spider.%player%} is false: if {squid.%player%} is false: format slot 13 of player with 1 of barrier named "&aWybrana klasa: &eNie wybrano!" with lore "&7Kliknij aby zagrac!" to be unstealable if {zombie.%player%} is true: format slot 13 of player with 1 of rotten flesh named "&aWybrana klasa: &eZombie" with lore "&7Kliknij aby zagrac!" to close then run [execute player command "/mwffa graj"] if {skeleton.%player%} is true: format slot 13 of player with 1 of bone named "&aWybrana klasa: &eSkeleton" with lore "&7Kliknij aby zagrac!" to close then run [execute player command "/mwffa graj"] if {creeper.%player%} is true: format slot 13 of player with 1 of tnt named "&aWybrana klasa: &eCreeper" with lore "&7Kliknij aby zagrac!" to close then run [execute player command "/mwffa graj"] if {enderman.%player%} is true: format slot 13 of player with 1 of ender chest named "&aWybrana klasa: &eEnderman" with lore "&7Kliknij aby zagrac!" to close then run [execute player command "/mwffa graj"] if {herobrine.%player%} is true: format slot 13 of player with 1 of ender pearl named "&aWybrana klasa: &eHerobrine" with lore "&7Kliknij aby zagrac!" to close then run [execute player command "/mwffa graj"] if {spider.%player%} is true: format slot 13 of player with 1 of cobweb named "&aWybrana klasa: &eSpider" with lore "&7Kliknij aby zagrac!" to close then run [execute player command "/mwffa graj"] if {squid.%player%} is true: format slot 13 of player with 1 of ink sack named "&aWybrana klasa: &eSquid" with lore "&7Kliknij aby zagrac!" to close then run [execute player command "/mwffa graj"] if {dreadlord.%player%} is true: format slot 13 of player with 1 of wither skeleton head named "&aWybrana klasa: &eDreadlord" with lore "&7Kliknij aby zagrac!" to close then run [execute player command "/mwffa graj"] format slot 14 of player with 1 of gray glass pane named " " to be unstealable format slot 15 of player with 1 of diamond sword named "&aPlatne Klasy" with lore "&7Kliknij aby otworzyc GUI platnych klas" to run [execute player command "/menu3"] format slot 16 of player with 1 of gray glass pane named " " to be unstealable format slot 17 of player with 1 of gray glass pane named " " to be unstealable format slot 18 of player with 1 of gray glass pane named " " to be unstealable format slot 19 of player with 1 of gray glass pane named " " to be unstealable format slot 20 of player with 1 of gray glass pane named " " to be unstealable format slot 21 of player with 1 of gray glass pane named " " to be unstealable format slot 22 of player with 1 of gray glass pane named " " to be unstealable format slot 23 of player with 1 of gray glass pane named " " to be unstealable format slot 24 of player with 1 of gray glass pane named " " to be unstealable format slot 25 of player with 1 of gray glass pane named " " to be unstealable format slot 26 of player with 1 of gray glass pane named " " to be unstealable command /menu2: trigger: open chest with 4 rows named "&aDarmowe klasy" to player wait 2 ticks format slot 0 of player with 1 of gray glass pane named " " to be unstealable format slot 1 of player with 1 of gray glass pane named " " to be unstealable format slot 2 of player with 1 of gray glass pane named " " to be unstealable format slot 3 of player with 1 of gray glass pane named " " to be unstealable format slot 4 of player with 1 of gray glass pane named " " to be unstealable format slot 5 of player with 1 of gray glass pane named " " to be unstealable format slot 6 of player with 1 of gray glass pane named " " to be unstealable format slot 7 of player with 1 of gray glass pane named " " to be unstealable format slot 8 of player with 1 of gray glass pane named " " to be unstealable format slot 9 of player with 1 of gray glass pane named " " to be unstealable format slot 10 of player with 1 of bone named "&aSkeleton" with lore "&7The Skeleton class makes||&7excellent use of ranged||&7abilities and weapons." to close then run [execute player command "/klasa skeleton"] format slot 11 of player with 1 of rotten flesh named "&aZombie" with lore "&7The Zombie class focuses on||&7defensive gameplay and||&7boosts." to close then run [execute player command "/klasa zombie"] format slot 12 of player with 1 of tnt named "&aCreeper" with lore "&7The Creeper class uses||&7explosion based powers to||&7win. Energy is gained by||&7hitting players in melee||&7range." to close then run [execute player command "/klasa creeper"] format slot 13 of player with 1 of ender chest named "&aEnderman" with lore "&7The Enderman class has||&7special teleportation||&7powers and endurance." to close then run [execute player command "/klasa enderman"] format slot 14 of player with 1 of ender pearl named "&aHerobrine" with lore "&7The Herobrine class uses||&7supernatural abilities to||&7attack and destroy your||&7enemies." to close then run [execute player command "/klasa herobrine"] format slot 15 of player with 1 of cobweb named "&aSpider" with lore "&7The Spider class uses agile||&7paths for combat." to close then run [execute player command "/klasa spider"] format slot 16 of player with 1 of ink sack named "&aSquid" with lore "&7Splashing around, like a||&7Squid, because that's what||&7Squids do. Splash." to close then run [execute player command "/klasa squid"] format slot 17 of player with 1 of gray glass pane named " " to be unstealable format slot 18 of player with 1 of gray glass pane named " " to be unstealable format slot 19 of player with 1 of gray glass pane named " " to be unstealable format slot 20 of player with 1 of gray glass pane named " " to be unstealable format slot 21 of player with 1 of gray glass pane named " " to be unstealable format slot 22 of player with 1 of gray glass pane named " " to be unstealable format slot 23 of player with 1 of gray glass pane named " " to be unstealable format slot 24 of player with 1 of gray glass pane named " " to be unstealable format slot 25 of player with 1 of gray glass pane named " " to be unstealable format slot 26 of player with 1 of gray glass pane named " " to be unstealable format slot 27 of player with 1 of gray glass pane named " " to be unstealable format slot 28 of player with 1 of gray glass pane named " " to be unstealable format slot 29 of player with 1 of gray glass pane named " " to be unstealable format slot 30 of player with 1 of arrow named "&aWroc" to run [execute player command "/menu"] format slot 31 of player with 1 of emerald named "&7Monety: &a%{monety.%player%}%" to be unstealable format slot 32 of player with 1 of gray glass pane named " " to be unstealable format slot 33 of player with 1 of gray glass pane named " " to be unstealable format slot 34 of player with 1 of gray glass pane named " " to be unstealable format slot 35 of player with 1 of gray glass pane named " " to be unstealable command /menu3: trigger: open chest with 4 rows named "&aPlatne klasy" to player wait 5 ticks set {rows.%player%} to 0 loop 11 times: format slot {rows.%player%} of player with 1 of gray glass pane named " " to be unstealable add 1 to {rows.%player%} if {dreadlord.buy.%player%} is false: format slot 11 of player with 1 of wither skeleton head named "&cDreadlord" with lore "&7The Dreadlord class uses||&7explosive abilities to||&7attack and steal health.||&7||&7Koszt: &610000" to close then run [execute player command "/kup dreadlord"] if {dreadlord.buy.%player%} is true: format slot 11 of player with 1 of wither skeleton head named "&aDreadlord" with lore "&7The Dreadlord class uses||&7explosive abilities to||&7attack and steal health." to close then run [execute player command "/klasa dreadlord"] set {rows.%player%} to 12 loop 22 times: format slot {rows.%player%} of player with 1 of gray glass pane named " " to be unstealable add 1 to {rows.%player%} format slot 30 of player with 1 of arrow named "&aWroc" to run [execute player command "/menu"] format slot 31 of player with 1 of emerald named "&7Monety: &a%{monety.%player%}%" to be unstealable format slot 32 of player with 1 of gray glass pane named " " to be unstealable format slot 33 of player with 1 of gray glass pane named " " to be unstealable format slot 34 of player with 1 of gray glass pane named " " to be unstealable format slot 35 of player with 1 of gray glass pane named " " to be unstealable command /kup []: trigger: if arg 1 is "dreadlord": if {dreadlord.buy.%player%} is false: if {monety.%player%} is larger than 9999: send "- &7Kupiles klase &eDreadlord!" to player set {dreadlord.buy.%player%} to true remove 10000 from {monety.%player%} execute player command "/scoreboardtest" else: send "- &cNie posiadasz tylu monet!" to player on rightclick with command block: if name of player's tool is "&aWybor klas &7(Kliknij PPM)": execute player command "menu" on rightclick with cake: if name of player's tool is "&aGraj! &7(Kliknij PPM)": if {zombie.%player%} is false: if {skeleton.%player%} is false: if {creeper.%player%} is false: if {enderman.%player%} is false: if {herobrine.%player%} is false: if {spider.%player%} is false: if {squid.%player%} is false: if {dreadlord.%player%} is false: send "- &cNie wybrales klasy!" else: execute player command "/mwffa graj" else: execute player command "/mwffa graj" else: execute player command "/mwffa graj" else: execute player command "/mwffa graj" else: execute player command "/mwffa graj" else: execute player command "/mwffa graj" else: execute player command "/mwffa graj" else: execute player command "/mwffa graj" on death: if victim is a player: if attacker is a player: send "&6+15 monet!" to attacker add 15 to {monety.%attacker%} add 1 to {kills.%attacker%} execute attacker command "/scoreboardtest" on death: if victim is a player: if attacker is a player: add 1 to {deaths.%victim%} execute victim command "/scoreboardtest" on drink potion: if name of item is "&bPotion of Health (10)": cancel event remove potion named "&bPotion of Health (10)" from player heal player by 10 hearts if name of item is "&bPotion of Speed (15 Seconds)": cancel event remove speed from player remove potion named "&bPotion of Speed (15 Seconds)" from player apply speed 2 to player for 15 seconds if name of item is "&bPotion of Health (8)": cancel event remove potion named "&bPotion of Health (8)" from player heal player by 8 hearts if name of item is "&bPotion of Health (6)": cancel event remove potion named "&bPotion of Health (6)" from player heal player by 6 hearts every second: loop all players: level of loop-player is larger than 99: set the loop-player's level progress to 0.99 wait 0.5 seconds set the loop-player's level progress to 0 wait 0.5 seconds command /scoreboardtest: trigger: if {sb.on.%player%} is false: set name of sidebar of player to "&e&lMEGAWALLS FFA" set score "&c" in sidebar of player to 10 set score "Zabicia: &a%{kills.%player%}%" in sidebar of player to 9 set score "Smierci: &a%{deaths.%player%}%" in sidebar of player to 8 set score "&6" in sidebar of player to 7 set score "Monety: &a%{monety.%player%}%" in sidebar of player to 6 set score "&2" in sidebar of player to 5 set score "Wybrana klasa:" in sidebar of player to 4 if {zombie.%player%} is false: if {skeleton.%player%} is false: if {creeper.%player%} is false: if {enderman.%player%} is false: if {herobrine.%player%} is false: if {spider.%player%} is false: if {squid.%player%} is false: if {dreadlord.%player%} is false: set score "&aNie wybrano!" in sidebar of player to 3 if {zombie.%player%} is true: set score "&aZombie" in sidebar of player to 3 if {skeleton.%player%} is true: set score "&aSkeleton" in sidebar of player to 3 if {creeper.%player%} is true: set score "&aCreeper" in sidebar of player to 3 if {enderman.%player%} is true: set score "&aEnderman" in sidebar of player to 3 if {herobrine.%player%} is true: set score "&aHerobrine" in sidebar of player to 3 if {spider.%player%} is true: set score "&aSpider" in sidebar of player to 3 if {squid.%player%} is true: set score "&aSquid" in sidebar of player to 3 if {dreadlord.%player%} is true: set score "&aDreadlord" in sidebar of player to 3 set score "&1" in sidebar of player to 2 set score "&eTwojSerwer.pl" in sidebar of player to 1 set {sb.on.%player%} to true else: wipe player's sidebar set {sb.on.%player%} to false execute player command "/scoreboardtest"