Skriptle takım yapma

  • Konuyu Başlatan Konuyu Başlatan cn8001
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 938
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

cn8001

Odunlara Vur Vur Vur!
Katılım
17 Kasım 2017
Mesajlar
26
Elmaslar
4
Puan
3.750
Minecraft
cn8001
Arkadaşlar 4 tane oyuncuyu mavi ve kırmızı diye 2 takıma ayırıp mavi takımdakileri mavi kırmızı takımdakileri kırmızı list variablesine ekleyip sonra mavi takımdakileri mavispawn variablesindeki bloğa kırmızı takımdakileri kırmızıspawn variablesindeki bloğa ışınlayıp mavi takımdakilere mavi kırmızı takımdakilere kırmızı deri set giydirebilir misiniz?
 
Hocam skript ile yapmaktansa BedWars Rel (Tıkla ve indir!) eklentisi ile yapabilirsin.
 
JavaScript:
options:
    prefix: &c&lSavaş &7»
    noperm: Bu komut için yetkin yok!
command /savaş:
    trigger:
        open virtual chest with size 1 named "&4Savaş Arenaları" to player
        make gui slot 0 of player with diamond sword named "&bArena 1" with lore "&cBu arenaya girmeden önce üstünüzdeki itemleri çıkarınız!||Aksi takdirde üstünüzdeki zırhlar gidebilir!" to close then run console command "takımseç %player%"
command /takımseç [<player>]:
    executable by: console
    trigger:
        open virtual chest with size 1 named "&cTakımlar:" to arg 1
        make gui slot 0 of arg 1 with red wool block named "&4Kırmızı Takım" with lore "&f%size of {kırmızıtakım::*}%" to close then run console command "takım %arg 1% kırmızı"
        make gui slot 1 of arg 1 with blue wool block named "&bMavi Takım" with lore "&f%size of {mavitakım::*}%" to close then run console command "takım %arg 1% mavi" 
command /takım [<player>] [<text>]:
    trigger:
        if arg 2 is "kırmızı":
            if size of {kırmızıtakım::*} is smaller than 4:
                if {takım.%arg 1%} is not set:
                    set {takım.%arg 1%} to red
                    execute console command "effect %arg 1% clear"
                    heal arg 1
                    clear arg 1's inventory
                    add arg 1 to {kırmızıtakım::*}
                    teleport arg 1 to {kırmızı}
                    make arg 1 wear all leather armour
                    dye arg 1's helmet red
                    dye arg 1's chestplate red
                    dye arg 1's leggings red
                    dye arg 1's boots red
                    give 1 stone sword to arg 1
                    send "{@prefix} &4Kırmızı takıma geçtin" to arg 1
                else:
                    send "{@prefix} &4Zaten bir takımın var!" to arg 1
            else:
                send "{@prefix} &aBu takım dolu!" to arg 1
        if arg 2 is "mavi":
            if size of {mavitakım::*} is smaller than 4:
                if {takım.%arg 1%} is not set:
                    set {takım.%arg 1%} to blue
                    execute console command "effect %arg 1% clear"
                    heal arg 1
                    clear arg 1's inventory
                    add arg 1 to {mavitakım::*}
                    teleport arg 1 to {mavi}
                    make arg 1 wear all leather armour
                    dye arg 1's helmet blue
                    dye arg 1's chestplate blue
                    dye arg 1's leggings blue
                    dye arg 1's boots blue
                    give 1 stone sword to arg 1
                    send "{@prefix} &1Mavi takıma geçtin!" to arg 1
                else:
                    send "{@prefix} &4Zaten bir takımın var!" to arg 1
            else:
                send "{@prefix} &aBu takım dolu!" to arg 1
command /savaşyer [<text>]:
    permission: OP
    permission message: {@prefix} {@noperm}
    trigger:
        if arg 1 is "kırmızı":
            set {kırmızı} to location of player
            send "{@prefix} &4Kırmızıların &abölgesi belirlendi!"
        if arg 1 is "mavi":
            set {mavi} to location of player
            send "{@prefix} &bMavilerin &abölgesi belirlendi!"
command /arenaçık:
    trigger:
        delete {takım.%player%}
        remove player from {kırmızıtakım::*}
        remove player from {mavitakım::*}
        send "{@prefix} &aBaşarıyla çıktın!"
        execute console command "spawn %player%"
        clear player's inventory
on respawn:
    if {takım.%player%} is set:
        if {takım.%player%} is red:
            loop {kırmızıtakım::*}:
                wait 1 second
                teleport player to {kırmızı}
                make player wear all leather armour
                dye player's helmet red
                dye player's chestplate red
                dye player's leggings red
                dye player's boots red
                give 1 stone sword to player
        if {takım.%player%} is blue:
            loop {mavitakım::*}:
                wait 1 second
                teleport player to {mavi}
                clear player's inventory
                make player wear all leather armour
                dye player's helmet blue
                dye player's chestplate blue
                dye player's leggings blue
                dye player's boots blue
                give 1 stone sword to player
on damage of player:
    if victim is player:
        if attacker is player:
            if {takım.%victim%} is {takım.%attacker%}:
                loop {kırmızıtakım::*}:
                    cancel event
                    send "&a%victim% &cadlı takım arkadaşına vuramazsın." to loop-value
            if {takım.%victim%} is {takım.%attacker%}:
                loop {mavitakım::*}:
                    cancel event
                    send "&a%victim% &cadlı takım arkadaşına vuramazsın." to loop-value
on chat:
    if {takım.%player%} is set:
        if {takım.%player%} is red:
            loop {kırmızıtakım::*}:
                cancel event
                send "&6[&4Kırmızı Takım&6] &4%player% &8> &7%message%" to loop-value
        if {takım.%player%} is blue:
            loop {mavitakım::*}:
                cancel event
                send "&6[&bMavi Takım&6] &b%player% &8> &7%message%" to loop-value
on quit:
    if {takım.%player%} is set:
        delete {takım.%player%}
        clear player's inventory
        remove player from {kırmızıtakım::*}
        remove player from {mavitakım::*}
on command:
    if {takım.%player%} is set:
        if command is not "arenaçık":
            cancel event
            send "{@prefix} &cSavaştan sadece &8(&c/arenaçık&8) &ckomutunu kullanabilirsin!"

/savaşyer kırmızı
/savaşyer mavi Yazarak ışınlanacak yerleri ayarlayabilirsin.
 
JavaScript:
options:
    prefix: &c&lSavaş &7»
    noperm: Bu komut için yetkin yok!
command /savaş:
    trigger:
        open virtual chest with size 1 named "&4Savaş Arenaları" to player
        make gui slot 0 of player with diamond sword named "&bArena 1" with lore "&cBu arenaya girmeden önce üstünüzdeki itemleri çıkarınız!||Aksi takdirde üstünüzdeki zırhlar gidebilir!" to close then run console command "takımseç %player%"
command /takımseç [<player>]:
    executable by: console
    trigger:
        open virtual chest with size 1 named "&cTakımlar:" to arg 1
        make gui slot 0 of arg 1 with red wool block named "&4Kırmızı Takım" with lore "&f%size of {kırmızıtakım::*}%" to close then run console command "takım %arg 1% kırmızı"
        make gui slot 1 of arg 1 with blue wool block named "&bMavi Takım" with lore "&f%size of {mavitakım::*}%" to close then run console command "takım %arg 1% mavi"
command /takım [<player>] [<text>]:
    trigger:
        if arg 2 is "kırmızı":
            if size of {kırmızıtakım::*} is smaller than 4:
                if {takım.%arg 1%} is not set:
                    set {takım.%arg 1%} to red
                    execute console command "effect %arg 1% clear"
                    heal arg 1
                    clear arg 1's inventory
                    add arg 1 to {kırmızıtakım::*}
                    teleport arg 1 to {kırmızı}
                    make arg 1 wear all leather armour
                    dye arg 1's helmet red
                    dye arg 1's chestplate red
                    dye arg 1's leggings red
                    dye arg 1's boots red
                    give 1 stone sword to arg 1
                    send "{@prefix} &4Kırmızı takıma geçtin" to arg 1
                else:
                    send "{@prefix} &4Zaten bir takımın var!" to arg 1
            else:
                send "{@prefix} &aBu takım dolu!" to arg 1
        if arg 2 is "mavi":
            if size of {mavitakım::*} is smaller than 4:
                if {takım.%arg 1%} is not set:
                    set {takım.%arg 1%} to blue
                    execute console command "effect %arg 1% clear"
                    heal arg 1
                    clear arg 1's inventory
                    add arg 1 to {mavitakım::*}
                    teleport arg 1 to {mavi}
                    make arg 1 wear all leather armour
                    dye arg 1's helmet blue
                    dye arg 1's chestplate blue
                    dye arg 1's leggings blue
                    dye arg 1's boots blue
                    give 1 stone sword to arg 1
                    send "{@prefix} &1Mavi takıma geçtin!" to arg 1
                else:
                    send "{@prefix} &4Zaten bir takımın var!" to arg 1
            else:
                send "{@prefix} &aBu takım dolu!" to arg 1
command /savaşyer [<text>]:
    permission: OP
    permission message: {@prefix} {@noperm}
    trigger:
        if arg 1 is "kırmızı":
            set {kırmızı} to location of player
            send "{@prefix} &4Kırmızıların &abölgesi belirlendi!"
        if arg 1 is "mavi":
            set {mavi} to location of player
            send "{@prefix} &bMavilerin &abölgesi belirlendi!"
command /arenaçık:
    trigger:
        delete {takım.%player%}
        remove player from {kırmızıtakım::*}
        remove player from {mavitakım::*}
        send "{@prefix} &aBaşarıyla çıktın!"
        execute console command "spawn %player%"
        clear player's inventory
on respawn:
    if {takım.%player%} is set:
        if {takım.%player%} is red:
            loop {kırmızıtakım::*}:
                wait 1 second
                teleport player to {kırmızı}
                make player wear all leather armour
                dye player's helmet red
                dye player's chestplate red
                dye player's leggings red
                dye player's boots red
                give 1 stone sword to player
        if {takım.%player%} is blue:
            loop {mavitakım::*}:
                wait 1 second
                teleport player to {mavi}
                clear player's inventory
                make player wear all leather armour
                dye player's helmet blue
                dye player's chestplate blue
                dye player's leggings blue
                dye player's boots blue
                give 1 stone sword to player
on damage of player:
    if victim is player:
        if attacker is player:
            if {takım.%victim%} is {takım.%attacker%}:
                loop {kırmızıtakım::*}:
                    cancel event
                    send "&a%victim% &cadlı takım arkadaşına vuramazsın." to loop-value
            if {takım.%victim%} is {takım.%attacker%}:
                loop {mavitakım::*}:
                    cancel event
                    send "&a%victim% &cadlı takım arkadaşına vuramazsın." to loop-value
on chat:
    if {takım.%player%} is set:
        if {takım.%player%} is red:
            loop {kırmızıtakım::*}:
                cancel event
                send "&6[&4Kırmızı Takım&6] &4%player% &8> &7%message%" to loop-value
        if {takım.%player%} is blue:
            loop {mavitakım::*}:
                cancel event
                send "&6[&bMavi Takım&6] &b%player% &8> &7%message%" to loop-value
on quit:
    if {takım.%player%} is set:
        delete {takım.%player%}
        clear player's inventory
        remove player from {kırmızıtakım::*}
        remove player from {mavitakım::*}
on command:
    if {takım.%player%} is set:
        if command is not "arenaçık":
            cancel event
            send "{@prefix} &cSavaştan sadece &8(&c/arenaçık&8) &ckomutunu kullanabilirsin!"

/savaşyer kırmızı
/savaşyer mavi Yazarak ışınlanacak yerleri ayarlayabilirsin.
Çok teşekkür ederim.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst