Bulundu yakar top

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Doğukan Solak

Odunlara Vur Vur Vur!
Katılım
24 Temmuz 2018
Mesajlar
42
Elmaslar
7
Puan
0
Yaş
26
Minecraft
orjinal yok
Beyler çocukluğumuz da oynadığımız yakar topu minecraft üzerinde uyarlamayı düşündüm olayımız şöyle olucak
2top atıcısı dier oyuncular ortada o top atıcılarına birer yay verilecek ve bi taraftakine ok verilecek oku bi adam sıktığında dierinede skript otomatik olarak
ok vereccek ve o skınca dierine die devam edecek bunu yapabileccek arkadaş varmı
 
Denemedim. Hata çıkarsa at.

Kod:
command /spawnbelirle:
    permission: sk.admin
    permission message: &4Yetkin yok!
    trigger:
        set {spawn} to location of player
        send "&7Başarılı!"

command /atıcı <text>:
    permission: sk.admin
    permission message: &4Yetkin yok!
    trigger:
        if arg-1 is "ilk":
            set {yakartop::i} to location of player
            send "&7Ilk kişinin yeri ayarlandı!"
        if arg-1 is "son":
            set {yakartop::s} to location of player
            send "&7Son kişinin yeri ayarlandı!"
        if arg-1 is "orta":
            set {yakartop::o} to location of player
            send "&7Ortadaki kişinin yeri ayarlandı!"

command /yakartop <text> [<player>]:
    permission: sk.admin
    permission message: &4Yetkin yok!
    trigger:
        if arg-2 is set:
            if arg-1 is "ilk":
                set {yakartop::i::p} to arg-2
            if arg-1 is "son":
                set {yakartop::s::p} to arg-2
            if arg-1 is "orta":
                add arg-2 to {yakartop::o::*}
        else:
            if arg-1 is "başlat":
                if {yakartop::i::p} is not set:
                    send "&7Ilk oyuncu seçilmedi!"
                    stop
                if {yakartop::s::p} is not set:
                    send "&7Ilk oyuncu seçilmedi!"
                    stop
                if {yakartop::o::*} is not set:
                    send "&7Ortadaki oyuncular seçilmedi!"
                    stop
                teleport {yakartop::i::p} to {yakartop::i}
                give a bow named "&6Yakar Top" to {yakartop::i::p}
                give an arrow to {yakartop::i::p}
                teleport {yakartop::s::p} to {yakartop::s}
                give a bow named "&6Yakar Top" to {yakartop::s::p}
                loop {yakartop::o::*}:
                    teleport loop-value to {yakartop::o}

shoot:
    shooter is a player
    if {yakartop::i::p} is shooter:
        give an arrow to {yakartop::s::p}
    else if {yakartop::s::p} is shooter:
        give an arrow to {yakartop::i::p}

damage:
    projectile is an arrow
    attacker is a player
    victim is a player
    if {yakartop::o::*} contains victim:
        remove victim from {yakartop::o::*}
        teleport victim to {spawn}
        if size of {yakartop::o::*} = 0:
            delete {yakartop::o::*}
            teleport {yakartop::i::p} to {spawn}
            teleport {yakartop::s::p} to {spawn}
            delete {yakartop::i::p}
            delete {yakartop::s::p}
 
Denemedim. Hata çıkarsa at.

Kod:
command /spawnbelirle:
    permission: sk.admin
    permission message: &4Yetkin yok!
    trigger:
        set {spawn} to location of player
        send "&7Başarılı!"

command /atıcı <text>:
    permission: sk.admin
    permission message: &4Yetkin yok!
    trigger:
        if arg-1 is "ilk":
            set {yakartop::i} to location of player
            send "&7Ilk kişinin yeri ayarlandı!"
        if arg-1 is "son":
            set {yakartop::s} to location of player
            send "&7Son kişinin yeri ayarlandı!"
        if arg-1 is "orta":
            set {yakartop::o} to location of player
            send "&7Ortadaki kişinin yeri ayarlandı!"

command /yakartop <text> [<player>]:
    permission: sk.admin
    permission message: &4Yetkin yok!
    trigger:
        if arg-2 is set:
            if arg-1 is "ilk":
                set {yakartop::i::p} to arg-2
            if arg-1 is "son":
                set {yakartop::s::p} to arg-2
            if arg-1 is "orta":
                add arg-2 to {yakartop::o::*}
        else:
            if arg-1 is "başlat":
                if {yakartop::i::p} is not set:
                    send "&7Ilk oyuncu seçilmedi!"
                    stop
                if {yakartop::s::p} is not set:
                    send "&7Ilk oyuncu seçilmedi!"
                    stop
                if {yakartop::o::*} is not set:
                    send "&7Ortadaki oyuncular seçilmedi!"
                    stop
                teleport {yakartop::i::p} to {yakartop::i}
                give a bow named "&6Yakar Top" to {yakartop::i::p}
                give an arrow to {yakartop::i::p}
                teleport {yakartop::s::p} to {yakartop::s}
                give a bow named "&6Yakar Top" to {yakartop::s::p}
                loop {yakartop::o::*}:
                    teleport loop-value to {yakartop::o}

shoot:
    shooter is a player
    if {yakartop::i::p} is shooter:
        give an arrow to {yakartop::s::p}
    else if {yakartop::s::p} is shooter:
        give an arrow to {yakartop::i::p}

damage:
    projectile is an arrow
    attacker is a player
    victim is a player
    if {yakartop::o::*} contains victim:
        remove victim from {yakartop::o::*}
        teleport victim to {spawn}
        if size of {yakartop::o::*} = 0:
            delete {yakartop::o::*}
            teleport {yakartop::i::p} to {spawn}
            teleport {yakartop::s::p} to {spawn}
            delete {yakartop::i::p}
            delete {yakartop::s::p}
soal hocam sunucu açılıyo deneyeceğim
 
Sorun çözüldüyse belirtiniz.
 
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