Skript Paylaşımı ❧ Yetenek (Skill) Skripti ❧ Efektler ve GUI

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

Mustqfq

Somon Balığı Selam Vermeye Geldi
Katılım
23 Şubat 2020
Mesajlar
16
Elmaslar
5
Puan
1.960
Minecraft
Mustqfq

Discord:

Mustqfq#9990

Merhabalar,
Skript yazmayalı uzun zaman oluyor, neredeyse 1 yıl.
Şimdide 1 yılın ardından yazmış olduğum skripti tanıtacağım.

Yetenek Skripti
Efektleri yeteneğe dönüştüren bu skript, sunucuya
hava katıyor. Yenilikçi sunucular kullanabilir ama
bir şeye değinmek istiyorum arenada yetenekleri
kapatmak için şu kodu skripte ekleyiniz.

Kod:
on entering region " #ARENE REGION ADI ":
    set {scooldown::%player%} to true
on leaving region " #ARENA REGION ADI ":
    set {scooldown::%player%} to false

Komutlar
/yetenek ❧ GUI'yi açar.
/sıfırla ❧ Yeteneklerinizi sıfırlar. (OP)

Ek Bilgi
Fiyatları skriptden ayarlamayı unutmayın ben herşeyi
0TL yaptım ve isterseniz efektleri değiştirebilirsiniz.

GUI
1.png


Yetenek Taşı (Sağ Tıklayınca Yeteneği Kullanır.)
2.png


Yetenekler (10 Adet)
3.png

4.png

5.png

6.png

7.png

8.png

9-png.107722

10.png

11.png

Screenshot_3.png

Kullanma Efektleri
anında sağlık.png

dayanıklılık.png

gece g.png

suda nefes.png

ateş d.png

yenilenme.png

hız.png

güç.png

zıplama.png

görünmezlik.png

SKRIPT
Kod:
options:
    p: &6&lYETENEK &8»&a
    yetenek1fiyat: 0            # Anında Sağlık
    yetenek2fiyat: 0            # Dayanıklılık
    yetenek3fiyat: 0            # Gece Görüşü
    yetenek4fiyat: 0            # Suda Nefes Alma
    yetenek5fiyat: 0            # Ateş Direnci
    yetenek6fiyat: 0            # Yenilenme
    yetenek7fiyat: 0            # Süper Hız
    yetenek8fiyat: 0            # Süper Güç
    yetenek9fiyat: 0            # Süper Zıplama
    yetenek10fiyat: 0           # Görünmezlik


variables:
    {cooldown::%player%} = false
    {scooldown::%player%} = false
    {aktifskill::%player%} = "none"
    {skill1::%player%} = "&cKilitli"
    {skill2::%player%} = "&cKilitli"
    {skill3::%player%} = "&cKilitli"
    {skill4::%player%} = "&cKilitli"
    {skill5::%player%} = "&cKilitli"
    {skill6::%player%} = "&cKilitli"
    {skill7::%player%} = "&cKilitli"
    {skill8::%player%} = "&cKilitli"
    {skill9::%player%} = "&cKilitli"
    {skill10::%player%} = "&cKilitli"
    

on pickup of potion:
    if player is op:
        stop
    else:
        cancel event
    
on drink:
    if player is op:
        stop
    else:
        cancel event

on right click with potion:
    if player is op:
        stop
    else:
        cancel event
    
    
on load:
    wait 5 ticks
    send "&6&lYETENEK &8» &aBu skript &a&nMustqfq&r &atarafından yapılmıştır." to ops
    
    
command /yetenek:
    aliases: skill # then run [execute player command "say sa"]
    trigger:
        open chest with 3 row named "{@p} &cAna Menü" to player
        format slot 0 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 1 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 2 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 3 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 5 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 6 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 7 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 8 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 18 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 19 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 20 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 21 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 23 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 24 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 25 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 26 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 4 of player with ghast_tear named "             &8&k|*|&r &aYetenek Taşı &8&k|*|&r" with lore "&a||               &cAlmak için tıkla!||&7(Yetenek kullanmak için gereklidir.)" to close then run [execute player command "yetenektaşı"]
        if {skill1::%player%} is "&cKilitli":
            format slot 9 of player with potion:8261 named "&8» &cAnında Sağlık" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek1fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill1"]
        else:
            if {aktifskill::%player%} is "skill1":
                format slot 9 of player with potion:8261 named "&8» &cAnında Sağlık" with lore "&a||&8» &dSüre: &f1sn||&8» &dFiyat: &f{@yetenek1fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 9 of player with potion:8261 named "&8» &cAnında Sağlık" with lore "&a||&8» &dSüre: &f1sn||&8» &dFiyat: &f{@yetenek1fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill1"]
                
        if {skill2::%player%} is "&cKilitli":
            format slot 10 of player with potion named "&8» &cDayanıklılık" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek2fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill2"]
        else:
            if {aktifskill::%player%} is "skill2":
                format slot 10 of player with potion named "&8» &cDayanıklılık" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek2fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 10 of player with potion named "&8» &cDayanıklılık" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek2fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill2"]
        
        if {skill3::%player%} is "&cKilitli":
            format slot 11 of player with potion:8230 named "&8» &cGece Görüşü" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek3fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill3"]
        else:
            if {aktifskill::%player%} is "skill3":
                format slot 11 of player with potion:8230 named "&8» &cGece Görüşü" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek3fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 11 of player with potion:8230 named "&8» &cGece Görüşü" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek3fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill3"]
        
        if {skill4::%player%} is "&cKilitli":
            format slot 12 of player with potion:8237 named "&8» &cSuda Nefes Alma" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek4fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill4"]
        else:
            if {aktifskill::%player%} is "skill4":
                format slot 12 of player with potion:8237 named "&8» &cSuda Nefes Alma" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek4fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 12 of player with potion:8237 named "&8» &cSuda Nefes Alma" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek4fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill4"]
        
        if {skill5::%player%} is "&cKilitli":
            format slot 13 of player with potion:8227 named "&8» &cAteş Direnci" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek5fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill5"]
        else:
            if {aktifskill::%player%} is "skill5":
                format slot 13 of player with potion:8227 named "&8» &cAteş Direnci" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek5fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 13 of player with potion:8227 named "&8» &cAteş Direnci" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek5fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill5"]
        
        if {skill6::%player%} is "&cKilitli":
            format slot 14 of player with potion:8193 named "&8» &cYenilenme" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek6fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill6"]
        else:
            if {aktifskill::%player%} is "skill6":
                format slot 14 of player with potion:8193 named "&8» &cYenilenme" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek6fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 14 of player with potion:8193 named "&8» &cYenilenme" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek6fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill6"]
        
        if {skill7::%player%} is "&cKilitli":
            format slot 15 of player with potion:8194 named "&8» &cSüper Hız" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek7fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill7"]
        else:
            if {aktifskill::%player%} is "skill7":
                format slot 15 of player with potion:8194 named "&8» &cSüper Hız" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek7fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 15 of player with potion:8194 named "&8» &cSüper Hız" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek7fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill7"]
        
        if {skill8::%player%} is "&cKilitli":
            format slot 16 of player with potion:8201 named "&8» &cSüper Güç" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek8fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill8"]
        else:
            if {aktifskill::%player%} is "skill8":
                format slot 16 of player with potion:8201 named "&8» &cSüper Güç" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek8fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 16 of player with potion:8201 named "&8» &cSüper Güç" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek8fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill8"]
                
        if {skill9::%player%} is "&cKilitli":
            format slot 17 of player with potion:8203 named "&8» &cSüper Zıplama" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek9fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill9"]
        else:
            if {aktifskill::%player%} is "skill9":
                format slot 17 of player with potion:8203 named "&8» &cSüper Zıplama" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek9fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 17 of player with potion:8203 named "&8» &cSüper Zıplama" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek9fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill9"]
        
        if {skill10::%player%} is "&cKilitli":
            format slot 22 of player with potion:8238 named "&8» &cGörünmezlik" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek10fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill10"]
        else:
            if {aktifskill::%player%} is "skill10":
                format slot 22 of player with potion:8238 named "&8» &cGörünmezlik" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek10fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 22 of player with potion:8238 named "&8» &cGörünmezlik" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek10fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill10"]
        

command /yetenekseç [<text>]:
    aliases: skillseç
    trigger:
        if arg 1 is not set:
            stop
        else:
            if arg 1 is "skill1":
                if {skill1::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill1":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill1"
                        send "{@p} &2Anında Sağlık &ayeteneği aktif edildi." to player
                    
            if arg 1 is "skill2":
                if {skill2::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill2":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill2"
                        send "{@p} &2Dayanıklılık &ayeteneği aktif edildi." to player
                    
            if arg 1 is "skill3":
                if {skill3::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill3":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill3"
                        send "{@p} &2Gece Görüşü &ayeteneği aktif edildi." to player
                    
            if arg 1 is "skill4":
                if {skill4::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill4":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill4"
                        send "{@p} &2Suda Nefes Alma &ayeteneği aktif edildi." to player
                    
            if arg 1 is "skill5":
                if {skill5::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill5":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill5"
                        send "{@p} &2Ateş Direnci &ayeteneği aktif edildi." to player
                    
            if arg 1 is "skill6":
                if {skill6::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill6":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill6"
                        send "{@p} &2Yenilenme &ayeteneği aktif edildi." to player
                    
            if arg 1 is "skill7":
                if {skill7::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill7":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill7"
                        send "{@p} &2Süper Hız &ayeteneği aktif edildi." to player
            
            if arg 1 is "skill8":
                if {skill8::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill8":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill8"
                        send "{@p} &2Süper Güç &ayeteneği aktif edildi." to player
                    
            if arg 1 is "skill9":
                if {skill9::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill9":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill9"
                        send "{@p} &2Süper Zıplama &ayeteneği aktif edildi." to player
                    
            if arg 1 is "skill10":
                if {skill10::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill10":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill10"
                        send "{@p} &2Görünmezlik &ayeteneği aktif edildi." to player
                    
                    
command /yetenekaç [<text>]:
    aliases: skillaç
    trigger:
        if arg 1 is not set:
            stop
        else:
            if arg 1 is "skill1":
                if {skill1::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek1fiyat}:
                        remove {@yetenek1fiyat} from player's balance
                        set {skill1::%player%} to "&aAçık"
                        send "{@p} &2Anında Sağlık &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek1fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill2":
                if {skill2::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek2fiyat}:
                        remove {@yetenek2fiyat} from player's balance
                        set {skill2::%player%} to "&aAçık"
                        send "{@p} &2Dayanıklılık &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek2fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill3":
                if {skill3::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek3fiyat}:
                        remove {@yetenek3fiyat} from player's balance
                        set {skill3::%player%} to "&aAçık"
                        send "{@p} &2Gece Görüşü &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek3fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill4":
                if {skill4::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek4fiyat}:
                        remove {@yetenek4fiyat} from player's balance
                        set {skill4::%player%} to "&aAçık"
                        send "{@p} &2Suda Nefes Alma &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek4fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill5":
                if {skill5::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek5fiyat}:
                        remove {@yetenek5fiyat} from player's balance
                        set {skill5::%player%} to "&aAçık"
                        send "{@p} &2Ateş Direnci &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek5fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill6":
                if {skill6::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek6fiyat}:
                        remove {@yetenek6fiyat} from player's balance
                        set {skill6::%player%} to "&aAçık"
                        send "{@p} &2Yenilenme &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek6fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill7":
                if {skill7::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek7fiyat}:
                        remove {@yetenek7fiyat} from player's balance
                        set {skill7::%player%} to "&aAçık"
                        send "{@p} &2Süper Hız &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek7fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill8":
                if {skill8::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek8fiyat}:
                        remove {@yetenek8fiyat} from player's balance
                        set {skill8::%player%} to "&aAçık"
                        send "{@p} &2Süper Güç &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek8fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill9":
                if {skill9::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek9fiyat}:
                        remove {@yetenek9fiyat} from player's balance
                        set {skill9::%player%} to "&aAçık"
                        send "{@p} &2Süper Zıplama &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek9fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    
            if arg 1 is "skill10":
                if {skill10::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek10fiyat}:
                        remove {@yetenek10fiyat} from player's balance
                        set {skill10::%player%} to "&aAçık"
                        send "{@p} &2Görünmezlik &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek10fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                    

command /yetenektaşı:
    trigger:
        if {cooldown::%player%} is false:
            give ghast_tear named "&8&k|*|&r &aYetenek Taşı &8&k|*|&r" to player
            send "{@p} &aYetenek taşını aldın, seçili yeteneği kullanmak için sağ tıkla." to player
            set {cooldown::%player%} to true
            wait 5 minutes
            set {cooldown::%player%} to false
        else:
            send "{@p} &aDaha önce yetenek taşını almışsın, yenisi için biraz beklemelisin." to player


command /sıfırla:
    permission: op
    trigger:
        send "{@p} Bütün yeteneklerin sıfırlandı!" to player
        set {skill1::%player%} to "&cKilitli"
        set {skill2::%player%} to "&cKilitli"
        set {skill3::%player%} to "&cKilitli"
        set {skill4::%player%} to "&cKilitli"
        set {skill5::%player%} to "&cKilitli"
        set {skill6::%player%} to "&cKilitli"
        set {skill7::%player%} to "&cKilitli"
        set {skill8::%player%} to "&cKilitli"
        set {skill9::%player%} to "&cKilitli"
        set {skill10::%player%} to "&cKilitli"
        set {aktifskill::%player%} to "none"
                    
                    
on right click with ghast_tear:
    if item's name is "&8&k|*|&r &aYetenek Taşı &8&k|*|&r":
        if {aktifskill::%player%} is "none":
            send "{@p} Yetenek menüsünden kullanmak için bir yetenek seç." to player
            stop
        if {aktifskill::%player%} is "skill10":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle cloud %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "particle smoke %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "effect %player% invisibility 30 1 true"
                execute console command "effect %player% speed 30 1 true"
                execute console command "tm message %player% &6\n&8» &eGörünmezlik kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill9":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle magicCrit %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "particle crit %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "effect %player% jump_boost 30 5 true"
                execute console command "tm message %player% &6\n&8» &eSüper Zıplama kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill8":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle reddust %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "particle spell %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% strength 30 1 true"
                execute console command "tm message %player% &6\n&8» &eSüper Güç kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill7":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle slime %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "particle spell %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% speed 30 5 true"
                execute console command "tm message %player% &6\n&8» &eSüper Hız kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill6":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle heart %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 50"
                execute console command "particle spell %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% regeneration 30 2 true"
                execute console command "tm message %player% &6\n&8» &eYenilenme kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill5":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle smoke %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "particle lava %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% fire_resistance 30 1 true"
                execute console command "tm message %player% &6\n&8» &eAteş Direnci kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill4":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle dripWater %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "particle cloud %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% water_breathing 30 1 true"
                execute console command "tm message %player% &6\n&8» &eSuda Nefes Alma kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill3":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle witchMagic %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "particle smoke %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 500"
                execute console command "effect %player% night_vision 30 1 true"
                execute console command "tm message %player% &6\n&8» &eGece Görüşü kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill2":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle portal %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 200"
                execute console command "particle enchantmenttable %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "effect %player% resistance 30 5 true"
                execute console command "tm message %player% &6\n&8» &eDayanıklılık kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill1":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle townaura %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 500"
                execute console command "particle mobSpell %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 400"
                execute console command "effect %player% instant_health 5 1 true"
                execute console command "tm message %player% &6\n&8» &eAnında Sağlık kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
 

Ekli dosyalar

  • 9.png
    9.png
    10,7 KB · Görüntüleme: 598
  • 9.png
    9.png
    10,7 KB · Görüntüleme: 100

Özellikle Faction ve hayatta kalma sunucuları için oldukça yararlı bir kod paylaşımı olmuş ki şahsen çok beğendim. Eline emeğine sağlık ;)
 
Bir mesaja sadece 'Başarılı', deyip geçemezsiniz bana 'mesaj kasma', diyene bak sen
Sen benim mesajlarımı mı inceliyorsun ya :D
Ayrıca ben skriptin nasıl olduğunu belirttim, sizin mesajınıza bakarsak ?"/mute yerine /sustur kullanabilirsiniz"? cidden kimin mesaj kastığı belli, ayrıca mesaj kasma gibi bir isteğim olsa emin olun şimdiye 159 mesajım olmazdı.
 
Ellerine sağlık çok güzel bir script. Böyle cafcaflı güzel script arayan arkadaşlar için çok yararlı.
 
Kullanılabilir Bir Sistem Olmuş Sunuculara Renk Katacaktır Ellerinize Sağlık.
Gönderi otomatik olarak birleştirildi:

Çok Hoş Bir Plugin Olmuş Faction Kurarsam Bunu Kullanacağım.
 
Son düzenleme:
Böyle Devam Bro:D
 
Merhabalar,
Skript yazmayalı uzun zaman oluyor, neredeyse 1 yıl.
Şimdide 1 yılın ardından yazmış olduğum skripti tanıtacağım.

Yetenek Skripti
Efektleri yeteneğe dönüştüren bu skript, sunucuya
hava katıyor. Yenilikçi sunucular kullanabilir ama
bir şeye değinmek istiyorum arenada yetenekleri
kapatmak için şu kodu skripte ekleyiniz.

Kod:
on entering region " #ARENE REGION ADI ":
    set {scooldown::%player%} to true
on leaving region " #ARENA REGION ADI ":
    set {scooldown::%player%} to false

Komutlar
/yetenek ❧ GUI'yi açar.
/sıfırla ❧ Yeteneklerinizi sıfırlar. (OP)

Ek Bilgi
Fiyatları skriptden ayarlamayı unutmayın ben herşeyi
0TL yaptım ve isterseniz efektleri değiştirebilirsiniz.

GUI
Ekli dosyayı görüntüle 107702

Yetenek Taşı (Sağ Tıklayınca Yeteneği Kullanır.)
Ekli dosyayı görüntüle 107704

Yetenekler (10 Adet)

Kullanma Efektleri

SKRIPT
Kod:
options:
    p: &6&lYETENEK &8»&a
    yetenek1fiyat: 0            # Anında Sağlık
    yetenek2fiyat: 0            # Dayanıklılık
    yetenek3fiyat: 0            # Gece Görüşü
    yetenek4fiyat: 0            # Suda Nefes Alma
    yetenek5fiyat: 0            # Ateş Direnci
    yetenek6fiyat: 0            # Yenilenme
    yetenek7fiyat: 0            # Süper Hız
    yetenek8fiyat: 0            # Süper Güç
    yetenek9fiyat: 0            # Süper Zıplama
    yetenek10fiyat: 0           # Görünmezlik


variables:
    {cooldown::%player%} = false
    {scooldown::%player%} = false
    {aktifskill::%player%} = "none"
    {skill1::%player%} = "&cKilitli"
    {skill2::%player%} = "&cKilitli"
    {skill3::%player%} = "&cKilitli"
    {skill4::%player%} = "&cKilitli"
    {skill5::%player%} = "&cKilitli"
    {skill6::%player%} = "&cKilitli"
    {skill7::%player%} = "&cKilitli"
    {skill8::%player%} = "&cKilitli"
    {skill9::%player%} = "&cKilitli"
    {skill10::%player%} = "&cKilitli"
   

on pickup of potion:
    if player is op:
        stop
    else:
        cancel event
   
on drink:
    if player is op:
        stop
    else:
        cancel event

on right click with potion:
    if player is op:
        stop
    else:
        cancel event
   
   
on load:
    wait 5 ticks
    send "&6&lYETENEK &8» &aBu skript &a&nMustqfq&r &atarafından yapılmıştır." to ops
   
   
command /yetenek:
    aliases: skill # then run [execute player command "say sa"]
    trigger:
        open chest with 3 row named "{@p} &cAna Menü" to player
        format slot 0 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 1 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 2 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 3 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 5 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 6 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 7 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 8 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 18 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 19 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 20 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 21 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 23 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 24 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 25 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 26 of player with stained_glass_pane:15 named "&a" with lore "" to close
        format slot 4 of player with ghast_tear named "             &8&k|*|&r &aYetenek Taşı &8&k|*|&r" with lore "&a||               &cAlmak için tıkla!||&7(Yetenek kullanmak için gereklidir.)" to close then run [execute player command "yetenektaşı"]
        if {skill1::%player%} is "&cKilitli":
            format slot 9 of player with potion:8261 named "&8» &cAnında Sağlık" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek1fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill1"]
        else:
            if {aktifskill::%player%} is "skill1":
                format slot 9 of player with potion:8261 named "&8» &cAnında Sağlık" with lore "&a||&8» &dSüre: &f1sn||&8» &dFiyat: &f{@yetenek1fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 9 of player with potion:8261 named "&8» &cAnında Sağlık" with lore "&a||&8» &dSüre: &f1sn||&8» &dFiyat: &f{@yetenek1fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill1"]
               
        if {skill2::%player%} is "&cKilitli":
            format slot 10 of player with potion named "&8» &cDayanıklılık" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek2fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill2"]
        else:
            if {aktifskill::%player%} is "skill2":
                format slot 10 of player with potion named "&8» &cDayanıklılık" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek2fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 10 of player with potion named "&8» &cDayanıklılık" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek2fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill2"]
       
        if {skill3::%player%} is "&cKilitli":
            format slot 11 of player with potion:8230 named "&8» &cGece Görüşü" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek3fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill3"]
        else:
            if {aktifskill::%player%} is "skill3":
                format slot 11 of player with potion:8230 named "&8» &cGece Görüşü" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek3fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 11 of player with potion:8230 named "&8» &cGece Görüşü" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek3fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill3"]
       
        if {skill4::%player%} is "&cKilitli":
            format slot 12 of player with potion:8237 named "&8» &cSuda Nefes Alma" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek4fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill4"]
        else:
            if {aktifskill::%player%} is "skill4":
                format slot 12 of player with potion:8237 named "&8» &cSuda Nefes Alma" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek4fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 12 of player with potion:8237 named "&8» &cSuda Nefes Alma" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek4fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill4"]
       
        if {skill5::%player%} is "&cKilitli":
            format slot 13 of player with potion:8227 named "&8» &cAteş Direnci" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek5fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill5"]
        else:
            if {aktifskill::%player%} is "skill5":
                format slot 13 of player with potion:8227 named "&8» &cAteş Direnci" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek5fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 13 of player with potion:8227 named "&8» &cAteş Direnci" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek5fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill5"]
       
        if {skill6::%player%} is "&cKilitli":
            format slot 14 of player with potion:8193 named "&8» &cYenilenme" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek6fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill6"]
        else:
            if {aktifskill::%player%} is "skill6":
                format slot 14 of player with potion:8193 named "&8» &cYenilenme" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek6fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 14 of player with potion:8193 named "&8» &cYenilenme" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek6fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill6"]
       
        if {skill7::%player%} is "&cKilitli":
            format slot 15 of player with potion:8194 named "&8» &cSüper Hız" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek7fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill7"]
        else:
            if {aktifskill::%player%} is "skill7":
                format slot 15 of player with potion:8194 named "&8» &cSüper Hız" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek7fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 15 of player with potion:8194 named "&8» &cSüper Hız" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek7fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill7"]
       
        if {skill8::%player%} is "&cKilitli":
            format slot 16 of player with potion:8201 named "&8» &cSüper Güç" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek8fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill8"]
        else:
            if {aktifskill::%player%} is "skill8":
                format slot 16 of player with potion:8201 named "&8» &cSüper Güç" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek8fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 16 of player with potion:8201 named "&8» &cSüper Güç" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek8fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill8"]
               
        if {skill9::%player%} is "&cKilitli":
            format slot 17 of player with potion:8203 named "&8» &cSüper Zıplama" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek9fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill9"]
        else:
            if {aktifskill::%player%} is "skill9":
                format slot 17 of player with potion:8203 named "&8» &cSüper Zıplama" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek9fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 17 of player with potion:8203 named "&8» &cSüper Zıplama" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek9fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill9"]
       
        if {skill10::%player%} is "&cKilitli":
            format slot 22 of player with potion:8238 named "&8» &cGörünmezlik" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek10fiyat}TL||&a||&8» &dDurum: &cKilitli||&a||&8» &aAçmak için tıkla!" to close then run [execute player command "skillaç skill10"]
        else:
            if {aktifskill::%player%} is "skill10":
                format slot 22 of player with potion:8238 named "&8» &cGörünmezlik" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek10fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &a&l&oKULLANILIYOR" to close
            else:
                format slot 22 of player with potion:8238 named "&8» &cGörünmezlik" with lore "&a||&8» &dSüre: &f30sn||&8» &dFiyat: &f{@yetenek10fiyat}TL||&a||&8» &dDurum: &aAçık||&a||&8» &aKullanmak için tıkla!" to close then run [execute player command "skillseç skill10"]
       

command /yetenekseç [<text>]:
    aliases: skillseç
    trigger:
        if arg 1 is not set:
            stop
        else:
            if arg 1 is "skill1":
                if {skill1::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill1":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill1"
                        send "{@p} &2Anında Sağlık &ayeteneği aktif edildi." to player
                   
            if arg 1 is "skill2":
                if {skill2::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill2":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill2"
                        send "{@p} &2Dayanıklılık &ayeteneği aktif edildi." to player
                   
            if arg 1 is "skill3":
                if {skill3::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill3":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill3"
                        send "{@p} &2Gece Görüşü &ayeteneği aktif edildi." to player
                   
            if arg 1 is "skill4":
                if {skill4::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill4":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill4"
                        send "{@p} &2Suda Nefes Alma &ayeteneği aktif edildi." to player
                   
            if arg 1 is "skill5":
                if {skill5::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill5":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill5"
                        send "{@p} &2Ateş Direnci &ayeteneği aktif edildi." to player
                   
            if arg 1 is "skill6":
                if {skill6::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill6":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill6"
                        send "{@p} &2Yenilenme &ayeteneği aktif edildi." to player
                   
            if arg 1 is "skill7":
                if {skill7::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill7":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill7"
                        send "{@p} &2Süper Hız &ayeteneği aktif edildi." to player
           
            if arg 1 is "skill8":
                if {skill8::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill8":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill8"
                        send "{@p} &2Süper Güç &ayeteneği aktif edildi." to player
                   
            if arg 1 is "skill9":
                if {skill9::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill9":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill9"
                        send "{@p} &2Süper Zıplama &ayeteneği aktif edildi." to player
                   
            if arg 1 is "skill10":
                if {skill10::%player%} is "&cKilitli":
                    send "{@p} &cBu yeteneği kullanmak için önce kilidini açmalısın." to player
                else:
                    if {aktifskill::%player%} is "skill10":
                        send "{@p} Zaten bu yetenek aktif." to player
                    else:
                        set {aktifskill::%player%} to "skill10"
                        send "{@p} &2Görünmezlik &ayeteneği aktif edildi." to player
                   
                   
command /yetenekaç [<text>]:
    aliases: skillaç
    trigger:
        if arg 1 is not set:
            stop
        else:
            if arg 1 is "skill1":
                if {skill1::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek1fiyat}:
                        remove {@yetenek1fiyat} from player's balance
                        set {skill1::%player%} to "&aAçık"
                        send "{@p} &2Anında Sağlık &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek1fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill2":
                if {skill2::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek2fiyat}:
                        remove {@yetenek2fiyat} from player's balance
                        set {skill2::%player%} to "&aAçık"
                        send "{@p} &2Dayanıklılık &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek2fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill3":
                if {skill3::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek3fiyat}:
                        remove {@yetenek3fiyat} from player's balance
                        set {skill3::%player%} to "&aAçık"
                        send "{@p} &2Gece Görüşü &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek3fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill4":
                if {skill4::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek4fiyat}:
                        remove {@yetenek4fiyat} from player's balance
                        set {skill4::%player%} to "&aAçık"
                        send "{@p} &2Suda Nefes Alma &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek4fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill5":
                if {skill5::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek5fiyat}:
                        remove {@yetenek5fiyat} from player's balance
                        set {skill5::%player%} to "&aAçık"
                        send "{@p} &2Ateş Direnci &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek5fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill6":
                if {skill6::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek6fiyat}:
                        remove {@yetenek6fiyat} from player's balance
                        set {skill6::%player%} to "&aAçık"
                        send "{@p} &2Yenilenme &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek6fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill7":
                if {skill7::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek7fiyat}:
                        remove {@yetenek7fiyat} from player's balance
                        set {skill7::%player%} to "&aAçık"
                        send "{@p} &2Süper Hız &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek7fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill8":
                if {skill8::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek8fiyat}:
                        remove {@yetenek8fiyat} from player's balance
                        set {skill8::%player%} to "&aAçık"
                        send "{@p} &2Süper Güç &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek8fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill9":
                if {skill9::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek9fiyat}:
                        remove {@yetenek9fiyat} from player's balance
                        set {skill9::%player%} to "&aAçık"
                        send "{@p} &2Süper Zıplama &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek9fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   
            if arg 1 is "skill10":
                if {skill10::%player%} is "&cKilitli":
                    if player's balance is greater than or equal to {@yetenek10fiyat}:
                        remove {@yetenek10fiyat} from player's balance
                        set {skill10::%player%} to "&aAçık"
                        send "{@p} &2Görünmezlik &ayeteneği açıldı!" to player
                    else:
                        send "{@p} &cYeteneği açabilmen için {@yetenek10fiyat}TL gerekiyor." to player
                else:
                    send "{@p} &aBu yeteneği zaten açmışsın." to player
                   

command /yetenektaşı:
    trigger:
        if {cooldown::%player%} is false:
            give ghast_tear named "&8&k|*|&r &aYetenek Taşı &8&k|*|&r" to player
            send "{@p} &aYetenek taşını aldın, seçili yeteneği kullanmak için sağ tıkla." to player
            set {cooldown::%player%} to true
            wait 5 minutes
            set {cooldown::%player%} to false
        else:
            send "{@p} &aDaha önce yetenek taşını almışsın, yenisi için biraz beklemelisin." to player


command /sıfırla:
    permission: op
    trigger:
        send "{@p} Bütün yeteneklerin sıfırlandı!" to player
        set {skill1::%player%} to "&cKilitli"
        set {skill2::%player%} to "&cKilitli"
        set {skill3::%player%} to "&cKilitli"
        set {skill4::%player%} to "&cKilitli"
        set {skill5::%player%} to "&cKilitli"
        set {skill6::%player%} to "&cKilitli"
        set {skill7::%player%} to "&cKilitli"
        set {skill8::%player%} to "&cKilitli"
        set {skill9::%player%} to "&cKilitli"
        set {skill10::%player%} to "&cKilitli"
        set {aktifskill::%player%} to "none"
                   
                   
on right click with ghast_tear:
    if item's name is "&8&k|*|&r &aYetenek Taşı &8&k|*|&r":
        if {aktifskill::%player%} is "none":
            send "{@p} Yetenek menüsünden kullanmak için bir yetenek seç." to player
            stop
        if {aktifskill::%player%} is "skill10":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle cloud %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "particle smoke %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "effect %player% invisibility 30 1 true"
                execute console command "effect %player% speed 30 1 true"
                execute console command "tm message %player% &6\n&8» &eGörünmezlik kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill9":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle magicCrit %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "particle crit %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "effect %player% jump_boost 30 5 true"
                execute console command "tm message %player% &6\n&8» &eSüper Zıplama kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill8":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle reddust %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "particle spell %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% strength 30 1 true"
                execute console command "tm message %player% &6\n&8» &eSüper Güç kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill7":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle slime %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "particle spell %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% speed 30 5 true"
                execute console command "tm message %player% &6\n&8» &eSüper Hız kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill6":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle heart %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 50"
                execute console command "particle spell %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% regeneration 30 2 true"
                execute console command "tm message %player% &6\n&8» &eYenilenme kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill5":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle smoke %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "particle lava %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% fire_resistance 30 1 true"
                execute console command "tm message %player% &6\n&8» &eAteş Direnci kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill4":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle dripWater %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "particle cloud %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "effect %player% water_breathing 30 1 true"
                execute console command "tm message %player% &6\n&8» &eSuda Nefes Alma kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill3":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle witchMagic %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 100"
                execute console command "particle smoke %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 500"
                execute console command "effect %player% night_vision 30 1 true"
                execute console command "tm message %player% &6\n&8» &eGece Görüşü kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill2":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle portal %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 200"
                execute console command "particle enchantmenttable %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 700"
                execute console command "effect %player% resistance 30 5 true"
                execute console command "tm message %player% &6\n&8» &eDayanıklılık kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
        if {aktifskill::%player%} is "skill1":
            if {scooldown::%player%} is false:
                set {_x} to "%x-coordinate of player%"
                set {_y} to "%y-coordinate of player%"
                set {_z} to "%z-coordinate of player%"
                wait 2 ticks
                execute console command "particle townaura %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 500"
                execute console command "particle mobSpell %{_x}% %{_y}% %{_z}% 0.5 1 0.5 0.05 400"
                execute console command "effect %player% instant_health 5 1 true"
                execute console command "tm message %player% &6\n&8» &eAnında Sağlık kullanıldı."
                set {scooldown::%player%} to true
                wait 30 seconds
                set {scooldown::%player%} to false
            else:
                send "{@p} Yetenekleri yeniden kullanmak için 30sn beklemelisin." to player
Teşekkürler tam da istediğim
 
Eline sağlık, başarıların devamını dilerim <3
 
Başarılı bie skript ellerinize sağlık. Başarılar!
 
Kod yapısı olarak hiç beğenmedim ama hem emek verilmiş, hem de güzel filir; eline sağlık.
 
Kod 3600 satır kısalabilir fakat fikir güzel geliştirmeniz dileğiyle
 
skript hata veriyor hocam
 
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