Sol Reklam
Sağ Reklam

Çözüldü Jackpot skript hatası

Durum
Mesaj gönderimine kapalı.

Kamil797

Bir Kömür Göründü Kaptanım!

Discord:

KamiL#7451

Katılım
2 Ağustos 2018
Mesajlar
135
Elmaslar
37
Puanlar
9.120
Yaş
26
Merhabalar bir tane Jackpot skript kullanıyorum amma malesef resimdeki hatayı alıyorum. Oyun içi ise jackpot"a para yatırılmıyo
2019-09-15_12.52.33.png
 

Nikto

.
Katılım
8 Kasım 2014
Mesajlar
3.051
Elmaslar
1.099
Puanlar
0
Skripti atarmısın?
 

TekinSTY

Kızılsakal Kızıltaş?

Discord:

Ben Bilmem Kİ ?#3432

Katılım
23 Mayıs 2019
Mesajlar
489
Elmaslar
161
Puanlar
0
Yaş
19
Minecraft
_AngelLegend_
plugin kullanmanı öneririm.
 

Kamil797

Bir Kömür Göründü Kaptanım!

Discord:

KamiL#7451

Katılım
2 Ağustos 2018
Mesajlar
135
Elmaslar
37
Puanlar
9.120
Yaş
26
Skripti atarmısın?
Tabii buyurun

Kod:
variables:
    {jackpottoplam} = 0
    {jyatirdigimiktar.%player%} = 0
    {jackpotkalansure} = 5
    {jackpotgirdi.%player%} = false
    {jackpotdurum} = false
    {jackpotgirdi1taneadam} = false
    {jackpotbilettiklandi.%player%} = false


command /jackpot [<number>]:
    trigger:
        if arg-1 is set:
            if {jackpotdurum} is true:
                if arg-1 is set:
                    if {jackpotbilettiklandi.%player%} is false:
                        if player's balance is higher than or equal to arg-1:
                            if {jackpotkisi} is less than 150:
                                if arg-1 is between 1 and 300000000:
                                    if {jackpotgirdi.%player%} is false:
                                        send "&3JackPot &8» &eJackpota başarıyla katıldın!"
                                        add arg-1 to {jackpottoplam}
                                        add arg-1 to {jyatirdigimiktar.%player%}
                                        set {jackpotbilettiklandi.%player%} to false
                                        add player to {jackpottakiler::*}
                                        set {jackpottür.%player%} to "Para"
                                        add 1 to {jackpotkisi}
                                        set {jackpotgirdi.%player%} to true
                                        remove arg-1 from player's balance
                                        set {jackpotgirdi.%player%} to true
                                        set {jackpotyatirmabasladi} to true
                                        set {jackpotgirdi1taneadam} to true
                                        loop {jackpottakiler::*}:
                                            set {sans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                                        execute console command "/tm abc &3JackPot &8» &a%player% &eisimli oyuncu Para ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
                                    else:
                                        send "&3JackPot &8» &cZaten Jackpota Katılmışsın!"
                                else:
                                    send "&3JackPot &8» &7En az &61TL &7en fazla &6200.000.000TL &7yatırabilirsiniz."
                            else:
                                send "&3JackPot &8» &720 Kişiden Fazlası Jackpota Katılamaz!"                           
                        else:
                            send "&3JackPot &8» &cYeterli Miktarda Paran Yok!"
                    else:
                        if {jackpotkisi} is less than 150:
                            if {jackpotgirdi.%player%} is false:
                                send "&3JackPot &8» &eJackpota başarıyla katıldın!"
                                add arg-1 to {jackpottoplam}
                                add arg-1 to {jyatirdigimiktar.%player%}
                                set {jackpotbilettiklandi.%player%} to false
                                add player to {jackpottakiler::*}
                                add 1 to {jackpotkisi}
                                set {jackpotgirdi.%player%} to true
                                remove arg-1 from player's balance
                                set {jackpottür.%player%} to "Bilet"
                                set {jackpotgirdi.%player%} to true
                                set {jackpotyatirmabasladi} to true
                                set {jackpotgirdi1taneadam} to true
                                loop {jackpottakiler::*}:
                                    set {sans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                                broadcast "&3JackPot &8» &a%player% &eisimli oyuncu Bilet ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
                else:
                    send "&3JackPot &8» &cMiktar Yazmadın!"
            else:
                send "&3JackPot &8» &cJackpot Şuanda Kapalı" to player
        else:
            close player's inventory
            open chest with 6 rows named "&8Jackpot" to player
            wait a tick
            set {_x} to 0
            loop {jackpottakiler::*}:
                format slot {_x} of player with loop-value's skull named "&e&l%loop-value%" with lore "||&aYatırdığı Mitar: &f%{jyatirdigimiktar.%loop-value%}% TL||||&aŞans: &f%%%{sans.%loop-value%}%" to be unstealable
                add 1 to {_x}
            if inventory name of current inventory of player is "&8Jackpot":
                format slot 45 of player with stained glass named "" to close
                format slot 46 of player with stained glass named "" to close
                format slot 52 of player with stained glass named "" to close
                format slot 53 of player with stained glass named "" to close
                format slot 47 of player with book named "&e&nAmacı Nedir?" with lore "||&eHerkesin para kazanması için oluşturulmuştur.||&eKatılmak için &b/jackpot <miktar> &eyazın." to close
                format slot 50 of player with redstone named "&e&nÖnceki Oyun" with lore "||&aKazanan: &f%{jsonkazanan}%||&aŞansı: &f%%%{joncekisans.%{jsonkazanan}%}%||&aYatırdığı para: &f%{joncekimiktar.%{jsonkazanan}%}% TL||&aKazandığı para: &f%{joncekitoplam}% TL||&aTür: &f%{jackpottürübelli.%{jsonkazanan}%}%" to close
                format slot 51 of player with lapis block named "&e&nJackPot" with lore "&aJackpottaki para: &f%{jackpottoplam}% TL" to close
                if {jackpotkalansure} is not "Kapalı":
                    format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &f%{jackpotkalansure}% dakika||||&aTıklayarak Hemen başlatabilirsin!" to close then run [execute player command "/jackpotbaslat"]
                else:
                    format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &c%{jackpotkalansure}%" to close
                    
on inventory click:
    if inventory name of current inventory of player is "&8Jackpot":
        cancel event
    

every 1 minutes:
    if {jackpotdurum} is true:
        if {jackpotbasladi} is false:
            if {jackpotkalansure} is equal to 1:
                if {jackpotkisi} is between 2 and 150:
                    broadcast "&3JackPot &8» &eJackpot &65 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&3JackPot &8» &eJackpot &64 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&3JackPot &8» &eJackpot &63 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&3JackPot &8» &eJackpot &62 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&3JackPot &8» &eJackpot &61 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    loop {jackpottakiler::*}:
                        set {kazanicaksans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                        loop {kazanicaksans.%loop-value%} times:
                            add loop-value-1 to {_jackpotbelli::*}
                    set {jackpotbasladi} to true
                    close {jackpottakiler::*}'s inventory
                    loop 12 times:
                        open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
                        set {jkazanan} to random element out of {_jackpotbelli::*}
                        play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
                        format slot 13 of {jackpottakiler::*} with skull of {jkazanan} named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
                        wait 1 seconds
                    close {jackpottakiler::*}'s inventory
                    play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
                    loop 200 times:
                        broadcast " "
                    add 1 to {jackpotkazanma.%{jkazanan}%}
                    set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
                    add {jackpottoplam} to {jkazanilanpara}
                    broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
                    broadcast ""
                    broadcast "   &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
                    broadcast "   &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
                    broadcast ""
                    broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
                    execute console command "eco give %{jkazanan}% %{jackpottoplam}%"
                    set {jackpotkisi} to 0
                    set {jkazanilanpara} to 0
                    set {jsonkazanan} to {jkazanan}
                    set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
                    set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
                    set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
                    delete {jkazanan}
                    loop {jackpottakiler::*}:
                        set {jyatirdigimiktar.%loop-value%} to 0
                        set {jackpotgirdi.%loop-value%} to false
                    set {jackpotyatirmabasladi} to false
                    set {jackpotbasladi} to false
                    set {joncekitoplam} to {jackpottoplam}
                    set {jackpottoplam} to 0
                    set {jackpotkalansure} to 5
                    delete {jackpottakiler::*}
                else:
                    broadcast "&3JackPot &8» &7Jackpotta Yeterli Oyuncu olmadığı için Başlamadı."
                    set {jackpotkalansure} to 5
            else:
                if {jackpotkalansure} is not "Kapalı":
                    remove 1 from {jackpotkalansure}
                    broadcast "&3JackPot &8» &7Jackpotun Başlamasına Son &6%{jackpotkalansure}% Dakika &7Kaldı, Bilgi için &a/jackpot"
                
                
command /jackpotbaslat:
    permission: jackpotbaslat
    trigger:
        broadcast "&3JackPot &8» &eJackpot &65 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&3JackPot &8» &eJackpot &64 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&3JackPot &8» &eJackpot &63 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&3JackPot &8» &eJackpot &62 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&3JackPot &8» &eJackpot &61 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        loop {jackpottakiler::*}:
            set {kazanicaksans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
            loop {kazanicaksans.%loop-value%} times:
                add loop-value-1 to {_jackpotbelli::*}
        set {jackpotbasladi} to true
        close {jackpottakiler::*}'s inventory
        loop 12 times:
            open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
            set {jkazanan} to random element out of {_jackpotbelli::*}
            play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
            format slot 13 of {jackpottakiler::*} with {jkazanan}'s skull named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
            wait 0.4 seconds
        close {jackpottakiler::*}'s inventory
        play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
        loop 200 times:
            broadcast " "
        add 1 to {jackpotkazanma.%{jkazanan}%}
        set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
        add {jackpottoplam} to {jkazanilanpara}
        broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
        broadcast ""
        broadcast "   &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
        broadcast "   &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
        broadcast ""
        broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
        execute console command "eco give %{jkazanan}% %{jkazanilanpara}%"
        set {jackpotkisi} to 0
        set {jsonkazanan} to {jkazanan}
        set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
        set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
        set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
        delete {jkazanan}
        set {jkazanilanpara} to 0
        loop {jackpottakiler::*}:
            set {jyatirdigimiktar.%loop-value%} to 0
            set {jackpotgirdi.%loop-value%} to false
        set {jackpotyatirmabasladi} to false
        set {jackpotbasladi} to false
        set {joncekitoplam} to {jackpottoplam}
        set {jackpottoplam} to 0
        set {jackpotkalansure} to 5
        delete {jackpottakiler::*}

        
                
                
command /jackpotdurum [<text>]:
    permission: jackpotdurum
    trigger:
        if arg-1 is "ac":
            if {jackpotdurum} is false:
                set {jackpotdurum} to true
                send "&3JackPot &8» &7Jackpot Başarıyla &aAçtın"
                broadcast "&3JackPot &8» &7Jackpot Yetkili Tarafından &aAçıldı"
                set {jackpotkalansure} to 5
            else:
                send "&3JackPot &8» &7Zaten Jackpot &aAçık"
        if arg-1 is "kapat":
            if {jackpotdurum} is true:
                set {jackpotdurum} to false
                send "&3JackPot &8» &7Jackpot Başarıyla &cKapattın"
                broadcast "&3JackPot &8» &7Jackpot Yetkili Tarafından &cKapatıldı"
                set {jackpotkalansure} to "Kapalı"
            else:
                send "&3JackPot &8» &7Zaten Jackpot &cKapalı"
                
command /jackpotyardım:
    trigger:
        if player has permission "op":
            loop 300 times:
                send " "
            send " &7Jackpota Katılmak için &6/jackpot <miktar>"
            send " &7Jackpot durumunu değiştirmek için &6/jackpotdurum &6<&aaç&6,&ckapat&6>"
            send " &7Jackpotu Hızlı bir şekilde Kısa yoldan başlatmak için &6/jackpotbaslat"
            

        
        
on inventory click:
    if inventory name of player's current inventory is "Jackpot":
        cancel event
        
        
command /herkesebiletver [<integer>]:
    permission: herkesebiletver
    permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
    executable by: players and console
    trigger:
        if arg-1 is set:
            if command sender is not console:
                loop all players:
                    give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
                broadcast "&c&lBILET &8» &6%player% &7isimli yetkili herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
            else:
                loop all players:
                    give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
                broadcast "&c&lBILET &8» &6Console &7herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
        else:
            send "&c&lHATA &8» &7Bilet miktarı girmedin!"

        
        
command /jackpotbiletver [<player>] [<integer>]:
    permission: jackpotbiletver
    permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
    executable by: players and console
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                if command sender is not console:
                    send "&c&lJACKPOTBILET &8» &6%arg-1% &7isimli oyuncuya &b%arg-2% TL &7Jackpot Bilet verildi!" to player
                    send "&c&lJACKPOTBILET &8» &6%player% &7isimli yetkili sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
                    give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
                else:
                    send "&c&lJACKPOTBILET &8» &6Console &7sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
                    give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
            else:
                send "&c&lHATA &8» &7Bilet miktarı girmedin!"
        else:
            send "&c&lHATA &8» &7Oyuncu ismi girmedin!"
            
            
on rightclick with paper:
    if "%name of player's tool%" contains "&6&lJACKPOTBILET":
        if {jackpotdurum} is true:
            if {jackpotgirdi.%player%} is false:
                if {jackpotbilettiklandi.%player%} is false:
                    set {_jackpotbiletmiktar} to "%numbers of uncoloured name of player's tool%"
                    set {jackpotbilettiklandi.%player%} to true
                    remove 1 of player's tool from player's inventory
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l3" for 1 seconds
                    wait 1 seconds
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l2" for 1 seconds
                    wait 1 seconds
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l1" for 1 seconds
                    wait 1 seconds
                    send player title "&6&lBILET" with subtitle "&7Miktar &8» &b%{_jackpotbiletmiktar}% TL" for 2 seconds
                    wait 1 seconds
                    execute player command "jackpot %{_jackpotbiletmiktar}%"
                else:
                    send "&6&lJACKPOTBILET &8» &7Zaten Bilet kullandın Kullandığın bilet &8» &6%numbers of uncoloured name of player's tool% TL"
            else:
                send "&3JackPot &8» &cZaten Jackpota Katılmışsın!"
        else:
            send "&3JackPot &8» &cJackpot Şuanda Kapalı" to player
 

Kamil797

Bir Kömür Göründü Kaptanım!

Discord:

KamiL#7451

Katılım
2 Ağustos 2018
Mesajlar
135
Elmaslar
37
Puanlar
9.120
Yaş
26

TekinSTY

Kızılsakal Kızıltaş?

Discord:

Ben Bilmem Kİ ?#3432

Katılım
23 Mayıs 2019
Mesajlar
489
Elmaslar
161
Puanlar
0
Yaş
19
Minecraft
_AngelLegend_

Kamil797

Bir Kömür Göründü Kaptanım!

Discord:

KamiL#7451

Katılım
2 Ağustos 2018
Mesajlar
135
Elmaslar
37
Puanlar
9.120
Yaş
26

TekinSTY

Kızılsakal Kızıltaş?

Discord:

Ben Bilmem Kİ ?#3432

Katılım
23 Mayıs 2019
Mesajlar
489
Elmaslar
161
Puanlar
0
Yaş
19
Minecraft
_AngelLegend_
Araştırmam sonucu olarak 3 plugin buldum 1.UltimateCasino 2.MassBet 3.BlastJackpot bu 3 plugin içinde jackpot bulunmakta hangisini kullanmak isterseniz.
 

Kamil797

Bir Kömür Göründü Kaptanım!

Discord:

KamiL#7451

Katılım
2 Ağustos 2018
Mesajlar
135
Elmaslar
37
Puanlar
9.120
Yaş
26
Araştırmam sonucu olarak 3 plugin buldum 1.UltimateCasino 2.MassBet 3.BlastJackpot bu 3 plugin içinde jackpot bulunmakta hangisini kullanmak isterseniz.
Malesef, yardımınız için teşekkür ederim.
 

Abdullah T.

Nötr
Yasaklandı

Discord:

Abdullah T.#0001

Katılım
19 Nisan 2018
Mesajlar
1.524
Elmaslar
1.083
Puanlar
5.650
Yer
Kocaeli/Gebze
Minecraft
JordJarv
Kod:
variables:
    {jackpottoplam} = 0
    {jyatirdigimiktar.%player%} = 0
    {jackpotkalansure} = 5
    {jackpotgirdi.%player%} = false
    {jackpotdurum} = false
    {jackpotgirdi1taneadam} = false
    {jackpotbilettiklandi.%player%} = false


command /jackpot [<number>]:
    trigger:
        if arg-1 is set:
            if {jackpotdurum} is true:
                if arg-1 is set:
                    if {jackpotbilettiklandi.%player%} is false:
                        if player's balance is higher than or equal to arg-1:
                            if {jackpotkisi} is less than 150:
                                if arg-1 is between 1 and 50000000:
                                    if {jackpotgirdi.%player%} is false:
                                        send "&bJ&3ackpot &8► &eJackpota başarıyla katıldın!"
                                        add arg-1 to {jackpottoplam}
                                        add arg-1 to {jyatirdigimiktar.%player%}
                                        set {jackpotbilettiklandi.%player%} to false
                                        add player to {jackpottakiler::*}
                                        set {jackpottür.%player%} to "Para"
                                        add 1 to {jackpotkisi}
                                        set {jackpotgirdi.%player%} to true
                                        remove arg-1 from player's balance
                                        set {jackpotgirdi.%player%} to true
                                        set {jackpotyatirmabasladi} to true
                                        set {jackpotgirdi1taneadam} to true
                                        loop {jackpottakiler::*}:
                                            set {sans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                                        execute console command "/tm abc &bJ&3ackpot &8► &a%player% &eisimli oyuncu Para ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
                                    else:
                                        send "&bJ&3ackpot &8► &cZaten Jackpota Katılmışsın!"
                                else:
                                    send "&bJ&3ackpot &8► &7En az &61TL &7en fazla &650.000.000TL &7yatırabilirsiniz."
                            else:
                                send "&bJ&3ackpot &8► &720 Kişiden Fazlası Jackpota Katılamaz!"                           
                        else:
                            send "&bJ&3ackpot &8► &cYeterli Miktarda Paran Yok!"
                    else:
                        if {jackpotkisi} is less than 150:
                            if {jackpotgirdi.%player%} is false:
                                send "&bJ&3ackpot &8► &eJackpota başarıyla katıldın!"
                                add arg-1 to {jackpottoplam}
                                add arg-1 to {jyatirdigimiktar.%player%}
                                set {jackpotbilettiklandi.%player%} to false
                                add player to {jackpottakiler::*}
                                add 1 to {jackpotkisi}
                                set {jackpotgirdi.%player%} to true
                                remove arg-1 from player's balance
                                set {jackpottür.%player%} to "Bilet"
                                set {jackpotgirdi.%player%} to true
                                set {jackpotyatirmabasladi} to true
                                set {jackpotgirdi1taneadam} to true
                                loop {jackpottakiler::*}:
                                    set {sans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                                broadcast "&bJ&3ackpot &8► &a%player% &eisimli oyuncu Bilet ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
                else:
                    send "&bJ&3ackpot &8► &cMiktar Yazmadın!"
            else:
                send "&bJ&3ackpot &8► &cJackpot Şuanda Kapalı" to player
        else:
            close player's inventory
            open chest with 6 rows named "&8Jackpot" to player
            wait a tick
            set {_x} to 0
            loop {jackpottakiler::*}:
                format slot {_x} of player with loop-value's skull named "&e&l%loop-value%" with lore "||&aYatırdığı Miktar: &f%{jyatirdigimiktar.%loop-value%}% TL||||&aŞans: &f%%%{sans.%loop-value%}%" to be unstealable
                add 1 to {_x}
            if inventory name of current inventory of player is "&8Jackpot":
                format slot 45 of player with stained glass named "" to close
                format slot 46 of player with stained glass named "" to close
                format slot 52 of player with stained glass named "" to close
                format slot 53 of player with stained glass named "" to close
                format slot 47 of player with book named "&e&nAmacı Nedir?" with lore "||&eHerkesin para kazanması için oluşturulmuştur.||&eKatılmak için &b/jackpot <miktar> &eyazın." to close
                format slot 50 of player with redstone named "&e&nÖnceki Oyun" with lore "||&aKazanan: &f%{jsonkazanan}%||&aŞansı: &f%%%{joncekisans.%{jsonkazanan}%}%||&aYatırdığı para: &f%{joncekimiktar.%{jsonkazanan}%}% TL||&aKazandığı para: &f%{joncekitoplam}% TL||&aTür: &f%{jackpottürübelli.%{jsonkazanan}%}%" to close
                format slot 51 of player with lapis block named "&e&nJackPot" with lore "&aJackpottaki para: &f%{jackpottoplam}% TL" to close
                if {jackpotkalansure} is not "Kapalı":
                    format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &f%{jackpotkalansure}% dakika||||&aTıklayarak Hemen başlatabilirsin!" to close then run [execute player command "/jackpotbaslat"]
                else:
                    format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &c%{jackpotkalansure}%" to close
                    
on inventory click:
    if inventory name of current inventory of player is "&8Jackpot":
        cancel event
    

every 1 minutes:
    if {jackpotdurum} is true:
        if {jackpotbasladi} is false:
            if {jackpotkalansure} is equal to 1:
                if {jackpotkisi} is between 2 and 150:
                    broadcast "&bJ&3ackpot &8► &eJackpot &65 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &64 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &63 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &62 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &61 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    loop {jackpottakiler::*}:
                        set {kazanicaksans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                        loop {kazanicaksans.%loop-value%} times:
                            add loop-value-1 to {_jackpotbelli::*}
                    set {jackpotbasladi} to true
                    close {jackpottakiler::*}'s inventory
                    wait 4 ticks
                    loop 12 times:
                        open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
                        set {jkazanan} to random element out of {_jackpotbelli::*}
                        play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
                        format slot 13 of {jackpottakiler::*} with skull of {jkazanan} named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
                        wait 1 seconds
                    close {jackpottakiler::*}'s inventory
                    play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
                    loop 200 times:
                        broadcast " "
                    add 1 to {jackpotkazanma.%{jkazanan}%}
                    set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
                    add {jackpottoplam} to {jkazanilanpara}
                    broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
                    broadcast ""
                    broadcast "   &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
                    broadcast "   &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
                    broadcast ""
                    broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
                    execute console command "eco give %{jkazanan}% %{jackpottoplam}%"
                    set {jackpotkisi} to 0
                    set {jkazanilanpara} to 0
                    set {jsonkazanan} to {jkazanan}
                    set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
                    set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
                    set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
                    delete {jkazanan}
                    loop {jackpottakiler::*}:
                        set {jyatirdigimiktar.%loop-value%} to 0
                        set {jackpotgirdi.%loop-value%} to false
                    set {jackpotyatirmabasladi} to false
                    set {jackpotbasladi} to false
                    set {joncekitoplam} to {jackpottoplam}
                    set {jackpottoplam} to 0
                    set {jackpotkalansure} to 5
                    delete {jackpottakiler::*}
                else:
                    broadcast "&bJ&3ackpot &8► &7Jackpotta Yeterli Oyuncu olmadığı için Başlamadı."
                    set {jackpotkalansure} to 5
            else:
                if {jackpotkalansure} is not "Kapalı":
                    remove 1 from {jackpotkalansure}
                    broadcast "&bJ&3ackpot &8► &7Jackpotun Başlamasına Son &6%{jackpotkalansure}% Dakika &7Kaldı, Bilgi için &a/jackpot"
                
                
command /jackpotbaslat:
    permission: jackpotbaslat
    trigger:
        broadcast "&bJ&3ackpot &8► &eJackpot &65 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &64 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &63 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &62 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &61 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        loop {jackpottakiler::*}:
            set {kazanicaksans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
            loop {kazanicaksans.%loop-value%} times:
                add loop-value-1 to {_jackpotbelli::*}
        set {jackpotbasladi} to true
        close {jackpottakiler::*}'s inventory
        wait 4 ticks
        loop 12 times:
            open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
            set {jkazanan} to random element out of {_jackpotbelli::*}
            play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
            format slot 13 of {jackpottakiler::*} with {jkazanan}'s skull named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
            wait 0.4 seconds
        close {jackpottakiler::*}'s inventory
        play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
        loop 200 times:
            broadcast " "
        add 1 to {jackpotkazanma.%{jkazanan}%}
        set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
        add {jackpottoplam} to {jkazanilanpara}
        broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
        broadcast ""
        broadcast "   &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
        broadcast "   &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
        broadcast ""
        broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
        execute console command "eco give %{jkazanan}% %{jkazanilanpara}%"
        set {jackpotkisi} to 0
        set {jsonkazanan} to {jkazanan}
        set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
        set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
        set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
        delete {jkazanan}
        set {jkazanilanpara} to 0
        loop {jackpottakiler::*}:
            set {jyatirdigimiktar.%loop-value%} to 0
            set {jackpotgirdi.%loop-value%} to false
        set {jackpotyatirmabasladi} to false
        set {jackpotbasladi} to false
        set {joncekitoplam} to {jackpottoplam}
        set {jackpottoplam} to 0
        set {jackpotkalansure} to 5
        delete {jackpottakiler::*}

        
                
                
command /jackpotdurum [<text>]:
    permission: jackpotdurum
    trigger:
        if arg-1 is "ac":
            if {jackpotdurum} is false:
                set {jackpotdurum} to true
                send "&bJ&3ackpot &8► &7Jackpot Başarıyla &aAçtın"
                broadcast "&bJ&3ackpot &8► &7Jackpot Yetkili Tarafından &aAçıldı"
                set {jackpotkalansure} to 5
            else:
                send "&bJ&3ackpot &8► &7Zaten Jackpot &aAçık"
        if arg-1 is "kapat":
            if {jackpotdurum} is true:
                set {jackpotdurum} to false
                send "&bJ&3ackpot &8► &7Jackpot Başarıyla &cKapattın"
                broadcast "&bJ&3ackpot &8► &7Jackpot Yetkili Tarafından &cKapatıldı"
                set {jackpotkalansure} to "Kapalı"
            else:
                send "&bJ&3ackpot &8► &7Zaten Jackpot &cKapalı"
                
command /jackpotyardım:
    trigger:
        if player has permission "op":
            loop 300 times:
                send " "
            send " &7Jackpota Katılmak için &6/jackpot <miktar>"
            send " &7Jackpot durumunu değiştirmek için &6/jackpotdurum &6<&aaç&6,&ckapat&6>"
            send " &7Jackpotu Hızlı bir şekilde Kısa yoldan başlatmak için &6/jackpotbaslat"
            send " "
            send " &7Yapımcı: &6&l"
        else:
            loop 300 times:
                send " "
            send " &7Jackpota Katılmak için &6/jackpot <miktar>"
            send " "
            send " &7Yapımcı: &6&l"
            

        
        
on inventory click:
    if inventory name of player's current inventory is "Jackpot":
        cancel event
        
        
command /herkesebiletver [<integer>]:
    permission: herkesebiletver
    permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
    executable by: players and console
    trigger:
        if arg-1 is set:
            if command sender is not console:
                loop all players:
                    give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
                broadcast "&c&lBILET &8» &6%player% &7isimli yetkili herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
            else:
                loop all players:
                    give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
                broadcast "&c&lBILET &8» &6Console &7herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
        else:
            send "&c&lHATA &8» &7Bilet miktarı girmedin!"

        
        
command /jackpotbiletver [<player>] [<integer>]:
    permission: jackpotbiletver
    permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
    executable by: players and console
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                if command sender is not console:
                    send "&c&lJACKPOTBILET &8» &6%arg-1% &7isimli oyuncuya &b%arg-2% TL &7Jackpot Bilet verildi!" to player
                    send "&c&lJACKPOTBILET &8» &6%player% &7isimli yetkili sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
                    give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
                else:
                    send "&c&lJACKPOTBILET &8» &6Console &7sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
                    give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
            else:
                send "&c&lHATA &8» &7Bilet miktarı girmedin!"
        else:
            send "&c&lHATA &8» &7Oyuncu ismi girmedin!"
            
            
on rightclick with paper:
    if "%name of player's tool%" contains "&6&lJACKPOTBILET":
        if {jackpotdurum} is true:
            if {jackpotgirdi.%player%} is false:
                if {jackpotbilettiklandi.%player%} is false:
                    set {_jackpotbiletmiktar} to "%numbers of uncoloured name of player's tool%"
                    set {jackpotbilettiklandi.%player%} to true
                    remove 1 of player's tool from player's inventory
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l3" for 1 seconds
                    wait 1 seconds
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l2" for 1 seconds
                    wait 1 seconds
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l1" for 1 seconds
                    wait 1 seconds
                    send player title "&6&lBILET" with subtitle "&7Miktar &8» &b%{_jackpotbiletmiktar}% TL" for 2 seconds
                    wait 1 seconds
                    execute player command "jackpot %{_jackpotbiletmiktar}%"
                else:
                    send "&6&lJACKPOTBILET &8» &7Zaten Bilet kullandın Kullandığın bilet &8» &6%numbers of uncoloured name of player's tool% TL"
            else:
                send "&bJ&3ackpot &8► &cZaten Jackpota Katılmışsın!"
        else:
            send "&bJ&3ackpot &8► &cJackpot Şuanda Kapalı" to player
bi paketimin içinde vardı böyle denermisiniz?

b
 

Kamil797

Bir Kömür Göründü Kaptanım!

Discord:

KamiL#7451

Katılım
2 Ağustos 2018
Mesajlar
135
Elmaslar
37
Puanlar
9.120
Yaş
26
Kod:
variables:
    {jackpottoplam} = 0
    {jyatirdigimiktar.%player%} = 0
    {jackpotkalansure} = 5
    {jackpotgirdi.%player%} = false
    {jackpotdurum} = false
    {jackpotgirdi1taneadam} = false
    {jackpotbilettiklandi.%player%} = false


command /jackpot [<number>]:
    trigger:
        if arg-1 is set:
            if {jackpotdurum} is true:
                if arg-1 is set:
                    if {jackpotbilettiklandi.%player%} is false:
                        if player's balance is higher than or equal to arg-1:
                            if {jackpotkisi} is less than 150:
                                if arg-1 is between 1 and 50000000:
                                    if {jackpotgirdi.%player%} is false:
                                        send "&bJ&3ackpot &8► &eJackpota başarıyla katıldın!"
                                        add arg-1 to {jackpottoplam}
                                        add arg-1 to {jyatirdigimiktar.%player%}
                                        set {jackpotbilettiklandi.%player%} to false
                                        add player to {jackpottakiler::*}
                                        set {jackpottür.%player%} to "Para"
                                        add 1 to {jackpotkisi}
                                        set {jackpotgirdi.%player%} to true
                                        remove arg-1 from player's balance
                                        set {jackpotgirdi.%player%} to true
                                        set {jackpotyatirmabasladi} to true
                                        set {jackpotgirdi1taneadam} to true
                                        loop {jackpottakiler::*}:
                                            set {sans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                                        execute console command "/tm abc &bJ&3ackpot &8► &a%player% &eisimli oyuncu Para ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
                                    else:
                                        send "&bJ&3ackpot &8► &cZaten Jackpota Katılmışsın!"
                                else:
                                    send "&bJ&3ackpot &8► &7En az &61TL &7en fazla &650.000.000TL &7yatırabilirsiniz."
                            else:
                                send "&bJ&3ackpot &8► &720 Kişiden Fazlası Jackpota Katılamaz!"                          
                        else:
                            send "&bJ&3ackpot &8► &cYeterli Miktarda Paran Yok!"
                    else:
                        if {jackpotkisi} is less than 150:
                            if {jackpotgirdi.%player%} is false:
                                send "&bJ&3ackpot &8► &eJackpota başarıyla katıldın!"
                                add arg-1 to {jackpottoplam}
                                add arg-1 to {jyatirdigimiktar.%player%}
                                set {jackpotbilettiklandi.%player%} to false
                                add player to {jackpottakiler::*}
                                add 1 to {jackpotkisi}
                                set {jackpotgirdi.%player%} to true
                                remove arg-1 from player's balance
                                set {jackpottür.%player%} to "Bilet"
                                set {jackpotgirdi.%player%} to true
                                set {jackpotyatirmabasladi} to true
                                set {jackpotgirdi1taneadam} to true
                                loop {jackpottakiler::*}:
                                    set {sans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                                broadcast "&bJ&3ackpot &8► &a%player% &eisimli oyuncu Bilet ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
                else:
                    send "&bJ&3ackpot &8► &cMiktar Yazmadın!"
            else:
                send "&bJ&3ackpot &8► &cJackpot Şuanda Kapalı" to player
        else:
            close player's inventory
            open chest with 6 rows named "&8Jackpot" to player
            wait a tick
            set {_x} to 0
            loop {jackpottakiler::*}:
                format slot {_x} of player with loop-value's skull named "&e&l%loop-value%" with lore "||&aYatırdığı Miktar: &f%{jyatirdigimiktar.%loop-value%}% TL||||&aŞans: &f%%%{sans.%loop-value%}%" to be unstealable
                add 1 to {_x}
            if inventory name of current inventory of player is "&8Jackpot":
                format slot 45 of player with stained glass named "" to close
                format slot 46 of player with stained glass named "" to close
                format slot 52 of player with stained glass named "" to close
                format slot 53 of player with stained glass named "" to close
                format slot 47 of player with book named "&e&nAmacı Nedir?" with lore "||&eHerkesin para kazanması için oluşturulmuştur.||&eKatılmak için &b/jackpot <miktar> &eyazın." to close
                format slot 50 of player with redstone named "&e&nÖnceki Oyun" with lore "||&aKazanan: &f%{jsonkazanan}%||&aŞansı: &f%%%{joncekisans.%{jsonkazanan}%}%||&aYatırdığı para: &f%{joncekimiktar.%{jsonkazanan}%}% TL||&aKazandığı para: &f%{joncekitoplam}% TL||&aTür: &f%{jackpottürübelli.%{jsonkazanan}%}%" to close
                format slot 51 of player with lapis block named "&e&nJackPot" with lore "&aJackpottaki para: &f%{jackpottoplam}% TL" to close
                if {jackpotkalansure} is not "Kapalı":
                    format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &f%{jackpotkalansure}% dakika||||&aTıklayarak Hemen başlatabilirsin!" to close then run [execute player command "/jackpotbaslat"]
                else:
                    format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &c%{jackpotkalansure}%" to close
                   
on inventory click:
    if inventory name of current inventory of player is "&8Jackpot":
        cancel event
   

every 1 minutes:
    if {jackpotdurum} is true:
        if {jackpotbasladi} is false:
            if {jackpotkalansure} is equal to 1:
                if {jackpotkisi} is between 2 and 150:
                    broadcast "&bJ&3ackpot &8► &eJackpot &65 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &64 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &63 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &62 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &61 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    loop {jackpottakiler::*}:
                        set {kazanicaksans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                        loop {kazanicaksans.%loop-value%} times:
                            add loop-value-1 to {_jackpotbelli::*}
                    set {jackpotbasladi} to true
                    close {jackpottakiler::*}'s inventory
                    wait 4 ticks
                    loop 12 times:
                        open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
                        set {jkazanan} to random element out of {_jackpotbelli::*}
                        play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
                        format slot 13 of {jackpottakiler::*} with skull of {jkazanan} named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
                        wait 1 seconds
                    close {jackpottakiler::*}'s inventory
                    play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
                    loop 200 times:
                        broadcast " "
                    add 1 to {jackpotkazanma.%{jkazanan}%}
                    set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
                    add {jackpottoplam} to {jkazanilanpara}
                    broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
                    broadcast ""
                    broadcast "   &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
                    broadcast "   &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
                    broadcast ""
                    broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
                    execute console command "eco give %{jkazanan}% %{jackpottoplam}%"
                    set {jackpotkisi} to 0
                    set {jkazanilanpara} to 0
                    set {jsonkazanan} to {jkazanan}
                    set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
                    set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
                    set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
                    delete {jkazanan}
                    loop {jackpottakiler::*}:
                        set {jyatirdigimiktar.%loop-value%} to 0
                        set {jackpotgirdi.%loop-value%} to false
                    set {jackpotyatirmabasladi} to false
                    set {jackpotbasladi} to false
                    set {joncekitoplam} to {jackpottoplam}
                    set {jackpottoplam} to 0
                    set {jackpotkalansure} to 5
                    delete {jackpottakiler::*}
                else:
                    broadcast "&bJ&3ackpot &8► &7Jackpotta Yeterli Oyuncu olmadığı için Başlamadı."
                    set {jackpotkalansure} to 5
            else:
                if {jackpotkalansure} is not "Kapalı":
                    remove 1 from {jackpotkalansure}
                    broadcast "&bJ&3ackpot &8► &7Jackpotun Başlamasına Son &6%{jackpotkalansure}% Dakika &7Kaldı, Bilgi için &a/jackpot"
               
               
command /jackpotbaslat:
    permission: jackpotbaslat
    trigger:
        broadcast "&bJ&3ackpot &8► &eJackpot &65 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &64 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &63 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &62 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &61 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        loop {jackpottakiler::*}:
            set {kazanicaksans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
            loop {kazanicaksans.%loop-value%} times:
                add loop-value-1 to {_jackpotbelli::*}
        set {jackpotbasladi} to true
        close {jackpottakiler::*}'s inventory
        wait 4 ticks
        loop 12 times:
            open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
            set {jkazanan} to random element out of {_jackpotbelli::*}
            play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
            format slot 13 of {jackpottakiler::*} with {jkazanan}'s skull named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
            wait 0.4 seconds
        close {jackpottakiler::*}'s inventory
        play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
        loop 200 times:
            broadcast " "
        add 1 to {jackpotkazanma.%{jkazanan}%}
        set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
        add {jackpottoplam} to {jkazanilanpara}
        broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
        broadcast ""
        broadcast "   &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
        broadcast "   &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
        broadcast ""
        broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
        execute console command "eco give %{jkazanan}% %{jkazanilanpara}%"
        set {jackpotkisi} to 0
        set {jsonkazanan} to {jkazanan}
        set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
        set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
        set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
        delete {jkazanan}
        set {jkazanilanpara} to 0
        loop {jackpottakiler::*}:
            set {jyatirdigimiktar.%loop-value%} to 0
            set {jackpotgirdi.%loop-value%} to false
        set {jackpotyatirmabasladi} to false
        set {jackpotbasladi} to false
        set {joncekitoplam} to {jackpottoplam}
        set {jackpottoplam} to 0
        set {jackpotkalansure} to 5
        delete {jackpottakiler::*}

       
               
               
command /jackpotdurum [<text>]:
    permission: jackpotdurum
    trigger:
        if arg-1 is "ac":
            if {jackpotdurum} is false:
                set {jackpotdurum} to true
                send "&bJ&3ackpot &8► &7Jackpot Başarıyla &aAçtın"
                broadcast "&bJ&3ackpot &8► &7Jackpot Yetkili Tarafından &aAçıldı"
                set {jackpotkalansure} to 5
            else:
                send "&bJ&3ackpot &8► &7Zaten Jackpot &aAçık"
        if arg-1 is "kapat":
            if {jackpotdurum} is true:
                set {jackpotdurum} to false
                send "&bJ&3ackpot &8► &7Jackpot Başarıyla &cKapattın"
                broadcast "&bJ&3ackpot &8► &7Jackpot Yetkili Tarafından &cKapatıldı"
                set {jackpotkalansure} to "Kapalı"
            else:
                send "&bJ&3ackpot &8► &7Zaten Jackpot &cKapalı"
               
command /jackpotyardım:
    trigger:
        if player has permission "op":
            loop 300 times:
                send " "
            send " &7Jackpota Katılmak için &6/jackpot <miktar>"
            send " &7Jackpot durumunu değiştirmek için &6/jackpotdurum &6<&aaç&6,&ckapat&6>"
            send " &7Jackpotu Hızlı bir şekilde Kısa yoldan başlatmak için &6/jackpotbaslat"
            send " "
            send " &7Yapımcı: &6&l"
        else:
            loop 300 times:
                send " "
            send " &7Jackpota Katılmak için &6/jackpot <miktar>"
            send " "
            send " &7Yapımcı: &6&l"
           

       
       
on inventory click:
    if inventory name of player's current inventory is "Jackpot":
        cancel event
       
       
command /herkesebiletver [<integer>]:
    permission: herkesebiletver
    permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
    executable by: players and console
    trigger:
        if arg-1 is set:
            if command sender is not console:
                loop all players:
                    give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
                broadcast "&c&lBILET &8» &6%player% &7isimli yetkili herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
            else:
                loop all players:
                    give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
                broadcast "&c&lBILET &8» &6Console &7herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
        else:
            send "&c&lHATA &8» &7Bilet miktarı girmedin!"

       
       
command /jackpotbiletver [<player>] [<integer>]:
    permission: jackpotbiletver
    permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
    executable by: players and console
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                if command sender is not console:
                    send "&c&lJACKPOTBILET &8» &6%arg-1% &7isimli oyuncuya &b%arg-2% TL &7Jackpot Bilet verildi!" to player
                    send "&c&lJACKPOTBILET &8» &6%player% &7isimli yetkili sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
                    give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
                else:
                    send "&c&lJACKPOTBILET &8» &6Console &7sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
                    give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
            else:
                send "&c&lHATA &8» &7Bilet miktarı girmedin!"
        else:
            send "&c&lHATA &8» &7Oyuncu ismi girmedin!"
           
           
on rightclick with paper:
    if "%name of player's tool%" contains "&6&lJACKPOTBILET":
        if {jackpotdurum} is true:
            if {jackpotgirdi.%player%} is false:
                if {jackpotbilettiklandi.%player%} is false:
                    set {_jackpotbiletmiktar} to "%numbers of uncoloured name of player's tool%"
                    set {jackpotbilettiklandi.%player%} to true
                    remove 1 of player's tool from player's inventory
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l3" for 1 seconds
                    wait 1 seconds
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l2" for 1 seconds
                    wait 1 seconds
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l1" for 1 seconds
                    wait 1 seconds
                    send player title "&6&lBILET" with subtitle "&7Miktar &8» &b%{_jackpotbiletmiktar}% TL" for 2 seconds
                    wait 1 seconds
                    execute player command "jackpot %{_jackpotbiletmiktar}%"
                else:
                    send "&6&lJACKPOTBILET &8» &7Zaten Bilet kullandın Kullandığın bilet &8» &6%numbers of uncoloured name of player's tool% TL"
            else:
                send "&bJ&3ackpot &8► &cZaten Jackpota Katılmışsın!"
        else:
            send "&bJ&3ackpot &8► &cJackpot Şuanda Kapalı" to player
bi paketimin içinde vardı böyle denermisiniz?

b
Tamam, deneyip haber etcem
 

Kamil797

Bir Kömür Göründü Kaptanım!

Discord:

KamiL#7451

Katılım
2 Ağustos 2018
Mesajlar
135
Elmaslar
37
Puanlar
9.120
Yaş
26
Kod:
variables:
    {jackpottoplam} = 0
    {jyatirdigimiktar.%player%} = 0
    {jackpotkalansure} = 5
    {jackpotgirdi.%player%} = false
    {jackpotdurum} = false
    {jackpotgirdi1taneadam} = false
    {jackpotbilettiklandi.%player%} = false


command /jackpot [<number>]:
    trigger:
        if arg-1 is set:
            if {jackpotdurum} is true:
                if arg-1 is set:
                    if {jackpotbilettiklandi.%player%} is false:
                        if player's balance is higher than or equal to arg-1:
                            if {jackpotkisi} is less than 150:
                                if arg-1 is between 1 and 50000000:
                                    if {jackpotgirdi.%player%} is false:
                                        send "&bJ&3ackpot &8► &eJackpota başarıyla katıldın!"
                                        add arg-1 to {jackpottoplam}
                                        add arg-1 to {jyatirdigimiktar.%player%}
                                        set {jackpotbilettiklandi.%player%} to false
                                        add player to {jackpottakiler::*}
                                        set {jackpottür.%player%} to "Para"
                                        add 1 to {jackpotkisi}
                                        set {jackpotgirdi.%player%} to true
                                        remove arg-1 from player's balance
                                        set {jackpotgirdi.%player%} to true
                                        set {jackpotyatirmabasladi} to true
                                        set {jackpotgirdi1taneadam} to true
                                        loop {jackpottakiler::*}:
                                            set {sans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                                        execute console command "/tm abc &bJ&3ackpot &8► &a%player% &eisimli oyuncu Para ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
                                    else:
                                        send "&bJ&3ackpot &8► &cZaten Jackpota Katılmışsın!"
                                else:
                                    send "&bJ&3ackpot &8► &7En az &61TL &7en fazla &650.000.000TL &7yatırabilirsiniz."
                            else:
                                send "&bJ&3ackpot &8► &720 Kişiden Fazlası Jackpota Katılamaz!"                          
                        else:
                            send "&bJ&3ackpot &8► &cYeterli Miktarda Paran Yok!"
                    else:
                        if {jackpotkisi} is less than 150:
                            if {jackpotgirdi.%player%} is false:
                                send "&bJ&3ackpot &8► &eJackpota başarıyla katıldın!"
                                add arg-1 to {jackpottoplam}
                                add arg-1 to {jyatirdigimiktar.%player%}
                                set {jackpotbilettiklandi.%player%} to false
                                add player to {jackpottakiler::*}
                                add 1 to {jackpotkisi}
                                set {jackpotgirdi.%player%} to true
                                remove arg-1 from player's balance
                                set {jackpottür.%player%} to "Bilet"
                                set {jackpotgirdi.%player%} to true
                                set {jackpotyatirmabasladi} to true
                                set {jackpotgirdi1taneadam} to true
                                loop {jackpottakiler::*}:
                                    set {sans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                                broadcast "&bJ&3ackpot &8► &a%player% &eisimli oyuncu Bilet ile Jackpota &b%arg-1% TL &eyatırdı, Şans &8» &6%%%{sans.%player%}%"
                else:
                    send "&bJ&3ackpot &8► &cMiktar Yazmadın!"
            else:
                send "&bJ&3ackpot &8► &cJackpot Şuanda Kapalı" to player
        else:
            close player's inventory
            open chest with 6 rows named "&8Jackpot" to player
            wait a tick
            set {_x} to 0
            loop {jackpottakiler::*}:
                format slot {_x} of player with loop-value's skull named "&e&l%loop-value%" with lore "||&aYatırdığı Miktar: &f%{jyatirdigimiktar.%loop-value%}% TL||||&aŞans: &f%%%{sans.%loop-value%}%" to be unstealable
                add 1 to {_x}
            if inventory name of current inventory of player is "&8Jackpot":
                format slot 45 of player with stained glass named "" to close
                format slot 46 of player with stained glass named "" to close
                format slot 52 of player with stained glass named "" to close
                format slot 53 of player with stained glass named "" to close
                format slot 47 of player with book named "&e&nAmacı Nedir?" with lore "||&eHerkesin para kazanması için oluşturulmuştur.||&eKatılmak için &b/jackpot <miktar> &eyazın." to close
                format slot 50 of player with redstone named "&e&nÖnceki Oyun" with lore "||&aKazanan: &f%{jsonkazanan}%||&aŞansı: &f%%%{joncekisans.%{jsonkazanan}%}%||&aYatırdığı para: &f%{joncekimiktar.%{jsonkazanan}%}% TL||&aKazandığı para: &f%{joncekitoplam}% TL||&aTür: &f%{jackpottürübelli.%{jsonkazanan}%}%" to close
                format slot 51 of player with lapis block named "&e&nJackPot" with lore "&aJackpottaki para: &f%{jackpottoplam}% TL" to close
                if {jackpotkalansure} is not "Kapalı":
                    format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &f%{jackpotkalansure}% dakika||||&aTıklayarak Hemen başlatabilirsin!" to close then run [execute player command "/jackpotbaslat"]
                else:
                    format slot 48 of player with clock named "&e&nSüre" with lore "||&aBaşlamasına kalan: &c%{jackpotkalansure}%" to close
                   
on inventory click:
    if inventory name of current inventory of player is "&8Jackpot":
        cancel event
   

every 1 minutes:
    if {jackpotdurum} is true:
        if {jackpotbasladi} is false:
            if {jackpotkalansure} is equal to 1:
                if {jackpotkisi} is between 2 and 150:
                    broadcast "&bJ&3ackpot &8► &eJackpot &65 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &64 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &63 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &62 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    broadcast "&bJ&3ackpot &8► &eJackpot &61 Saniye &eiçinde başlıyor!"
                    wait 1 seconds
                    loop {jackpottakiler::*}:
                        set {kazanicaksans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
                        loop {kazanicaksans.%loop-value%} times:
                            add loop-value-1 to {_jackpotbelli::*}
                    set {jackpotbasladi} to true
                    close {jackpottakiler::*}'s inventory
                    wait 4 ticks
                    loop 12 times:
                        open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
                        set {jkazanan} to random element out of {_jackpotbelli::*}
                        play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
                        format slot 13 of {jackpottakiler::*} with skull of {jkazanan} named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
                        wait 1 seconds
                    close {jackpottakiler::*}'s inventory
                    play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
                    loop 200 times:
                        broadcast " "
                    add 1 to {jackpotkazanma.%{jkazanan}%}
                    set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
                    add {jackpottoplam} to {jkazanilanpara}
                    broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
                    broadcast ""
                    broadcast "   &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
                    broadcast "   &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
                    broadcast ""
                    broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
                    execute console command "eco give %{jkazanan}% %{jackpottoplam}%"
                    set {jackpotkisi} to 0
                    set {jkazanilanpara} to 0
                    set {jsonkazanan} to {jkazanan}
                    set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
                    set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
                    set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
                    delete {jkazanan}
                    loop {jackpottakiler::*}:
                        set {jyatirdigimiktar.%loop-value%} to 0
                        set {jackpotgirdi.%loop-value%} to false
                    set {jackpotyatirmabasladi} to false
                    set {jackpotbasladi} to false
                    set {joncekitoplam} to {jackpottoplam}
                    set {jackpottoplam} to 0
                    set {jackpotkalansure} to 5
                    delete {jackpottakiler::*}
                else:
                    broadcast "&bJ&3ackpot &8► &7Jackpotta Yeterli Oyuncu olmadığı için Başlamadı."
                    set {jackpotkalansure} to 5
            else:
                if {jackpotkalansure} is not "Kapalı":
                    remove 1 from {jackpotkalansure}
                    broadcast "&bJ&3ackpot &8► &7Jackpotun Başlamasına Son &6%{jackpotkalansure}% Dakika &7Kaldı, Bilgi için &a/jackpot"
               
               
command /jackpotbaslat:
    permission: jackpotbaslat
    trigger:
        broadcast "&bJ&3ackpot &8► &eJackpot &65 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &64 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &63 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &62 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        broadcast "&bJ&3ackpot &8► &eJackpot &61 Saniye &eiçinde başlıyor!"
        wait 1 seconds
        loop {jackpottakiler::*}:
            set {kazanicaksans.%loop-value%} to  (1/({jackpottoplam}/{jyatirdigimiktar.%loop-value%}))*100
            loop {kazanicaksans.%loop-value%} times:
                add loop-value-1 to {_jackpotbelli::*}
        set {jackpotbasladi} to true
        close {jackpottakiler::*}'s inventory
        wait 4 ticks
        loop 12 times:
            open chest with 3 rows named "Jackpot" to {jackpottakiler::*}
            set {jkazanan} to random element out of {_jackpotbelli::*}
            play raw sound "random.orb" at {jackpottakiler::*} with pitch 1 volume 1
            format slot 13 of {jackpottakiler::*} with {jkazanan}'s skull named "&a%{jkazanan}% &8» &f%%%{kazanicaksans.%{jkazanan}%}%" to close
            wait 0.4 seconds
        close {jackpottakiler::*}'s inventory
        play raw sound "mob.ghast.death" at all players with pitch 1 volume 1
        loop 200 times:
            broadcast " "
        add 1 to {jackpotkazanma.%{jkazanan}%}
        set {jkazanilanpara} to ({jackpottoplam} / 100) * 75
        add {jackpottoplam} to {jkazanilanpara}
        broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
        broadcast ""
        broadcast "   &6» &a%{jkazanan}% &eJackpotdan &b%{jkazanilanpara}% TL &eKazandı, Komisyon &b%%25"
        broadcast "   &6» &aŞansı &8» &f%%%{kazanicaksans.%{jkazanan}%}%"
        broadcast ""
        broadcast "&b&m+---------&8[&r &6Jackpot &r&8]&b&m---------+"
        execute console command "eco give %{jkazanan}% %{jkazanilanpara}%"
        set {jackpotkisi} to 0
        set {jsonkazanan} to {jkazanan}
        set {joncekisans.%{jsonkazanan}%} to {kazanicaksans.%{jkazanan}%}
        set {joncekimiktar.%{jkazanan}%} to {jyatirdigimiktar.%{jkazanan}%}
        set {jackpottürübelli.%{jkazanan}%} to {jackpottür.%{jkazanan}%}
        delete {jkazanan}
        set {jkazanilanpara} to 0
        loop {jackpottakiler::*}:
            set {jyatirdigimiktar.%loop-value%} to 0
            set {jackpotgirdi.%loop-value%} to false
        set {jackpotyatirmabasladi} to false
        set {jackpotbasladi} to false
        set {joncekitoplam} to {jackpottoplam}
        set {jackpottoplam} to 0
        set {jackpotkalansure} to 5
        delete {jackpottakiler::*}

       
               
               
command /jackpotdurum [<text>]:
    permission: jackpotdurum
    trigger:
        if arg-1 is "ac":
            if {jackpotdurum} is false:
                set {jackpotdurum} to true
                send "&bJ&3ackpot &8► &7Jackpot Başarıyla &aAçtın"
                broadcast "&bJ&3ackpot &8► &7Jackpot Yetkili Tarafından &aAçıldı"
                set {jackpotkalansure} to 5
            else:
                send "&bJ&3ackpot &8► &7Zaten Jackpot &aAçık"
        if arg-1 is "kapat":
            if {jackpotdurum} is true:
                set {jackpotdurum} to false
                send "&bJ&3ackpot &8► &7Jackpot Başarıyla &cKapattın"
                broadcast "&bJ&3ackpot &8► &7Jackpot Yetkili Tarafından &cKapatıldı"
                set {jackpotkalansure} to "Kapalı"
            else:
                send "&bJ&3ackpot &8► &7Zaten Jackpot &cKapalı"
               
command /jackpotyardım:
    trigger:
        if player has permission "op":
            loop 300 times:
                send " "
            send " &7Jackpota Katılmak için &6/jackpot <miktar>"
            send " &7Jackpot durumunu değiştirmek için &6/jackpotdurum &6<&aaç&6,&ckapat&6>"
            send " &7Jackpotu Hızlı bir şekilde Kısa yoldan başlatmak için &6/jackpotbaslat"
            send " "
            send " &7Yapımcı: &6&l"
        else:
            loop 300 times:
                send " "
            send " &7Jackpota Katılmak için &6/jackpot <miktar>"
            send " "
            send " &7Yapımcı: &6&l"
           

       
       
on inventory click:
    if inventory name of player's current inventory is "Jackpot":
        cancel event
       
       
command /herkesebiletver [<integer>]:
    permission: herkesebiletver
    permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
    executable by: players and console
    trigger:
        if arg-1 is set:
            if command sender is not console:
                loop all players:
                    give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
                broadcast "&c&lBILET &8» &6%player% &7isimli yetkili herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
            else:
                loop all players:
                    give a paper named "&6&lBILET &8» &a%arg-1% TL" to loop-player
                broadcast "&c&lBILET &8» &6Console &7herkese &b%arg-1% TL &7Jackpot Bileti verdi!"
        else:
            send "&c&lHATA &8» &7Bilet miktarı girmedin!"

       
       
command /jackpotbiletver [<player>] [<integer>]:
    permission: jackpotbiletver
    permission message: &c&lHATA &8» &7Bu komutu kullanabilmek için yetkin yok!
    executable by: players and console
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                if command sender is not console:
                    send "&c&lJACKPOTBILET &8» &6%arg-1% &7isimli oyuncuya &b%arg-2% TL &7Jackpot Bilet verildi!" to player
                    send "&c&lJACKPOTBILET &8» &6%player% &7isimli yetkili sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
                    give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
                else:
                    send "&c&lJACKPOTBILET &8» &6Console &7sana &b%arg-2% TL &7Jackpot Bileti verdi!" to arg-1
                    give a paper named "&6&lJACKPOTBILET &8» &a%arg-2% TL" to arg-1
            else:
                send "&c&lHATA &8» &7Bilet miktarı girmedin!"
        else:
            send "&c&lHATA &8» &7Oyuncu ismi girmedin!"
           
           
on rightclick with paper:
    if "%name of player's tool%" contains "&6&lJACKPOTBILET":
        if {jackpotdurum} is true:
            if {jackpotgirdi.%player%} is false:
                if {jackpotbilettiklandi.%player%} is false:
                    set {_jackpotbiletmiktar} to "%numbers of uncoloured name of player's tool%"
                    set {jackpotbilettiklandi.%player%} to true
                    remove 1 of player's tool from player's inventory
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l3" for 1 seconds
                    wait 1 seconds
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l2" for 1 seconds
                    wait 1 seconds
                    send player title "&7JackpotBilet Miktarı Algılanıyor!" with subtitle "&6&l1" for 1 seconds
                    wait 1 seconds
                    send player title "&6&lBILET" with subtitle "&7Miktar &8» &b%{_jackpotbiletmiktar}% TL" for 2 seconds
                    wait 1 seconds
                    execute player command "jackpot %{_jackpotbiletmiktar}%"
                else:
                    send "&6&lJACKPOTBILET &8» &7Zaten Bilet kullandın Kullandığın bilet &8» &6%numbers of uncoloured name of player's tool% TL"
            else:
                send "&bJ&3ackpot &8► &cZaten Jackpota Katılmışsın!"
        else:
            send "&bJ&3ackpot &8► &cJackpot Şuanda Kapalı" to player
bi paketimin içinde vardı böyle denermisiniz?

b
Ayni hata calismiyor
 

Unknown

projects.gg

Discord:

rudde#9029

Katılım
9 Nisan 2016
Mesajlar
422
Elmaslar
280
Puanlar
14.270
Minecraft
rudde

Buhari

Software Developer
Yönetici
Emektar
Onaylı Satıcı

Discord:

xBuhari

Katılım
6 Eylül 2017
Mesajlar
1.878
Elmaslar
1.008
Puanlar
18.150
Discord İzni
Minecraft
xBuhari
Sunucunuzda Factions eklentisi var mı ?
 
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı