Çözüldü Sandıksatar Sk çalışmıyor yardım

  • Konuyu Başlatan Konuyu Başlatan ArslanCraft
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.522
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Evet'de öbür sk ler çalışyor neden bu çalışmıyor anlamadım
skript hatalı olabilir? veya bensana atıyım bir skript bunu dene


Kod:
command /sandıksatar:
    trigger:
        give 1 stick named "&8►&aSandık Satar" to player


on left click with stick:
    if name of player's tool is "&8►&aSandık Satar":
        if clicked block is a chest or trapped chest:
            if amount of diamond in clicked block is greater than 0:
                add (amount of diamond in clicked block * 600) to player's money
                send "&6SKYBLOCK &7&l► &eElmaslar &d%(amount of diamond in clicked block * 600)% &ekarşılğında satıldı." to player
                remove every diamonds from clicked block
            if amount of emerald in clicked block is greater than 0:
                add (amount of emerald in clicked block * 600) to player's money
                send "&6SKYBLOCK &7&l► &eZümrütler &d%(amount of emerald in clicked block * 453)% &ekarşılğında satıldı." to player
                remove every emerald from clicked block
            if amount of iron ingot in clicked block is greater than 0:
                add (amount of iron ingot in clicked block * 300) to player's money
                send "&6SKYBLOCK &7&l► &eDemirler &d%(amount of iron ingot in clicked block * 300)% &ekarşılğında satıldı. " to player
                remove every iron ingot from clicked block
            if amount of iron block in clicked block is greater than 0:
                add (amount of iron block in clicked block * 2700) to player's money
                send "&6SKYBLOCK &7&l► &eDemir Bloklar &d%(amount of iron block in clicked block * 2700)% &ekarşılğında satıldı. " to player
                remove every iron blocks from clicked block
            if amount of gold ingot in clicked block is greater than 0:
                add (amount of gold ingot in clicked block * 367) to player's money
                send "&6SKYBLOCK &7&l► &eAltınlar &d%(amount of gold ingot in clicked block * 367)% &ekarşılğında satıldı. " to player
                remove every gold ingot from clicked block
            else if amount of gold block in clicked block is greater than 0:
                add (amount of gold block in clicked block * 3600) to player's money
                send "&6SKYBLOCK &7&l► &eAltın Bloklar&d%(amount of gold block in clicked block * 3600)% &ekarşılğında satıldı." to player
                remove every gold blocks from clicked block
            else if amount of emerald block in clicked block is greater than 0:
                add (amount of emerald block in clicked block * 4500) to player's money
                send "&6SKYBLOCK &7&l► &eZümrüt Bloklar &d%(amount of emerald block in clicked block * 4500)% &ekarşılğında satıldı." to player
                remove every emerald blocks from clicked block
            else if amount of diamond block in clicked block is greater than 0:
                add (amount of diamond block in clicked block * 5400) to player's money
                send "&6SKYBLOCK &7&l► &eElmas Bloklar &d%(amount of diamond block in clicked block * 5400)% &ekarşılğında satıldı." to player
                remove every diamond blocks from clicked block
 
Oyun içinden skript'e reload çektiğinizde sohbete herhangi bir şey yansıyor mu?
 
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