Çözüldü Merhaba beyler GUİ Destekli DSat Skripti Arıyorum Yardımcı Olurmusunuz.

  • Konuyu Başlatan Konuyu Başlatan NumberOne
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 2.238
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Aga öyle olmazda biraz değişik bir şekilde yaparım.
 
24 Adet satır arzalı kardo title sorunsuz çalışıyor eyvallah satışlarda oluyor ama nedense sk reload all da dosya 24 hata veriyor kontrolden geçmeli.

@Fhalinkz Kardeşim Senin Skriptte güzel dosya destekli ücretli bir skript ama /shop ve /market komutu hiçbirşey çalışmıyor bilesin.
Gönderi otomatik olarak birleştirildi:

@MrskeletCraft Kardo /sat komutundaki iron ingot ve iron block kısmına hem alım hemde satım yapamazmıyız yani sağ click satacak sol click alıcak aynı icona tıkladıgımızda sol satın alcak sağ satıcak böyle birşey mümkün mü ?

"/sat" komutunu kullanmalıydın :D
 
Buyur dostum.

Kod:
options:
    p: &3Skyblock &8»
    demirfiyat: 50
    demirblokfiyat: 250
command /sat [<text>] [<number>] [<number>] [<number>]:
    trigger:
        arg-1 isn't set:
            open virtual chest with size 3 named "&c&nSat       &7:       &c&nAl " to player
            wait 1 tick
            set {_slot} to 0
            loop 27 times:
                make gui slot {_slot} of player with gray stained glass pane named "&f"
                add 1 to {_slot}
            make gui slot 0 of player with iron ingot named "&fDemir Sat" to run function esyaSatmenu(player, iron ingot, 25)
            make gui slot 18 of player with iron block named "&fDemir Blok Sat" to run function esyaSatmenu(player, iron block, 250)
            make gui slot 13 of player with redstone named "&cKapat" to close
            make gui slot 4 of player with 101 named "&c" to close
            make gui slot 22 of player with 101 named "&c" to close
            make gui slot 8 of player with iron ingot named "&fDemir Al" to run function esyaalmenu(player, iron ingot, 100)
            make gui slot 26 of player with iron block named "&fDemir Blok Al" to run function esyaalbmenu(player, iron block, 500)
function esyaSat(p: player, i: item, n: number, m: number):
    if amount of {_i} in {_p}'s inventory is greater than or equal to {_n}:
        add (amount of {_i} in {_p}'s inventory * {_m}) to {_p}'s balance
        send {_p} title "&a&lBaşarılı" with subtitle "&7Envanterindeki &f%{_n}% &7%{_i}% satıldı!" for 2 second
        set action bar of {_p} to "&4&l» &2Başarılı &4&l«"
        remove {_n} of {_i} from {_p}'s inventory
    else:
        send {_p} title "&4&lBaşarısız" with subtitle "&7Envanterinde yeterli eşya yok!" for 2 second
        set action bar of {_p} to "&4&l» &cBaşarısız &4&l«"
function esyaSathepsi(p: player, i: item, m: number):
    if amount of {_i} in {_p}'s inventory is greater than 0:
        add (amount of {_i} in {_p}'s inventory * {_m}) to {_p}'s balance
        send {_p} title "&a&lBaşarılı" with subtitle "&7Envanterindeki &f%amount of {_i} in {_p}'s inventory% &7%{_i}% satıldı!" for 2 second
        set action bar of {_p} to "&4&l» &2Başarılı &4&l«"
        remove all {_i} from {_p}'s inventory
    else:
        send {_p} title "&4&lBaşarısız" with subtitle "&7Envanterinde yeterli eşya yok!" for 2 second
        set action bar of {_p} to "&4&l» &cBaşarısız &4&l«"
function esyaSatmenu(p: player, i: item, m: number):
    open virtual chest with size 3 named "%{_i}%" to {_p}
    wait 1 tick
    set {_slot} to 0
    loop 27 times:
        make gui slot {_slot} of {_p} with gray stained glass pane named "&f"
        add 1 to {_slot}   
    make gui slot 4 of {_p} with skull of {_p} named "%{_i}%" with lore "&7Envanterinde &c%amount of {_i} in {_p}'s inventory% &7tane bulunmakta.||&7%{_i}% tanesi &a100 TL" to nothing
    make gui slot 9 of {_p} with {_i} named "&e&n8 Tane sat" with lore "||&7Tıklayarak &c8 &7Tane sat||||&7Alacağın para: &a%(8 * {_m})%" to run function esyaSat({_p}, {_i}, 8, {_m})
    make gui slot 11 of {_p} with {_i} named "&e&n16 Tane sat" with lore "||&7Tıklayarak &c16 &7Tane sat||||&7Alacağın para: &a%(16 * {_m})%" to run function esyaSat({_p}, {_i}, 16, {_m})
    make gui slot 13 of {_p} with {_i} named "&e&n32 Tane sat" with lore "||&7Tıklayarak &c32 &7Tane sat||||&7Alacağın para: &a%(32 * {_m})%" to run function esyaSat({_p}, {_i}, 32, {_m})
    make gui slot 15 of {_p} with {_i} named "&e&n64 Tane sat" with lore "||&7Tıklayarak &c64 &7Tane sat||||&7Alacağın para: &a%(64 * {_m})%" to run function esyaSat({_p}, {_i}, 64, {_m})
    make gui slot 17 of {_p} with {_i} named "&6&nHepsini sat" with lore "||&7Tıklayarak &chepsini &7sat||||&7Alacağın para: &a%(amount of {_i} in {_p}'s inventory * {_m})%" to run function esyaSathepsi({_p}, {_i}, {_m})
    make gui slot 26 of {_p} with redstone named "&cGeri dön" to run {_p} command "sat"
    
function esyaalbmenu(p: player, i: item, m: number):
    open virtual chest with size 3 named "%{_i}%" to {_p}
    wait 1 tick
    set {_slot} to 0
    loop 27 times:
        make gui slot {_slot} of {_p} with gray stained glass pane named "&f"
        add 1 to {_slot}   
    make gui slot 4 of {_p} with skull of {_p} named "%{_i}%" with lore "&7%{_i}% tanesi &a500 TL" to nothing
    make gui slot 10 of {_p} with {_i} named "&e&n8 Tane al" with lore "||&7Tıklayarak &c8 &7Tane al||||&7Vereceğin para: &a4000 TL" to run {_p} command "aldemirb8"
    make gui slot 12 of {_p} with {_i} named "&e&n16 Tane al" with lore "||&7Tıklayarak &c16 &7Tane al||||&7Vereceğin para: &a8000 TL" to run {_p} command "aldemirb16"
    make gui slot 14 of {_p} with {_i} named "&e&n32 Tane al" with lore "||&7Tıklayarak &c32 &7Tane al||||&7Vereceğin para: &a16000 TL" to run {_p} command "aldemirb32"
    make gui slot 16 of {_p} with {_i} named "&e&n64 Tane al" with lore "||&7Tıklayarak &c64 &7Tane al||||&7Vereceğin para: &a32000 TL" to run {_p} command "aldemirb64"
    make gui slot 26 of {_p} with redstone named "&cGeri dön" to run {_p} command "sat"
    
function esyaalmenu(p: player, i: item, m: number):
    open virtual chest with size 3 named "%{_i}%" to {_p}
    wait 1 tick
    set {_slot} to 0
    loop 27 times:
        make gui slot {_slot} of {_p} with gray stained glass pane named "&f"
        add 1 to {_slot}   
    make gui slot 4 of {_p} with skull of {_p} named "%{_i}%" with lore "&7%{_i}% tanesi &a100 Tl" to nothing
    make gui slot 10 of {_p} with {_i} named "&e&n8 Tane al" with lore "||&7Tıklayarak &c8 &7Tane al||||&7Vereceğin para: &a800 TL" to run {_p} command "aldemir8"
    make gui slot 12 of {_p} with {_i} named "&e&n16 Tane al" with lore "||&7Tıklayarak &c16 &7Tane al||||&7Vereceğin para: &a1600 TL" to run {_p} command "aldemir16"
    make gui slot 14 of {_p} with {_i} named "&e&n32 Tane al" with lore "||&7Tıklayarak &c32 &7Tane al||||&7Vereceğin para: &a3200 TL" to run {_p} command "aldemir32"
    make gui slot 16 of {_p} with {_i} named "&e&n64 Tane al" with lore "||&7Tıklayarak &c64 &7Tane al||||&7Vereceğin para: &a6400 TL" to run {_p} command "aldemir64"
    make gui slot 26 of {_p} with redstone named "&cGeri dön" to run {_p} command "sat"
    
    
command /aldemir8:
    trigger:
        if player's money is greater than or equal to 8000:
            remove 800 from player's money
            give 8 iron ingot to player
            send player title "&a&lBaşarılı" with subtitle "&78 Demir Aldın" for 2 second
            set action bar of player to "&4&l» &2Başarılı &4&l«"
        else:
        send player title "&4&lBaşarısız" with subtitle "&7Yeterli paran yok!" for 2 second
        set action bar of player to "&4&l» &cBaşarısız &4&l«"

command /aldemir16:
    trigger:
        if player's money is greater than or equal to 16000:
            remove 1600 from player's money
            give 16 iron ingot to player
            send player title "&a&lBaşarılı" with subtitle "&716 Demir Aldın" for 2 second
            set action bar of player to "&4&l» &2Başarılı &4&l«"
        else:
        send player title "&4&lBaşarısız" with subtitle "&7Yeterli paran yok!" for 2 second
        set action bar of player to "&4&l» &cBaşarısız &4&l«"
            
command /aldemir32:
    trigger:
        if player's money is greater than or equal to 32000:
            remove 3200 from player's money
            give 32 iron ingot to player
            send player title "&a&lBaşarılı" with subtitle "&732 Demir Aldın" for 2 second
            set action bar of player to "&4&l» &2Başarılı &4&l«"
        else:
        send player title "&4&lBaşarısız" with subtitle "&7Yeterli paran yok!" for 2 second
        set action bar of player to "&4&l» &cBaşarısız &4&l«"
            
command /aldemir64:
    trigger:
        if player's money is greater than or equal to 64000:
            remove 6400 from player's money
            give 64 iron ingot to player
            send player title "&a&lBaşarılı" with subtitle "&764 Demir Aldın" for 2 second
            set action bar of player to "&4&l» &2Başarılı &4&l«"
        else:
        send player title "&4&lBaşarısız" with subtitle "&7Yeterli paran yok!" for 2 second
        set action bar of player to "&4&l» &cBaşarısız &4&l«"
            
command /aldemirb8:
    trigger:
        if player's money is greater than or equal to 5200:
            remove 52000 from player's money
            give 8 iron block to player
            send player title "&a&lBaşarılı" with subtitle "&78 Demir Blok Aldın" for 2 second
            set action bar of player to "&4&l» &2Başarılı &4&l«"
        else:
        send player title "&4&lBaşarısız" with subtitle "&7Yeterli paran yok!" for 2 second
        set action bar of player to "&4&l» &cBaşarısız &4&l«"

command /aldemirb16:
    trigger:
        if player's money is greater than or equal to 8000:
            remove 8000 from player's money
            give 16 iron block to player
            send player title "&a&lBaşarılı" with subtitle "&716 Demir Blok Aldın" for 2 second
            set action bar of player to "&4&l» &2Başarılı &4&l«"
            
command /aldemirb32:
    trigger:
        if player's money is greater than or equal to 3200:
            remove 3200 from player's money
            give 32 iron block to player
            send player title "&a&lBaşarılı" with subtitle "&732 Demir Blok Aldın" for 2 second
            set action bar of player to "&4&l» &2Başarılı &4&l«"
        else:
        send player title "&4&lBaşarısız" with subtitle "&7Yeterli paran yok!" for 2 second
        set action bar of player to "&4&l» &cBaşarısız &4&l«"
            
command /aldemirb64:
    trigger:
        if player's money is greater than or equal to 32000:
            remove 32000 from player's money
            give 64 iron block to player
            send player title "&a&lBaşarılı" with subtitle "&764 Demir Blok Aldın" for 2 second
            set action bar of player to "&4&l» &2Başarılı &4&l«"
        else:
        send player title "&4&lBaşarısız" with subtitle "&7Yeterli paran yok!" for 2 second
        set action bar of player to "&4&l» &cBaşarısız &4&l«"
        
on command "market":
    cancel event
    execute player command "sat"

Biraz uğraştırdı inşallah kullanırsın :)

Komut /market istersen değişirsin.

Konu çözüldüyse en iyi cevap vermeyi ve belirtmeyi unutma.
 
Son düzenleme:
Skriptin son halini discorduna attım. Tamamen sorunsuz, test ettim.
Yukarıda ki arkadaşın yaptığı gibi her satış için farklı komut kullanılmamaktadır.
Rarın içerisindeki SanalMarket klasörünü Plugins klasörüne atmayı unutma.
Ekstra bir yardıma ihtiyacın olursa discorddan bana ulaşabilirsin.
...iyi forumlar...
 
Skriptin son halini discorduna attım. Tamamen sorunsuz, test ettim.
Yukarıda ki arkadaşın yaptığı gibi her satış için farklı komut kullanılmamaktadır.
Rarın içerisindeki SanalMarket klasörünü Plugins klasörüne atmayı unutma.
Ekstra bir yardıma ihtiyacın olursa discorddan bana ulaşabilirsin.
...iyi forumlar...

Kardeş şaka mısın sen?

Kaç kere tartış caz la?

Hayır da nie dc ye atın buraya atsana Bi Allah aşkına

Skript yazmaya çalışacağına okumayı öğrenmeye çalışmalısın.
 
Son düzenleme:
Kardeş şaka mısın sen?

Kaç kere tartış caz la?

Hayır da nie dc ye atın buraya atsana Bi Allah aşkına

Skript yazmaya çalışacağına okumayı öğrenmeye çalışmalısın.

İstediğin kadar tartışabiliriz benim için sorun değil
Onaylı satıcı tagı aldığımda skripti ücretli olarak satıcam. Bu yüzden burada herkesle paylaşmak istemiyorum.
Ama emin ol yaptığım skript senin yaptığın skriptden çok daha iyi.

Ayrıca tartışmaya devam etmek istiyorsan discorddan beni ekleyebilirsin. Konuyu daha fazla kirletmeyelim.​
 
Ya kardeşim beynini düzgün kullanman dileiyle BAŞARILAR...
 
@MrskeletCraft Kardeşim Skripti Dosya Gui Destekli Öyle Basit Kodlamalı Değil Çevirmeli Falan Değil Gözlerimle İzliyip Destekte Bulundu Arkadaş Bana Emin Olabilirsin Sağlam Bir Skriptter İnşallah Onaylı Satısı Tagına Sahib Olur.

İyi Forumlar Konu Kilit Çözüldü.
 
Konu çözüldüyse en iyi cevap seçip belirt lütfen.
 
Bu skript nedense çok istenmeye başladı. :D:D:D
 
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