ACİL DUEL 1VS1 SKRİPTİ

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

DeliJojuk

Birisi mi Spawnlandı?
Katılım
10 Temmuz 2018
Mesajlar
2
Elmaslar
1
Puan
0
Yaş
25
ACİL DUEL 1VS1 SKRİPTİ HAZIR FALAN FARKETMEZ ACİL BİR TANE ATABİLECEK VAR MI?
 
1. si Caps Lock Kullanmayın 2. si Normal şartlarda bu konunuzu caps lock + caps lock bağırmak demek bu yüzden cevaplamayacaktım ama son 1 konu kaldı başvuru yapacağım yetkililiğe o yüzden cevaplıyorum buyrun skriptiniz
Kod:
options:
    p: &6&lDUEL

command /arena [<text>] [<text>]:
    trigger:
        if arg 1 isn't set:
            send "{@p} &a/arena setlobby"
            send "{@p} &a/arena create [arena]"
            send "{@p} &a/arena remove [arena]"
            send "{@p} &a/arena setspawn1 [arena]"
            send "{@p} &a/arena setspawn2 [arena]"
            send "{@p} &a/arena SetInv [arena]"
        if arg 1 is "setlobby":
            set {lobby} to location of player
            send "{@p} &aLobby Olusturuldu!"
        if arg 1 is "create":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Arena Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    send "{@p} &cBu Arena Zaten Mevcut"
                else:
                    add arg 2 to {duel.arenas::*}
                    send "{@p} &aArena &c%arg 2% &aEklendi!"
        if arg 1 is "remove":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Arena Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    remove arg 2 from {duel.arenas::*}
                    delete {duel.%arg 2%.spawn1}
                    delete {duel.%arg 2%.spawn2}
                    send "{@p} &aArena &c%arg 2% &aSilindi!"
                else:
                    send "{@p} &cArena Bulunamadi!"
        if arg 1 is "setspawn1":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Arena Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    set {duel.%arg 2%.spawn1} to location of player
                    send "{@p} &c%arg 2% &aArenanin &71. &aSpawn Noktasi Olusturuldu!"
                else:
                    send "{@p} &cArena Bulunamadi!"
        if arg 1 is "setspawn2":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Arena Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    set {duel.%arg 2%.spawn2} to location of player
                    send "{@p} &c%arg 2% &aArenanin &72. &aSpawn Noktasi Olusturuldu!"
                else:
                    send "{@p} &cArena Bulunamadi!"
        if arg 1 is "setInv":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Kit Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    set {duel.%arg 2%.helmet} to helmet of the player
                    set {duel.%arg 2%.chestplate} to chestplate of the player
                    set {duel.%arg 2%.leggings} to leggings of the player
                    set {duel.%arg 2%.boots} to boots of the player
                    set {duel.%arg 2%.inventory} to player's serialized inventory
                    send "{@p} &aArena Icin Itemler Secildi!"
                else:
                    send "{@p} &cArena Bulunamadi!"
        if arg 1 is "liste":
            open chest with 6 row named "&6&lArenas" to player
            loop {duel.arenas::*}:
                add 1 to {_slot}
                format slot {_slot}-1 of player with diamond chestplate named "%loop-value%" to close

command /duel [<player>] [<text>]:
    trigger:
        if {oyunda.%player%} is true:
            send "{@p} &cZaten Oyundasin!"
        else:
            if {oyunda.%arg 1%} is true:
                send "{@p} &cOyuncu Suan Oyunda!"
            else:
                if arg 1 isn't set:
                    send "{@p} &a/duel [oyuncu] [arena]"
                else:
                    if arg 2 isn't set:
                        send "{@p} &cLutfen Bir Arena Secin!"
                    else:
                        {duel.arenas::*} contains arg 2:
                            open chest with 3 row named "&6BattleKit" to arg 1
                            format slot 4 of arg 1 with diamond chestplate named "&8&m----------&8/ &cISTEK &8\&8&m----------" with lore " &8&m-----&8/ &a&lGonderen: &6&lTest &8\&8&m-----|| &8&m-----&8/ &a&lArena: &6&lArena1 &8\&8&m-----||&8&m----------&8/ &cISTEK &8\&8&m----------" to close
                            format slot 21 of arg 1 with green stained Clay named "&aKabul Et" to close then run "kabulet %arg 1% %player% %arg 2%"
                            format slot 23 of arg 1 with red stained Clay named "&cReddet" to close then run "reddet %arg 1% %player% %arg 2%"

command /reddet [<player>] [<player>] [<text>]:
    trigger:
        send "{@p} &c%arg 1% &aAdli Oyuncu Duello Istegini &cReddetti!" to arg 2
        send "{@p} &c%arg 2% &aAdli Oyuncunun Duello Istegini &cReddettin!" to arg 1

command /kabulet [<player>] [<player>] [<text>]:
    trigger:
        send "{@p} &c%arg 1% &aAdli Oyuncu Duello Istegini Kabul Etti!" to arg 2
        send "{@p} &aOyun Basliyor Lutfen Bekleyin!" to arg 2
        send "{@p} &c%arg 2% &aAdli Oyuncunun Duello Istegini Kabul Ettin!" to arg 1
        send "{@p} &aOyun Basliyor Lutfen Bekleyin!" to arg 1
        wait 2 seconds
        set {oyunda.%arg 1%} to true
        set {oyunda.%arg 2%} to true
        teleport arg 1 to {duel.%arg 3%.spawn1}
        teleport arg 1 to {duel.%arg 3%.spawn2}
        equip arg 1 with {duel.%arg 3%.helmet}
        equip arg 1 with {duel.%arg 3%.chestplate}
        equip arg 1 with {duel.%arg 3%.leggings}
        equip arg 1 with {duel.%arg 3%.boots}
        restore inventory of arg 1 from variable {duel.%arg 3%.inventory}
        equip arg 2 with {duel.%arg 3%.hemlet}
        equip arg 2 with {duel.%arg 3%.chestplate}
        equip arg 2 with {duel.%arg 3%.leggings}
        equip arg 2 with {duel.%arg 3%.boots}
        restore inventory of arg 2 from variable {duel.%arg 3%.inventory}
        send "{@p} &aOyun Basladi! Iyi Sanslar." to arg 1
        send "{@p} &aOyun Basladi! Iyi Sanslar." to arg 2

on death:
    set {oyunda.%attacker%} to false
    teleport attacker to {lobby}
    set {oyunda.%victim%} to false
    send "{@p} &c%attacker% &aKazandi!" to attacker
    send "{@p} &c%attacker% &aKazandi!" to victim

on respawn:
    teleport player to {lobby}
    clear player's inventory

Ayrıca Skript çok lag yapar.Plugin kullanırsanız daha sağlıklı olabilir ama siz bilirsiniz .
 
illaha skript mi olmak zorunda ?
Bu konularda çok bilgi değilim ama developerimiz var sunucumuzda plugin paketi yapan o skript istedi yoksa ben pluginde diyebilirdim .
Gönderi otomatik olarak birleştirildi:

1. si Caps Lock Kullanmayın 2. si Normal şartlarda bu konunuzu caps lock + caps lock bağırmak demek bu yüzden cevaplamayacaktım ama son 1 konu kaldı başvuru yapacağım yetkililiğe o yüzden cevaplıyorum buyrun skriptiniz
Kod:
options:
    p: &6&lDUEL

command /arena [<text>] [<text>]:
    trigger:
        if arg 1 isn't set:
            send "{@p} &a/arena setlobby"
            send "{@p} &a/arena create [arena]"
            send "{@p} &a/arena remove [arena]"
            send "{@p} &a/arena setspawn1 [arena]"
            send "{@p} &a/arena setspawn2 [arena]"
            send "{@p} &a/arena SetInv [arena]"
        if arg 1 is "setlobby":
            set {lobby} to location of player
            send "{@p} &aLobby Olusturuldu!"
        if arg 1 is "create":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Arena Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    send "{@p} &cBu Arena Zaten Mevcut"
                else:
                    add arg 2 to {duel.arenas::*}
                    send "{@p} &aArena &c%arg 2% &aEklendi!"
        if arg 1 is "remove":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Arena Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    remove arg 2 from {duel.arenas::*}
                    delete {duel.%arg 2%.spawn1}
                    delete {duel.%arg 2%.spawn2}
                    send "{@p} &aArena &c%arg 2% &aSilindi!"
                else:
                    send "{@p} &cArena Bulunamadi!"
        if arg 1 is "setspawn1":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Arena Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    set {duel.%arg 2%.spawn1} to location of player
                    send "{@p} &c%arg 2% &aArenanin &71. &aSpawn Noktasi Olusturuldu!"
                else:
                    send "{@p} &cArena Bulunamadi!"
        if arg 1 is "setspawn2":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Arena Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    set {duel.%arg 2%.spawn2} to location of player
                    send "{@p} &c%arg 2% &aArenanin &72. &aSpawn Noktasi Olusturuldu!"
                else:
                    send "{@p} &cArena Bulunamadi!"
        if arg 1 is "setInv":
            if arg 2 isn't set:
                send "{@p} &cLutfen Bir Kit Ismi Secin!"
            else:
                {duel.arenas::*} contains arg 2:
                    set {duel.%arg 2%.helmet} to helmet of the player
                    set {duel.%arg 2%.chestplate} to chestplate of the player
                    set {duel.%arg 2%.leggings} to leggings of the player
                    set {duel.%arg 2%.boots} to boots of the player
                    set {duel.%arg 2%.inventory} to player's serialized inventory
                    send "{@p} &aArena Icin Itemler Secildi!"
                else:
                    send "{@p} &cArena Bulunamadi!"
        if arg 1 is "liste":
            open chest with 6 row named "&6&lArenas" to player
            loop {duel.arenas::*}:
                add 1 to {_slot}
                format slot {_slot}-1 of player with diamond chestplate named "%loop-value%" to close

command /duel [<player>] [<text>]:
    trigger:
        if {oyunda.%player%} is true:
            send "{@p} &cZaten Oyundasin!"
        else:
            if {oyunda.%arg 1%} is true:
                send "{@p} &cOyuncu Suan Oyunda!"
            else:
                if arg 1 isn't set:
                    send "{@p} &a/duel [oyuncu] [arena]"
                else:
                    if arg 2 isn't set:
                        send "{@p} &cLutfen Bir Arena Secin!"
                    else:
                        {duel.arenas::*} contains arg 2:
                            open chest with 3 row named "&6BattleKit" to arg 1
                            format slot 4 of arg 1 with diamond chestplate named "&8&m----------&8/ &cISTEK &8\&8&m----------" with lore " &8&m-----&8/ &a&lGonderen: &6&lTest &8\&8&m-----|| &8&m-----&8/ &a&lArena: &6&lArena1 &8\&8&m-----||&8&m----------&8/ &cISTEK &8\&8&m----------" to close
                            format slot 21 of arg 1 with green stained Clay named "&aKabul Et" to close then run "kabulet %arg 1% %player% %arg 2%"
                            format slot 23 of arg 1 with red stained Clay named "&cReddet" to close then run "reddet %arg 1% %player% %arg 2%"

command /reddet [<player>] [<player>] [<text>]:
    trigger:
        send "{@p} &c%arg 1% &aAdli Oyuncu Duello Istegini &cReddetti!" to arg 2
        send "{@p} &c%arg 2% &aAdli Oyuncunun Duello Istegini &cReddettin!" to arg 1

command /kabulet [<player>] [<player>] [<text>]:
    trigger:
        send "{@p} &c%arg 1% &aAdli Oyuncu Duello Istegini Kabul Etti!" to arg 2
        send "{@p} &aOyun Basliyor Lutfen Bekleyin!" to arg 2
        send "{@p} &c%arg 2% &aAdli Oyuncunun Duello Istegini Kabul Ettin!" to arg 1
        send "{@p} &aOyun Basliyor Lutfen Bekleyin!" to arg 1
        wait 2 seconds
        set {oyunda.%arg 1%} to true
        set {oyunda.%arg 2%} to true
        teleport arg 1 to {duel.%arg 3%.spawn1}
        teleport arg 1 to {duel.%arg 3%.spawn2}
        equip arg 1 with {duel.%arg 3%.helmet}
        equip arg 1 with {duel.%arg 3%.chestplate}
        equip arg 1 with {duel.%arg 3%.leggings}
        equip arg 1 with {duel.%arg 3%.boots}
        restore inventory of arg 1 from variable {duel.%arg 3%.inventory}
        equip arg 2 with {duel.%arg 3%.hemlet}
        equip arg 2 with {duel.%arg 3%.chestplate}
        equip arg 2 with {duel.%arg 3%.leggings}
        equip arg 2 with {duel.%arg 3%.boots}
        restore inventory of arg 2 from variable {duel.%arg 3%.inventory}
        send "{@p} &aOyun Basladi! Iyi Sanslar." to arg 1
        send "{@p} &aOyun Basladi! Iyi Sanslar." to arg 2

on death:
    set {oyunda.%attacker%} to false
    teleport attacker to {lobby}
    set {oyunda.%victim%} to false
    send "{@p} &c%attacker% &aKazandi!" to attacker
    send "{@p} &c%attacker% &aKazandi!" to victim

on respawn:
    teleport player to {lobby}
    clear player's inventory

Ayrıca Skript çok lag yapar.Plugin kullanırsanız daha sağlıklı olabilir ama siz bilirsiniz .
Birdaha kine caps lock kullanmayacağım uyarınız ve skript için teşekkür eder konunun kilitlenmesini arz 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