Yardım Lütfen

Smokinq154

Ağaç Yumruklayıcı
En iyi cevaplar
0
Arkadaşlar ben sunucumda kasadan çıkan göğüslük ile ona sag tıklanınca adı P2 ise P2 set gelmesini ayarladım.Fakat P4unkune tıklayınca hepsi geliyor yardım edermisiniz ? Kod Aşagıdaki gibi .
Kod:
on right click with diamond chestplate:
     if player has permission "sk.ep2":
          if display name of tool is "&6&lElmasP2":
          give a 310 of protection 2 and unbreaking 2 to player
          give a 311 of protection 2 and unbreaking 2 to player
          give a 312 of protection 2 and unbreaking 2 to player
          give a 313 of protection 2 and unbreaking 2 to player
          send "&bElmas &6P2 set kazandin!" to player
          remove chestplate named "&6&lElmasP2" from player





on right click with diamond chestplate:
     if player has permission "sk.ep3":
          if display name of tool is "&6&lElmasP3":
          give a 310 of protection 3 and unbreaking 3 to player
          give a 311 of protection 3 and unbreaking 3 to player
          give a 312 of protection 3 and unbreaking 3 to player
          give a 313 of protection 3 and unbreaking 3 to player
          send "&bElmas &6P2 set kazandin!" to player
          remove chestplate named "&6&lElmasP3" from player




on right click with diamond chestplate:
     if player has permission "sk.ep4":
          if display name of tool is "&6&lElmasP4":
          give a 310 of protection 4 and unbreaking 3 to player
          give a 311 of protection 4 and unbreaking 3 to player
          give a 312 of protection 4 and unbreaking 3 to player
          give a 313 of protection 4 and unbreaking 3 to player
          send "&bElmas &6P4 set kazandin!" to player
          remove chestplate named "&6&lElmasP4" from player
 

Blueyescat

Bedrock Kaşifi
En iyi cevaplar
0
PHP:
on right click with diamond chestplate:
    if player has permission "sk.ep2":
        if name of tool is "&6&lElmasP2":
            give a 310 of protection 2 and unbreaking 2 to player
            give a 311 of protection 2 and unbreaking 2 to player
            give a 312 of protection 2 and unbreaking 2 to player
            give a 313 of protection 2 and unbreaking 2 to player
            send "&bElmas &6P2 set kazandin!" to player
            remove chestplate named "&6&lElmasP2" from player

on right click with diamond chestplate:
    if player has permission "sk.ep3":
        if name of tool is "&6&lElmasP3":
            give a 310 of protection 3 and unbreaking 3 to player
            give a 311 of protection 3 and unbreaking 3 to player
            give a 312 of protection 3 and unbreaking 3 to player
            give a 313 of protection 3 and unbreaking 3 to player
            send "&bElmas &6P2 set kazandin!" to player
            remove chestplate named "&6&lElmasP3" from player

on right click with diamond chestplate:
    if player has permission "sk.ep4":
        if name of tool is "&6&lElmasP4":
            give a 310 of protection 4 and unbreaking 3 to player
            give a 311 of protection 4 and unbreaking 3 to player
            give a 312 of protection 4 and unbreaking 3 to player
            give a 313 of protection 4 and unbreaking 3 to player
            send "&bElmas &6P4 set kazandin!" to player
            remove chestplate named "&6&lElmasP4" from player
 
Son düzenleme:
Üst