Çözüldü Yaptığım skript nedense çalışmıyor

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

PlayTimeNW

Odunlara Vur Vur Vur!
Katılım
22 Ocak 2018
Mesajlar
28
Elmaslar
13
Puan
0
Yaş
26
Arkadaşlar bir skript yazdım nedense oyunculara sağ tıklayınca parayı veriyor fakat send yani mesaj göndermiyor sorun nedir ?

JavaScript:
command /parakasasi:
    permission: 10m.cek
    permission message: &cBunu yapmak iznin yok!
    trigger:
        give 1 chest named "&5&lPara &d&lKasasi" to player
        send "&aPara kasasini aldin!"
      
on rightclick with chest:
    if display name of tool is "&5&lPara &d&lKasasi":
        chance of 1%:
            execute console command "/eco give %player% 200000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%1 Sanla &c&l200M Kazandin! "
            stop
        chance of 3%:
            execute console command "/eco give %player% 150000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%3 Sanla &c&l150M Kazandin! "
            stop
        chance of 5%:
            execute console command "/eco give %player% 100000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%5 Sanla &c&l100M Kazandin! "
            stop
        chance of 10%:
            execute console command "/eco give %player% 75000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%10 Sanla &c&l75M Kazandin! "
            stop
        chance of 15%:
            execute console command "/eco give %player% 50000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%15 Sanla &c&l50M Kazandin! "
            stop
        chance of 20%:
            execute console command "/eco give %player% 40000000"
            remove chest named " &5&lPara &d&lKasasi " from player
            wait 0 seconds
            message " &a&l%20 Sanla &c&l40M Kazandin! "
            stop
        chance of 50%:
            execute console command "/eco give %player% 20000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%50 Sanla &c&l20M Kazandin! "
            stop
        chance of 70%:
            execute console command "/eco give %player% 10000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%70 Sanla &c&l10M Kazandin! "
            stop
        chance of 80%:
            execute console command "/eco give %player% 1000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%80 Sanla &c&l1M Kazandin! "
            stop
        else
        remove chest named "&5&lPara &d&lKasasi" from player
        stop
 
Son düzenleme:
Kod:
command /parakasasi:
    permission: 10m.cek
    permission message: &cBunu yapmak iznin yok!
    trigger:
        give 1 chest named "&5&lPara &d&lKasasi" to player
        send "&aPara kasasini aldin!" to player
      
on rightclick with chest:
    if display name of tool is "&5&lPara &d&lKasasi":
        chance of 1%:
            execute console command "/eco give %player% 200000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
            message " &a&l%1 Sanla &c&l200M Kazandin! "
            stop
        chance of 3%:
            execute console command "/eco give %player% 150000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds


Bunu Dene
 
Sorununuz çözüldüyse bildirmeyi unutmayın.
 
Olmuyor mesaj vermiyor
 
Olmuyor mesaj vermiyor

Bunu dener misin ?

Kod:
command /parakasasi:
    permission: 10m.cek
    permission message: &cBunu yapmak iznin yok!
    trigger:
        give 1 chest named "&5&lPara &d&lKasasi" to player
        send "&aPara kasasini aldin!" to player
    
on rightclick with chest:
    if display name of tool is "&5&lPara &d&lKasasi":
        chance of 1%:
            execute console command "/eco give %player% 200000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 1 seconds
            send "&a&lYüzde 1 Şansla &c&l200M Kazandin!" to player
            stop
        chance of 3%:
            execute console command "/eco give %player% 150000000"
            remove chest named "&5&lPara &d&lKasasi" from player
            wait 0 seconds
 
No mesaj . vermiyor :D
 
No mesaj . vermiyor :D
Buyurun:
Kod:
command /parakasasi:
    permission: 10m.cek
    permission message: &cBunu yapmak iznin yok!
    trigger:
        give 1 chest named "&5&lPara &d&lKasasi" to player
        send "&aPara kasasini aldin!" to player
   
on rightclick with chest:
    if display name of tool is "&5&lPara &d&lKasasi":
        chance of 1%:
            remove chest named "&5&lPara &d&lKasasi" from player       
            execute console command "/eco give %player% 200000000"
            wait 3 ticks
            send "&a&lYüzde 1 Şansla &c&l200M Kazandin!" to player
        chance of 3%:
            remove chest named "&5&lPara &d&lKasasi" from player       
            execute console command "/eco give %player% 150000000"
            wait 3 ticks
            send "&a&lYüzde 1 Şansla &c&l150M Kazandin!" to player
 
Sorunu anladım '%' işareti hata veriyor.
Emeğiniz için teşekkür ederim.

Konu kilit.
 
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