Bulundu Tılsım Skripti

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

Öz0912

Odunlara Vur Vur Vur!
Katılım
22 Ocak 2015
Mesajlar
45
Elmaslar
2
Puan
13.210
Yaş
27
Merhaba değerli skripter arkadaşlarım,
Yapmanızı istediğim skript şu şekilde,
tlsm.png

Yukarıdaki gibi belirlenen bir item, 8. veya 9. kutucuğa (sadece 8 veya 9) yerleştirildiğinde mesaj olarak "Tılsım Aktif" haberi gelecek chate.
ve verdiği etki hakkında bilgi verecek, Aynı zamanda da enchantı aktif olacak.

Yapabilirseniz çok memnun olurum Teşekkürler
şimdi söz sizde yetenekleri görelim
 
İnternetten Araştırıp Bullabillirsin.
 
Kod:
# --> TILSIMLAR RPG SISTEMI <-- #

# Skripti kullanıyorsanız lütfen optionsdaki ayarlar hariç hiç bir kodla oynamayınız.

options:
    p: &c&lTILSIM v1.0.sk &a&l>&r

on join:
    if {tilsimk::%player%} is not set:
        set {tilsimk::%player%} to 0
    if {toprakt2::%player%} is not set:
        set {toprakt2::%player%} to 0
      
command /admintilsim [<text>] [<text>]:
    permission: tilsim.op
    trigger:
        if arg 1 is "ver":
            if arg 2 is not set:
                send "{@p} &b/admintilsim ver ''toprak,buz,ates''" to player
        if arg 1 is "ver":
            if arg 2 is "toprak":
                give 1 brown dye named "&a&lToprak Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla &c%arg-2% &badlı tılsımı aldın." to player
            else if arg 2 is "buz":
                give 1 light blue dye named "&b&lBuz Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla &c%arg-2% &badlı tılsımı aldın." to player
            else if arg 2 is "ates":
                give 1 red dye named "&4&lAteş Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla &c%arg-2% &badlı tılsımı aldın." to player
        if arg 1 is not set:
            send "{@p} &b/admintilsim ver ''toprak,buz,ates''" to player
              
command /tilsim [<text>] [<text>]:
    trigger:
        if arg 1 is "cikar":
            if arg 2 is not set:
                if {toprakt::%player%} is 1:
                    send "{@p} &b/tilsim cikar toprak komutunu kullanın." to player
                else if {buzt::%player%} is 1:
                    send "{@p} &b/tilsim cikar buz komutunu kullanın." to player
                else if {atest::%player%} is 1:
                    send "{@p} &b/tilsim cikar ates komutunu kullanın." to player
        if arg 1 is "cikar":
            if arg 2 is "toprak":
                set {tilsimk::%player%} to 0
                set {toprakt::%player%} to 0
                give 1 brown dye named "&a&lToprak Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla çıkartıldı!" to player
            if arg 2 is "buz":
                set {tilsimk::%player%} to 0
                set {buzt::%player%} to 0
                give 1 light blue dye named "&b&lBuz Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla çıkartıldı!" to player             
            if arg 2 is "ates":
                set {tilsimk::%player%} to 0
                set {atest::%player%} to 0
                give 1 red dye named "&4&lAteş Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla çıkartıldı!" to player
                  
on right click with brown dye:
    if name of player's tool is "&a&lToprak Tılsımı &6[KUTSAL]":
        if {tilsimk::%player%} is 0:
            set {toprakt::%player%} to 1
            set {tilsimk::%player%} to 1
            remove 1 brown dye named "&a&lToprak Tılsımı &6[KUTSAL]" from player
            send "{@p} &bBaşarıyla tılsımı taktınız. &c/tilsim durum" to player
        else:
            send "{@p} &bZaten bir tılsım kullanıyorsun! &c/tilsim cikar" to player
      
on right click with light blue dye:
    if name of player's tool is "&b&lBuz Tılsımı &6[KUTSAL]":
        if {tilsimk::%player%} is 0:
            set {buzt::%player%} to 1
            set {tilsimk::%player%} to 1
            remove 1 light blue dye named "&b&lBuz Tılsımı &6[KUTSAL]" from player
            send "{@p} &bBaşarıyla tılsımı taktınız. &c/tilsim durum" to player     
        else:
            send "{@p} &bZaten bir tılsım kullanıyorsun! &c/tilsim cikar" to player
      
on right click with red dye:
    if name of player's tool is "&4&lAteş Tılsımı &6[KUTSAL]":
        if {tilsimk::%player%} is 0:
            set {atest::%player%} to 1
            set {tilsimk::%player%} to 1
            remove 1 red dye named "&4&lAteş Tılsımı &6[KUTSAL]" from player
            send "{@p} &bBaşarıyla tılsımı taktınız. &c/tilsim durum" to player
        else:
            send "{@p} &bZaten bir tılsım kullanıyorsun! &c/tilsim cikar" to player
          
on damage:
    victim is player
    damage cause is burning:
        if {atest::%victim%} is 1:
            cancel event

on any move:
    if {atest::%player%} is 1:
        loop blocks in radius 5 of player's location:
            loop-block is fire:
                set loop-block to air
 
on damage:
    if damage was caused by drowning:
        if {buzt::%victim%} is 1:
            cancel event

on any move:
    if {buzt::%player%} is 1:
        loop blocks in radius 2 of player's location:
            loop-block is water:
                set loop-block to ice
    if {buzt::%player%} is 1:
        loop blocks in radius 2 of player's location:
            loop-block is fire:
                set loop-block to ice

on right click on dirt or grass:
    if {toprakt::%player%} is 1:
        if {toprakt2::%player%} is 0 or 1:
            add 1 to {toprakt2::%player%}
        else if {toprakt2::%player%} is 2:
            push player upwards at speed 2
            set {toprakt2::%player%} to 0
            send "{@p} &bToprak bükülmesi başarılı!" to player
          
on damage:
    victim is player
    damage cause is fall:
        if {toprakt::%victim%} is 1:
            cancel event
 
Kod:
# --> TILSIMLAR RPG SISTEMI <-- #

# Skripti kullanıyorsanız lütfen optionsdaki ayarlar hariç hiç bir kodla oynamayınız.

options:
    p: &c&lTILSIM v1.0.sk &a&l>&r

on join:
    if {tilsimk::%player%} is not set:
        set {tilsimk::%player%} to 0
    if {toprakt2::%player%} is not set:
        set {toprakt2::%player%} to 0
     
command /admintilsim [<text>] [<text>]:
    permission: tilsim.op
    trigger:
        if arg 1 is "ver":
            if arg 2 is not set:
                send "{@p} &b/admintilsim ver ''toprak,buz,ates''" to player
        if arg 1 is "ver":
            if arg 2 is "toprak":
                give 1 brown dye named "&a&lToprak Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla &c%arg-2% &badlı tılsımı aldın." to player
            else if arg 2 is "buz":
                give 1 light blue dye named "&b&lBuz Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla &c%arg-2% &badlı tılsımı aldın." to player
            else if arg 2 is "ates":
                give 1 red dye named "&4&lAteş Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla &c%arg-2% &badlı tılsımı aldın." to player
        if arg 1 is not set:
            send "{@p} &b/admintilsim ver ''toprak,buz,ates''" to player
             
command /tilsim [<text>] [<text>]:
    trigger:
        if arg 1 is "cikar":
            if arg 2 is not set:
                if {toprakt::%player%} is 1:
                    send "{@p} &b/tilsim cikar toprak komutunu kullanın." to player
                else if {buzt::%player%} is 1:
                    send "{@p} &b/tilsim cikar buz komutunu kullanın." to player
                else if {atest::%player%} is 1:
                    send "{@p} &b/tilsim cikar ates komutunu kullanın." to player
        if arg 1 is "cikar":
            if arg 2 is "toprak":
                set {tilsimk::%player%} to 0
                set {toprakt::%player%} to 0
                give 1 brown dye named "&a&lToprak Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla çıkartıldı!" to player
            if arg 2 is "buz":
                set {tilsimk::%player%} to 0
                set {buzt::%player%} to 0
                give 1 light blue dye named "&b&lBuz Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla çıkartıldı!" to player            
            if arg 2 is "ates":
                set {tilsimk::%player%} to 0
                set {atest::%player%} to 0
                give 1 red dye named "&4&lAteş Tılsımı &6[KUTSAL]" to player
                send "{@p} &bBaşarıyla çıkartıldı!" to player
                 
on right click with brown dye:
    if name of player's tool is "&a&lToprak Tılsımı &6[KUTSAL]":
        if {tilsimk::%player%} is 0:
            set {toprakt::%player%} to 1
            set {tilsimk::%player%} to 1
            remove 1 brown dye named "&a&lToprak Tılsımı &6[KUTSAL]" from player
            send "{@p} &bBaşarıyla tılsımı taktınız. &c/tilsim durum" to player
        else:
            send "{@p} &bZaten bir tılsım kullanıyorsun! &c/tilsim cikar" to player
     
on right click with light blue dye:
    if name of player's tool is "&b&lBuz Tılsımı &6[KUTSAL]":
        if {tilsimk::%player%} is 0:
            set {buzt::%player%} to 1
            set {tilsimk::%player%} to 1
            remove 1 light blue dye named "&b&lBuz Tılsımı &6[KUTSAL]" from player
            send "{@p} &bBaşarıyla tılsımı taktınız. &c/tilsim durum" to player    
        else:
            send "{@p} &bZaten bir tılsım kullanıyorsun! &c/tilsim cikar" to player
     
on right click with red dye:
    if name of player's tool is "&4&lAteş Tılsımı &6[KUTSAL]":
        if {tilsimk::%player%} is 0:
            set {atest::%player%} to 1
            set {tilsimk::%player%} to 1
            remove 1 red dye named "&4&lAteş Tılsımı &6[KUTSAL]" from player
            send "{@p} &bBaşarıyla tılsımı taktınız. &c/tilsim durum" to player
        else:
            send "{@p} &bZaten bir tılsım kullanıyorsun! &c/tilsim cikar" to player
         
on damage:
    victim is player
    damage cause is burning:
        if {atest::%victim%} is 1:
            cancel event

on any move:
    if {atest::%player%} is 1:
        loop blocks in radius 5 of player's location:
            loop-block is fire:
                set loop-block to air

on damage:
    if damage was caused by drowning:
        if {buzt::%victim%} is 1:
            cancel event

on any move:
    if {buzt::%player%} is 1:
        loop blocks in radius 2 of player's location:
            loop-block is water:
                set loop-block to ice
    if {buzt::%player%} is 1:
        loop blocks in radius 2 of player's location:
            loop-block is fire:
                set loop-block to ice

on right click on dirt or grass:
    if {toprakt::%player%} is 1:
        if {toprakt2::%player%} is 0 or 1:
            add 1 to {toprakt2::%player%}
        else if {toprakt2::%player%} is 2:
            push player upwards at speed 2
            set {toprakt2::%player%} to 0
            send "{@p} &bToprak bükülmesi başarılı!" to player
         
on damage:
    victim is player
    damage cause is fall:
        if {toprakt::%victim%} is 1:
            cancel event
Bunu gördüm ancak benim istediğim üstteki fotoğraftaki gibi tılsımın bir obje olarak envanterde olması
 
Kod:
on damage:
    if slot 8 of victim is magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır":
        if attacker is spider:
            chance of 15%:
                cancel event
                send "Tılsım sayesinde örümceğin saldırısını savuşturdun." to victim
                
on inventory close:
    if slot 8 of player is magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır":
        send "&6Tılsım aktif."
                
command /tılsım [<player>]:
    trigger:
        if executor has permission "tılsım":
            if arg-1 is set:
                if arg-1 is online:
                    give 1 magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır" to arg-1
                    send "&6Oyuncuya tılsım verildi."
2019-09-08_00.24.14.png


/tılsım <oyuncuismi>
permission: tılsım
Son slota koyulduğunda çalışıyor sadece.
 
Kod:
on damage:
    if slot 8 of victim is magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır":
        if attacker is spider:
            chance of 15%:
                cancel event
                send "Tılsım sayesinde örümceğin saldırısını savuşturdun." to victim
               
on inventory close:
    if slot 8 of player is magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır":
        send "&6Tılsım aktif."
               
command /tılsım [<player>]:
    trigger:
        if executor has permission "tılsım":
            if arg-1 is set:
                if arg-1 is online:
                    give 1 magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır" to arg-1
                    send "&6Oyuncuya tılsım verildi."
Ekli dosyayı görüntüle 91076

/tılsım <oyuncuismi>
permission: tılsım
Son slota koyulduğunda çalışıyor sadece.
Hemen Deniyorum
 
Kod:
on damage:
    if slot 8 of victim is magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır":
        if attacker is spider:
            chance of 15%:
                cancel event
                send "Tılsım sayesinde örümceğin saldırısını savuşturdun." to victim
               
on inventory close:
    if slot 8 of player is magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır":
        send "&6Tılsım aktif."
               
command /tılsım [<player>]:
    trigger:
        if executor has permission "tılsım":
            if arg-1 is set:
                if arg-1 is online:
                    give 1 magma cream named "Tılsım" with lore "&aÖrümceklere karşı koruma %%15 - &6Tılsım son slota yerleştirince çalışır" to arg-1
                    send "&6Oyuncuya tılsım verildi."
Ekli dosyayı görüntüle 91076

/tılsım <oyuncuismi>
permission: tılsım
Son slota koyulduğunda çalışıyor sadece.
Tılsım başarıyla çalışıyor çok teşekkür ederim ancak envanteri her açıp kapattığımda "Tılsım Aktif" bildirimini tekrar alıyorum
Bu sorunu düzeltebilir misiniz :)
 
Tılsım başarıyla çalışıyor çok teşekkür ederim ancak envanteri her açıp kapattığımda "Tılsım Aktif" bildirimini tekrar alıyorum
Bu sorunu düzeltebilir misiniz :)
eve gidince düzeltebilirim
 
biraz beklersen ayarlıyabilirim
 
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