Bulundu yürüme sesi ve yürüme efekti skript

  • Konuyu Başlatan Konuyu Başlatan insecure
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.446
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Hocam bazı düzenlemeler ve iyileştirmeler yaptım buyrun deneyin Tuske olmadan çalışacaktır vanilla gui ile oluşturdum
Kod:
command /ses:
    trigger:
        open chest inventory 9 named "Ses Efektleri" to player
        set {coin_%player%} to 200

on click on slot 0 of player's inventory:
    if {coin_%player%} >= 150:
        set {lav_efekti_%player%} to true
        remove 150 from {coin_%player%}
        send "Lav efekti satın aldınız!" to player
        play sound "ENTITY_PLAYER_LEVELUP" to player at player's location with volume 0.5 and pitch 1.0
    else:
        send "Yeterli coininiz yok!" to player
        play sound "ENTITY_VILLAGER_NO" to player at player's location with volume 0.5 and pitch 1.0

on walk:
    if {lav_efekti_%player%} is true:
        play sound "ENTITY_LAVA_POP" to player at player's location with volume 0.5 and pitch 1.0

on close chest inventory:
    clear player's inventory
    give {coin_%player%} named "Coin" to player
 
Hocam bazı düzenlemeler ve iyileştirmeler yaptım buyrun deneyin Tuske olmadan çalışacaktır vanilla gui ile oluşturdum

Kod:
command /ses:
    trigger:
        open chest inventory 9 named "Ses Efektleri" to player
        set {coin_%player%} to 200

on click on slot 0 of player's inventory:
    if {coin_%player%} >= 150:
        set {lav_efekti_%player%} to true
        remove 150 from {coin_%player%}
        send "Lav efekti satın aldınız!" to player
        play sound "ENTITY_PLAYER_LEVELUP" to player at player's location with volume 0.5 and pitch 1.0
    else:
        send "Yeterli coininiz yok!" to player
        play sound "ENTITY_VILLAGER_NO" to player at player's location with volume 0.5 and pitch 1.0

on walk:
    if {lav_efekti_%player%} is true:
        play sound "ENTITY_LAVA_POP" to player at player's location with volume 0.5 and pitch 1.0

on close chest inventory:
    clear player's inventory
    give {coin_%player%} named "Coin" to player
1687594606345.png
1687594634356.png
bu hataları veriyor
 
Pluginde bir uyumsuzluk var hocam çünkü on walk eventini görmüyor sistem
 
Eğer gelişmiş bir şey istersen discord iletişime geç birlikte yapabiliriz ücretsiz
 
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