Çözüldü Dostlar normalde bende skript yazarım ama beynim yandı bi ricam var...

Admin OUa:

Hâlâ Zümrüt Bulamadım!
Katılım
13 Ocak 2021
Mesajlar
643
Elmaslar
193
Puan
11.005
Yaş
25
Konum
Şanlı Urfa - Viranşehir
Minecraft
LifeLesS

Discord:

MrMistry#5436

Merhaba Dostlar Nasılsınız ?
Umarım İyisinizdir.
beni Soracaksanız
Biraz Beynim Yandı
O yüzden skript yazamıyorum Sizden Bir Ricam Var
set market !
set coin işini hallettim
set coin kodu bu :
Kod:
on break of lapis ore:
    chance of 10%:
        give a nether star named "&5Set &3Coin" to player
        send "&eLapis kazarken &5Set Coin &ebuldun!" to player

command /parcaver2:
    permission : op
    permission message: &fhşt dur bakalım sen alamazsın
    trigger:
        give a nether star named "&5Set &3Coin" to player

ama benim sizden isteğiim Set market
beyler yapan olursa cok tşk

istekler:

10.cu slotta p10 set 40 set coin
12.ci slotta p12 set 75 set coin
14.cü slotta p14 set 100 set coin
16.cı slotta p16 set 125 set coin

şimdiden yapan ellere sağlık bu arada tüm setlerde kırılmazlık 5 var Tekrardan cok tşk

(bu arada chest open şeyi varya işte onla yapılması lazım :) )
 
Buyur krdşm;

Kod:
command /setmarket:
    trigger:
        open chest with 3 rows named "&5Set Market" to player
        if inventory name of current inventory of player is "&5Set Market":   
            format slot 9 of player with nether star named "&540 Coinlik Set" to close then run [execute player command "40coinset"]
            format slot 11 of player with nether star named "&575 Coinlik Set" to close then run [execute player command "75coinset"]
            format slot 13 of player with nether star named "&5100 Coinlik Set" to close then run [execute player command "100coinset"]
            format slot 15 of player with nether star named "&5125 Coinlik Set" to close then run [execute player command "125coinset"]            

on inventory click:
    if inventory name of current inventory of player is "&5Set Market":
        cancel event       

command /40coinset:
    trigger:
        if player has 40 nether star named "&5Set &3Coin":
            remove 40 nether star named "&5Set &3Coin" from player's inventory
            give 1 diamond helmet of protection 10, unbreaking 5 named "&5Set &3Kask" to player
            give 1 diamond chestplate of protection 10, unbreaking 5 named "&5Set &3Göğüslük" to player
            give 1 diamond leggings of protection 10, unbreaking 5 named "&5Set &3Pantolon" to player
            give 1 diamond boots of protection 10, unbreaking 5 named "&5Set &3Bot" to player            
            send "&3AdminOUa &8» &540 &ecoinlik set alındı" to player
            stop
        else:
            send "&3AdminOUa &8» &7Coin yok" to player
            stop
            
command /75coinset:
    trigger:
        if player has 75 nether star named "&5Set &3Coin":
            remove 75 nether star named "&5Set &3Coin" from player's inventory
            give 1 diamond helmet of protection 12, unbreaking 5 named "&5Set &3Kask" to player
            give 1 diamond chestplate of protection 12, unbreaking 5 named "&5Set &3Göğüslük" to player
            give 1 diamond leggings of protection 12, unbreaking 5 named "&5Set &3Pantolon" to player
            give 1 diamond boots of protection 12, unbreaking 5 named "&5Set &3Bot" to player            
            send "&3AdminOUa &8» &575 &ecoinlik set alındı" to player
            stop
        else:
            send "&3AdminOUa &8» &7Coin yok" to player
            stop

command /100coinset:
    trigger:
        if player has 100 nether star named "&5Set &3Coin":
            remove 100 nether star named "&5Set &3Coin" from player's inventory
            give 1 diamond helmet of protection 14, unbreaking 5 named "&5Set &3Kask" to player
            give 1 diamond chestplate of protection 14, unbreaking 5 named "&5Set &3Göğüslük" to player
            give 1 diamond leggings of protection 14, unbreaking 5 named "&5Set &3Pantolon" to player
            give 1 diamond boots of protection 14, unbreaking 5 named "&5Set &3Bot" to player            
            send "&3AdminOUa &8» &5100 &ecoinlik set alındı" to player
            stop
        else:
            send "&3AdminOUa &8» &7Coin yok" to player
            stop    

command /125coinset:
    trigger:
        if player has 125 nether star named "&5Set &3Coin":
            remove 125 nether star named "&5Set &3Coin" from player's inventory
            give 1 diamond helmet of protection 16, unbreaking 5 named "&5Set &3Kask" to player
            give 1 diamond chestplate of protection 16, unbreaking 5 named "&5Set &3Göğüslük" to player
            give 1 diamond leggings of protection 16, unbreaking 5 named "&5Set &3Pantolon" to player
            give 1 diamond boots of protection 16, unbreaking 5 named "&5Set &3Bot" to player            
            send "&3AdminOUa &8» &5125 &ecoinlik set alındı" to player
            stop
        else:
            send "&3AdminOUa &8» &7Coin yok" to player
            stop
 

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