Turnuva Skripti

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

EmirTR*NezleNW

Yay Yok, İskelet Yok
Katılım
12 Temmuz 2016
Mesajlar
307
Elmaslar
68
Puan
0
Yaş
27
Konum
Bursa

Discord:

EmirTR#3189

Beyler Sizden İstediğim Skript Turnuva Skripti Yani Biraz Daha Açayım Şimdi Adamlar Bir Yerde Kapışacaklar 2 Kişi Bunların Yerini Ayarlamak İçin -/TurnuvaYer Oyuncu1 -/TurnuvaYer Oyuncu2 Ve Ölen Oyuncuda Başka Bir Yerde Doğacak Onuda Ayarlamak İçin -/TurnuvaYer Ölen Oyuncu Kazanan İse Başka Bir Yere Oda -/TurnuvaYer Şampiyon Olarak Şampiyon Olana ise 1 Demir Spawner Verecek Demir Spawner Verme Komutu -/itemsp ver Oyuncu demir 1 Yapana Şimdiden Helal Olsun !
 
Kod:
#Turnuva Sistemi
#Author: Kaan Koc

#Oyuncuları ışınlanıcak konumları belirleme

command /konumbelirle [<text>]:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!
    trigger:
        if arg-1 is "oyuncu1":
            set {turnuva.oyuncu1} to player's location
            message "&cOyuncu 1'nin konumu ayarlandi!" to player
        if arg-1 is "oyuncu2":
            set {turnuva.oyuncu2} to player's location
            message "&cOyuncu 2'nin konumu ayarlandi!" to player
        if arg-1 is "butunoyuncular":
            set {turnuva.allplayers} to player's location
            message "&cTüm oyuncular turnuva başlatılınca buraya cekilicek!" to player
        if arg-1 is "ölenoyuncular":
            set {turnuva.ölenler} to player's location
            message "&cÖlen oyuncular buraya gelicek!" to player
        if arg-1 is "kazananoyuncu":
            set {turnuva.kazanan} to player's location
            message "&cKazanan oyuncular buraya gelicek!" to player
          
          
#Turnuva Baslatma

command /turnuvabaslat:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
    trigger:
        set {turnuva} to "acik"
        message "&cTURNUVA BASLIYOR!!" to all players
        message "&4&l10!" to all players
        message "&4&l9!" to all players
        message "&4&l8!" to all players
        message "&4&l7!" to all players
        message "&4&l6!" to all players
        message "&4&l5!" to all players
        message "&4&l4!" to all players
        message "&4&l3!" to all players
        message "&4&l2!" to all players
        message "&4&l1!" to all players
        message "&cOyuncular cekiliyor!!" to all players
        teleport all players to {turnuva.allplayers}
        message "&cOyuncular cekildi!" to all players
        message "&cYetkili turnuvada kapismalari icin adam belirleyecek lütfen bekleyin!" to all players
  
#Turnuva icin adam secme
  
command /turnuvaadamsec [<player>] [<player>]:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
    trigger:
        if arg-1 is not set:
            message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
        if arg-2 is not set:
            message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
        else:
            message "&cTurnuvada kapismalari icin %arg-1% ve %arg-2% secildi yerlerine cekiliyorlar!" to all players
            wait 3 second
            teleport arg-1 to {turnuva.oyuncu1}
            teleport arg-2 to {turnuva.oyuncu2}
            execute console command "/kitload %arg-1%"
            execute console command "/kitload %arg-2%"
            message "&cIyi kapismalar!" to all players
          
      
      
      
#Ölenleri ölünce gidilicek yere gönderir (Turnuva acikken calisir)
#Kazananıda kazananlar yerine göndericek

on death:
    attacker is a player
    victim is a player
    if {turnuva} is "acik":
        teleport victim to {turnuva.ölenler}
        teleport attacker to {turnuva.kazanan}
      
      

#Turnuva icinde kullanılıcak kit

command /kitload [<player>]:
    permission: turnuva.admin
    trigger:
        loop items in arg-1's inventory:
            remove loop-item from arg-1
        wait 0.1 seconds
        equip arg-1 with all iron armor
        set slot 0 of arg-1 to iron sword
        set slot 1 of arg-1 to flint and steel
        set slot 2 of arg-1 to fishing rod
        set slot 3 of arg-1 to bow
        set slot 8 of arg-1 to 15 of arrow

Buyur kardeşim. İyi forumlar...
Gönderi otomatik olarak birleştirildi:

Bu arada konu etiketini "Yardım" olarak yap yoksa konu kapatılabilir.
 
Kod:
#Turnuva Sistemi
#Author: Kaan Koc

#Oyuncuları ışınlanıcak konumları belirleme

command /konumbelirle [<text>]:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!
    trigger:
        if arg-1 is "oyuncu1":
            set {turnuva.oyuncu1} to player's location
            message "&cOyuncu 1'nin konumu ayarlandi!" to player
        if arg-1 is "oyuncu2":
            set {turnuva.oyuncu2} to player's location
            message "&cOyuncu 2'nin konumu ayarlandi!" to player
        if arg-1 is "butunoyuncular":
            set {turnuva.allplayers} to player's location
            message "&cTüm oyuncular turnuva başlatılınca buraya cekilicek!" to player
        if arg-1 is "ölenoyuncular":
            set {turnuva.ölenler} to player's location
            message "&cÖlen oyuncular buraya gelicek!" to player
        if arg-1 is "kazananoyuncu":
            set {turnuva.kazanan} to player's location
            message "&cKazanan oyuncular buraya gelicek!" to player
         
         
#Turnuva Baslatma

command /turnuvabaslat:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
    trigger:
        set {turnuva} to "acik"
        message "&cTURNUVA BASLIYOR!!" to all players
        message "&4&l10!" to all players
        message "&4&l9!" to all players
        message "&4&l8!" to all players
        message "&4&l7!" to all players
        message "&4&l6!" to all players
        message "&4&l5!" to all players
        message "&4&l4!" to all players
        message "&4&l3!" to all players
        message "&4&l2!" to all players
        message "&4&l1!" to all players
        message "&cOyuncular cekiliyor!!" to all players
        teleport all players to {turnuva.allplayers}
        message "&cOyuncular cekildi!" to all players
        message "&cYetkili turnuvada kapismalari icin adam belirleyecek lütfen bekleyin!" to all players
 
#Turnuva icin adam secme
 
command /turnuvaadamsec [<player>] [<player>]:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
    trigger:
        if arg-1 is not set:
            message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
        if arg-2 is not set:
            message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
        else:
            message "&cTurnuvada kapismalari icin %arg-1% ve %arg-2% secildi yerlerine cekiliyorlar!" to all players
            wait 3 second
            teleport arg-1 to {turnuva.oyuncu1}
            teleport arg-2 to {turnuva.oyuncu2}
            execute console command "/kitload %arg-1%"
            execute console command "/kitload %arg-2%"
            message "&cIyi kapismalar!" to all players
         
     
     
     
#Ölenleri ölünce gidilicek yere gönderir (Turnuva acikken calisir)
#Kazananıda kazananlar yerine göndericek

on death:
    attacker is a player
    victim is a player
    if {turnuva} is "acik":
        teleport victim to {turnuva.ölenler}
        teleport attacker to {turnuva.kazanan}
     
     

#Turnuva icinde kullanılıcak kit

command /kitload [<player>]:
    permission: turnuva.admin
    trigger:
        loop items in arg-1's inventory:
            remove loop-item from arg-1
        wait 0.1 seconds
        equip arg-1 with all iron armor
        set slot 0 of arg-1 to iron sword
        set slot 1 of arg-1 to flint and steel
        set slot 2 of arg-1 to fishing rod
        set slot 3 of arg-1 to bow
        set slot 8 of arg-1 to 15 of arrow

Buyur kardeşim. İyi forumlar...
Gönderi otomatik olarak birleştirildi:

Bu arada konu etiketini "Yardım" olarak yap yoksa konu kapatılabilir.
Bu Skriptte Ölünce Direk Spawn'a Atıyor :(
Gönderi otomatik olarak birleştirildi:

Çözülmedi +
 
Son düzenleme:
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