Lapis'te Item Düşme Skript

Shingeki

Seviye 0
Seviye 0
5 Haziran 2018
123
0
0
23
Deneyim Puanı
0
Kod:
on break of lapis ore:
    chanceof 5%:
        give a stone named "&f&lBEYAZ TAŞ" to player
        send " &7> &aLapis kazarken Beyaz Taş düştü."

command /kullan:
    permission: sk.magaza
    permission message: &cBunu yapmak için yetkin yok!
    trigger:
        open chest with 3 row named "&3&lMAGAZA!" to player
        format slot 12 of player with diamond chestplate named "&5&lP5 Kask" to close then run [make console execute command "1x6x6x1 p5kask"]
        format slot 12 of player with diamond chestplate named "&5&lP5 Zırh" to close then run [make console execute command "1x6x6x1 p5zirh"]
        format slot 12 of player with diamond chestplate named "&5&lP5 Pantalon" to close then run [make console execute command "1x6x6x1 p5pantalon"]
        format slot 12 of player with diamond chestplate named "&5&lP5 Ayakkabi" to close then run [make console execute command "1x6x6x1 p5ayakkabi"]
        format slot 13 of player with dirt named "2" to close
        format slot 14 of player with dirt named "3" to close
      
command /1x6x6x1 [<text>]:
    trigger:
        if arg 1 is "p5kask"
            if player has 256 stone named "&f&lBEYAZ TAŞ":
                remove 256 stone named "&f&lBEYAZ TAŞ" from inventory of player
                give a diamond helmet of protection 5
                send " &7> &aP5 Kask aldın."
                stop
        if arg 1 is "p5zirh"
            if player has 256 stone named "&f&lBEYAZ TAŞ":
                remove 256 stone named "&f&lBEYAZ TAŞ" from inventory of player
                give a diamond chestplate of protection 5
                send " &7> &aP5 Zırh aldın."
                stop
        if arg 1 is "p5pantalon"
            if player has 256 stone named "&f&lBEYAZ TAŞ":
                remove 256 stone named "&f&lBEYAZ TAŞ" from inventory of player
                give a diamond leggings of protection 5
                send " &7> &aP5 Pantalon aldın."
                stop
        if arg 1 is "p5ayakkabi"
            if player has 256 stone named "&f&lBEYAZ TAŞ":
                remove 256 stone named "&f&lBEYAZ TAŞ" from inventory of player
                give a diamond boots of protection 5
                send " &7> &aP5 Ayakkabı aldın."
                stop