Çözüldü Adafly Skripti

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

Klorofobik

Demir Cevheri Gibiyim
Katılım
11 Mart 2019
Mesajlar
197
Elmaslar
18
Puan
2.360
Yaş
25

Discord:

I-Han ¿#2099

Forumda Gördüğüm Adafly skriptine ufak eklemeler yaptım

AdaFly komutunu yazınca Ekranda yazı cıkıyor
+Yetkin yok yazıyor
+fly acılıyor

Adafly acıkken Tekrar yazınca
+Yetkin yok yazıyor
+fly acıldı yazıyor

Kod:
options:
    komut: adafly
    dunyaismi: ASkyBlock
    dunyaMesaj: &c&lUçmak için adana gitmelisin!
    yetki: ucma.kullan
    yetkiMesaj: &c&lGerekli yetkiye sahip değilsin!
    title-baslik: &3&lSkyBlock
    aktif-mesaj: &7Uçma modu &aaktif!
    de-aktif-mesaj: &7Uçma modu &cde-aktif

command /{@komut}:
    permission: {@yetki}
    permission message: {@yetkiMesaj}
    trigger:
        if player is in "{@dunyaismi}":
            execute console command "fly %player%"
            send player title "{@title-baslik}" with subtitle "{@aktif-mesaj}" for 3 second
            play "ENDERDRAGON_WINGS" to player
        else:
            send "{@dunyaMesaj}"
        if {fly.%player%} is true:
            execute console command "fly %player%"
            send player title "{@title-baslik}" with subtitle "{@de-aktif-mesaj}" for 3 second
            play "ENDERDRAGON_WINGS" to player
        else:
            send "{@dunyaMesaj}"




bunu Düzeltmem için yardımcı olursanız sevnırım
 
Son düzenleme:
JavaScript:
command /adafly:
    trigger:
        if player is in world "ASkyBlock":
            if player's flight mode is false:
                set player's flight mode to true
                send player title "&eSkyblock" with subtitle "&7Uçma modunuz &aaktif"
                play "ENDERDRAGON_WINGS" to player
            else:
                set player's flight mode to false
                send player title "&eSkyblock" with subtitle "&7Uçma modunuz &cdeaktif."
                play "ENDERDRAGON_WINGS" to player
        else:
            send "&3&lSkyblock &8» &7Bu komudu gerçekleştirebilmen için adada olmalısın."
           
on player world change:
    if player's world is not "ASkyblock":
        set player's flight mode to false

Bu kod sorunsuz çalışacaktır. Sizin attığınız skriptte pek hata vardı, kendi yazdığımı attım.
 
Permission Ekledim Bi bakarmısınız
Teknilk bi sorunu varmı


Kod:
options:
    yetki: ucma.kullan
    yetkiMesaj: &c&lGerekli yetkiye sahip değilsin!
command /adafly:
    permission: {@yetki}
    permission message: {@yetkiMesaj}
    trigger:
        if player is in world "ASkyBlock":
            if player's flight mode is false:
                set player's flight mode to true
                send player title "&eSkyblock" with subtitle "&7Uçma modunuz &aaktif"
                play "ENDERDRAGON_WINGS" to player
            else:
                set player's flight mode to false
                send player title "&eSkyblock" with subtitle "&7Uçma modunuz &cdeaktif."
                play "ENDERDRAGON_WINGS" to player
        else:
            send "&3&lSkyblock &8» &7Bu komudu gerçekleştirebilmen için adada olmalısın."
          
on player world change:
    if player's world is not "ASkyblock":
        set player's flight mode to false
 
Permission Ekledim Bi bakarmısınız
Teknilk bi sorunu varmı


Kod:
options:
    yetki: ucma.kullan
    yetkiMesaj: &c&lGerekli yetkiye sahip değilsin!
command /adafly:
    permission: {@yetki}
    permission message: {@yetkiMesaj}
    trigger:
        if player is in world "ASkyBlock":
            if player's flight mode is false:
                set player's flight mode to true
                send player title "&eSkyblock" with subtitle "&7Uçma modunuz &aaktif"
                play "ENDERDRAGON_WINGS" to player
            else:
                set player's flight mode to false
                send player title "&eSkyblock" with subtitle "&7Uçma modunuz &cdeaktif."
                play "ENDERDRAGON_WINGS" to player
        else:
            send "&3&lSkyblock &8» &7Bu komudu gerçekleştirebilmen için adada olmalısın."
         
on player world change:
    if player's world is not "ASkyblock":
        set player's flight mode to false
Herhangi bir sorun göremedim, eğer hata alırsanız belirtin bakarız.
 
Teşekkür ediyorum yardımınız için iyi günler
 
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