Minecraft Kazı Kazan Skript

lunixnetwork

Kullanıcı
Kullanıcı
Kod:
#
#    Bug bulursanız Discord Özelden bildirin! Discord: Barstezi#6460
#    Skript Tamamen lunixnetwork'ye aittir.
#    İzinsiz başka yerde paylaşılması yasaktır!
#
on first join:
    set {toplamkar.%player%} to 0
    set {toplamzarar.%player%} to 0
on join:
    set {kazıkazan} to true
command /kazıkazan [<text>] [<text>]:
    trigger:
        if arg 1 is not set:
            if arg 2 is not set:
                open chest with 1 rows named "&cKazıKazan" to player
                wait 3 tick
                format slot 0 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                format slot 1 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                format slot 2 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                format slot 3 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                format slot 4 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                format slot 5 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                format slot 6 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                format slot 7 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                format slot 8 of player with paper named "&eKazıKazan" with lore "&c0TL, 1M, 2M, 5M, 10M" to close then run [execute player command "kazıkazan al"]
                wait 1 tick
            if {kazıkazan} is true:
                send "&7&m&l==========&cSeyyar&7&m&l=========="
                send "&eHoşGeldin Abiciim."
                send "&e9 Tane KazıKazan'ım Vardır İstediğini Alabilirsin."
                send "&eHepsinin Şansı Aynıdır."
                send "&c0TL, 1M, 2M, 5M, 10M &eKazanabilirsin."
                send "&eKazıKazan Fiyatı &c1M&e'dir."
                send "&7&m&l==========&c↓Önemli↓&7&m&L=========="
                send "&eSeyyar Modu kapatıp/açmak için &c/kazıkazan ayarlar"
                send "&eBilgi için &c/kazıkazan bilgi/yardım/help"
                send "&7&m&l==========&cSeyyar&7&m&l=========="
        if arg 1 is "al":
            if arg 2 is not set:
                player's balance is greater than or equal to 1000000:
                    remove 1000000 from player's balance
                    execute console command "give %player% paper 1 name:&eKazıKazan"
                else:
                    send "&cYeterli Paran Yok, 1M Lazım."
        if arg 1 is "seyyar":
            if arg 2 is "aç" or "ac" or "on":
                if {kazıkazan} is false:
                send "&aSeyyar Mod Aktif." to player
                set {kazıkazan} to true
                stop
            if arg 2 is "kapat" or "kapa" or "off":
                if {kazıkazan} is true:
                send "&4Seyyar Mod Deaktif." to player
                set {kazıkazan} to false
        if arg 1 is "ayarlar":
            open chest with 2 rows named "&cKazıKazan Ayarlar" to player
            wait 3 tick
            format slot 2 of player with emerald block named "&aSeyyar Mod" with lore "&c>&aAktif" to close then run [execute player command "kazıkazan seyyar aç"]
            format slot 6 of player with redstone block named "&4Seyyar Mod" with lore "&c>&4Deaktif" to close then run [execute player command "kazıkazan seyyar kapat"]
            format slot 16 of player with paper named "&7Bilgi" to close then run [execute player command "kazıkazan bilgi"]
            format slot 17 of player with skull of ("MBB_Oyun" parsed as offlineplayer) named "&cYapımcı" with lore "&cMBB_Oyun2" to act unstealable
            wait 1 tick
        if arg 1 is "bilgi" or "yardım" or "help":
            send "&7&m&l==========&cBilgi&7&m&l=========="
            send "&7Bu skript şansa dayalı olarak para kazanmaya yarar."
            send "&7Elinize KazıKazan'ı alıp kazıyıp (sağ click) şansa göre &c0TL&7,&c 1M&7,&c 2M&7,&c 5M&7,&c 10M &7verir."
            send "&c/kazıkazan &7yazdığımızda sohbette çıkan seyyar modu kapamak için &c/kazıkazan ayarlar &7yazıp ordan kapatıp/açabilirsiniz."
            send "&c/kazıkazan bilgi &7ise bu yeri gösterir."
            send "&c/kazıkazan istatistik &7ne kadar &akâr&7/&4zarar&7 ettiğiniz hesaplayıp söyler."
            send "&7&m&l========&cKomutlar&7&m&l========"
            send "&c/kazıkazan"
            send "&c/kazıkazan bilgi"
            send "&c/kazıkazan ayarlar"
            send "&c/kazıkazan istatistik"
            send "&c/kazıkazan istatistik <player>"
            send "&7&m&l==========&cBilgi&7&m&l=========="
        if arg 1 is "istatistik":
            if arg 2 is not set:
                send "&7&m&l==========&cİstatistikler&7&m&l=========="
                send "&eOyuncu adı: %player%"
                send "&aToplam Kâr'ın: %{toplamkar.%player%}%"
                send "&4Toplam Zarar'ın: %{toplamzarar.%player%}%"
                send "&7&m&l==========&cİstatistikler&7&m&l=========="
            if arg 2 is set:
                send "&7&m&l==========&cİstatistikler&7&m&l=========="
                send "&eOyuncu adı: %arg-2%"
                send "&aToplam Kâr'ı: %{toplamkar.%arg-2%}%"
                send "&4Toplam Zarar'ı: %{toplamzarar.%arg-2%}%"
                send "&7&m&l==========&cİstatistikler&7&m&l=========="
on rightclick with a paper:
    if name of player's held item is "&eKazıKazan":
        remove paper named "&eKazıKazan" from player
        chance of 30%:
            send "&cMaalesef, HiçBir Şey Kazanamadın!"
            add 1000000 to {toplamzarar.%player%}
            stop
        chance of 60%:
            send "&eKazıKazandan Tam Tamına &c1M &eKazandın. Hiç Kar Yok!"
            execute console command "eco give %player% 1000000"
            add 0 to {toplamkar.%player%}
            stop
        chance of 30%:        
            send "&eKazıKazandan Tam Tamına &c2M &eKazandın. &c1M &eKar!"
            execute console command "eco give %player% 2000000"
            add 1000000 to {toplamkar.%player%}
            stop
        chance of 20%:
            send "&eKazıKazandan Tam Tamına &c5M &eKazandın. &c4M &eKar!"
            execute console command "eco give %player% 5000000"
            add 4000000 to {toplamkar.%player%}
            stop
        chance of 10%:
            send "&eKazıKazandan Tam Tamına &c10M &eKazandın. &c9M &eKar!"
            execute console command "eco give %player% 10000000"
            add 9000000 to {toplamkar.%player%}
            stop
        else:
            send "&cMaalesef, HiçBir Şey Kazanamadın!"
            add 1000000 to {toplamzarar.%player%}
 
Son düzenleme:
Üst