TheCommand
Odunlara Vur Vur Vur!
- Katılım
- 2 Temmuz 2020
- Mesajlar
- 40
- Elmaslar
- 19
- Puan
- 3.895
- Yaş
- 36
- Konum
- Adana
- Minecraft
- TheCommand
Discord:
TheCommand#0166
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