Çözüldü bir konuda yardımcı olurmusunuz ?

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

GameFaver

GameFaver Hub Sunucu 1.8.x - 1.20.x
Katılım
9 Temmuz 2016
Mesajlar
54
Elmaslar
11
Puan
13.320
Minecraft
MortalYoung

Discord:

acscor

merhabalar ben şöyle bir skript istiyorum zor olurmu bilmiyorum yardımcı olursanız çok sevinirim şimdi bi yarışma yapıcam , yarışmayı bilenlere ödül verilecek ama şoyle birşey ben mesela atıyorum a vs b kim yener dedim bahisler açıldı millet bahisleri yatırdı a kişi yenerse ve bahisi a kişiye yatıran kişiler yatırdığı paranın 2x kazanmasını istiyorum böyle birşey yapma şansımız varmı ?
 
Merhaba,

Şunu denermısın dostum​

Alıntıdır
Kod:
#----- AYARLAR -----
options:
    p: &b[&6C&b] #Mesajlardaki prefix ayarıdır
    s: 20000 #En fazla oynanabilcek bahis miktarı ayarıdır
    2x: 50 #2x Şans ayarıdır
    4x: 25 #4x Şans ayarıdır
#----- AYARLAR -----

command /casino [<int>] [<text>]:
    trigger:
        if arg 1 is not set:
            send "&8&m--------------------------------------" to player
            send "{@p} &8&l/&a&lcasino &8&l<&a&lbahis&8&l> <&a&l2x&8&l,&a&l4x&8&l>" to player
            send "{@p} &6&l2x &c&lBahisin &6&l2 &c&lkatını alırsın. &6&lŞansın 100/{@2x} &c&lolur" to player
            send "{@p} &6&l4x &c&lBahisin &6&l4 &c&lkatını alırsın. &6&lŞansın 100/{@4x} &c&lolur" to player
            send "&8&m--------------------------------------" to player
        if arg-1 is set:
            if arg 2 is not set:
                send "&8&m--------------------------------------" to player
                send "{@p} &8&l/&a&lcasino &8&l<&a&lbahis&8&l> <&a&l2x&8&l,&a&l4x&8&l>" to player
                send "{@p} &6&l2x &c&lBahisin &6&l2 &c&lkatını alırsın. &6&lŞansın 100/{@2x} &c&lolur" to player
                send "{@p} &6&l4x &c&lBahisin &6&l4 &c&lkatını alırsın. &6&lŞansın 100/{@4x} &c&lolur" to player
                send "&8&m--------------------------------------" to player
            if arg-1 is set:
                if arg-2 is "2x":
                    set {c.%player%} to arg 1
                    if arg-1 is smaller than or equal to {@s}:
                        if arg-1 is greater than or equal to 1:
                            if player's balance is greater than or equal to {c.%player%}:
                                remove arg-1 from player's balance
                                send "{@p} &aHesabindan &c%arg-1%$ &aalindi." to player
                                send player title "&55" with subtitle "&bbahis: &d%arg-1% &bşans: &d100/{@2x}" for 1 seconds
                                wait 1 seconds
                                send player title "&54" for 1 seconds
                                wait 1 seconds
                                send player title "&53" for 1 seconds
                                wait 1 seconds
                                send player title "&52" for 1 seconds
                                wait 1 seconds
                                send player title "&51" for 1 seconds
                                wait 1 seconds
                                if chance of {@2x}%:
                                    set {para} to arg 1
                                    add arg 1 to {para}
                                    send player title "&aKazandin!" with subtitle "&a%{para}%$" for 1 seconds
                                    add {para} to player's account
                                    reset {para}
                                else:
                                    send player title "&cKaybettin!" with subtitle "&c%arg-1%$" for 1 seconds
                            else:
                                send "{@p} &c%arg-1%$ &aparan yok!"
                        else:
                            send "{@p} &aBahisiniz en az &c1 &aolmalı!"
                    else:
                        send "{@p} &aEn fazla girebilecegin bahis mikarı &c{@s}$"
                else if arg-2 is "4x":
                    set {c.%player%} to arg-1
                    if arg-1 is smaller than or equal to {@s}:
                        if arg-1 is greater than or equal to 1:
                            if player's balance is greater than or equal to {c.%player%}:
                                remove arg-1 from player's balance
                                send "{@p} &aHesabindan &c%arg-1%$ &aalindi." to player
                                send player title "&55" with subtitle "&bbahis: &d%arg-1% &bşans: &d100/{@4x}" for 1 seconds
                                wait 1 seconds
                                send player title "&54" for 1 seconds
                                wait 1 seconds
                                send player title "&53" for 1 seconds
                                wait 1 seconds
                                send player title "&52" for 1 seconds
                                wait 1 seconds
                                send player title "&51" for 1 seconds
                                wait 1 seconds
                                if chance of {@4x}%:
                                    set {para} to arg 1
                                    add arg-1*3 to {para}
                                    send player title "&aKazandin!" with subtitle "&a%{para}%$" for 1 seconds
                                    add {para} to player's account
                                    reset {para}
                                else:
                                    send player title "&cKaybettin!" with subtitle "&c%arg-1%$" for 1 seconds
                            else:
                                send "{@p} &c%arg-1%$ &aparan yok!"
                        else:
                            send "{@p} &aBahisiniz en az &c1 &aolmalı!"
                    else:
                        send "{@p} &aEn fazla girebilecegin bahis mikarı &c{@s}$"
 
Merhaba,

Şunu denermısın dostum​

Alıntıdır
Kod:
#----- AYARLAR -----
options:
    p: &b[&6C&b] #Mesajlardaki prefix ayarıdır
    s: 20000 #En fazla oynanabilcek bahis miktarı ayarıdır
    2x: 50 #2x Şans ayarıdır
    4x: 25 #4x Şans ayarıdır
#----- AYARLAR -----

command /casino [<int>] [<text>]:
    trigger:
        if arg 1 is not set:
            send "&8&m--------------------------------------" to player
            send "{@p} &8&l/&a&lcasino &8&l<&a&lbahis&8&l> <&a&l2x&8&l,&a&l4x&8&l>" to player
            send "{@p} &6&l2x &c&lBahisin &6&l2 &c&lkatını alırsın. &6&lŞansın 100/{@2x} &c&lolur" to player
            send "{@p} &6&l4x &c&lBahisin &6&l4 &c&lkatını alırsın. &6&lŞansın 100/{@4x} &c&lolur" to player
            send "&8&m--------------------------------------" to player
        if arg-1 is set:
            if arg 2 is not set:
                send "&8&m--------------------------------------" to player
                send "{@p} &8&l/&a&lcasino &8&l<&a&lbahis&8&l> <&a&l2x&8&l,&a&l4x&8&l>" to player
                send "{@p} &6&l2x &c&lBahisin &6&l2 &c&lkatını alırsın. &6&lŞansın 100/{@2x} &c&lolur" to player
                send "{@p} &6&l4x &c&lBahisin &6&l4 &c&lkatını alırsın. &6&lŞansın 100/{@4x} &c&lolur" to player
                send "&8&m--------------------------------------" to player
            if arg-1 is set:
                if arg-2 is "2x":
                    set {c.%player%} to arg 1
                    if arg-1 is smaller than or equal to {@s}:
                        if arg-1 is greater than or equal to 1:
                            if player's balance is greater than or equal to {c.%player%}:
                                remove arg-1 from player's balance
                                send "{@p} &aHesabindan &c%arg-1%$ &aalindi." to player
                                send player title "&55" with subtitle "&bbahis: &d%arg-1% &bşans: &d100/{@2x}" for 1 seconds
                                wait 1 seconds
                                send player title "&54" for 1 seconds
                                wait 1 seconds
                                send player title "&53" for 1 seconds
                                wait 1 seconds
                                send player title "&52" for 1 seconds
                                wait 1 seconds
                                send player title "&51" for 1 seconds
                                wait 1 seconds
                                if chance of {@2x}%:
                                    set {para} to arg 1
                                    add arg 1 to {para}
                                    send player title "&aKazandin!" with subtitle "&a%{para}%$" for 1 seconds
                                    add {para} to player's account
                                    reset {para}
                                else:
                                    send player title "&cKaybettin!" with subtitle "&c%arg-1%$" for 1 seconds
                            else:
                                send "{@p} &c%arg-1%$ &aparan yok!"
                        else:
                            send "{@p} &aBahisiniz en az &c1 &aolmalı!"
                    else:
                        send "{@p} &aEn fazla girebilecegin bahis mikarı &c{@s}$"
                else if arg-2 is "4x":
                    set {c.%player%} to arg-1
                    if arg-1 is smaller than or equal to {@s}:
                        if arg-1 is greater than or equal to 1:
                            if player's balance is greater than or equal to {c.%player%}:
                                remove arg-1 from player's balance
                                send "{@p} &aHesabindan &c%arg-1%$ &aalindi." to player
                                send player title "&55" with subtitle "&bbahis: &d%arg-1% &bşans: &d100/{@4x}" for 1 seconds
                                wait 1 seconds
                                send player title "&54" for 1 seconds
                                wait 1 seconds
                                send player title "&53" for 1 seconds
                                wait 1 seconds
                                send player title "&52" for 1 seconds
                                wait 1 seconds
                                send player title "&51" for 1 seconds
                                wait 1 seconds
                                if chance of {@4x}%:
                                    set {para} to arg 1
                                    add arg-1*3 to {para}
                                    send player title "&aKazandin!" with subtitle "&a%{para}%$" for 1 seconds
                                    add {para} to player's account
                                    reset {para}
                                else:
                                    send player title "&cKaybettin!" with subtitle "&c%arg-1%$" for 1 seconds
                            else:
                                send "{@p} &c%arg-1%$ &aparan yok!"
                        else:
                            send "{@p} &aBahisiniz en az &c1 &aolmalı!"
                    else:
                        send "{@p} &aEn fazla girebilecegin bahis mikarı &c{@s}$"
ama bu otomatik oynuyor her dk oynayabilecekler ben sadece 1 vs 1 atılırken 1 oyuncudan 1ini seçmelerini istiyorum
 
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