Skript Paylaşımı Kutu Skripti Paylaşım

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

Reynixan

Le cose belle arrivano quando non le cerchi.
Katılım
22 Ocak 2020
Mesajlar
631
Elmaslar
715
Puan
8.175
Yaş
23
Konum
Istanbul

Discord:

Reynixan#8044

Ön Söz

Selamlar değerli forum sakinleri.
Bugün basit bir kutu skriptimi tanıtacağım.
Bazı oyunlardan esinlenerek yaptığım bu kutu skriptini ileride geliştirmeyi düşünüyorum, önerilerinizi beklerim.

• Kutuyu birden fazla hesaptan açamama engeli mevcut.
• Açmak için oyunda 2 saat vakit geçirmek gerekiyor.
• Menülü ve hoş bir görünüme sahip.
( Menü tuske ile yapılmıştır. )

İleride yeni kutular ekleyebilirim.

Görseller

1589506710352.png
1589506613704.png
1589506852439.png

Ana menüden bir görüntü...

1589506763406.png

İlk ödül paradır, her kutudan çıkar ve ödül hakkından götürmez.

1589506884151.png

2. ödül olarak kömür çıktı ve görüldüğü gibi 2 ödül hakkı gitti.

1589507133310.png

Ödül hakkım bittikten sonra tıkladığımda gelen uyarı mesajı...
Bu arada ödül hakkı oyuncunun şansına göre 3, 4 veya 5 olur.

1589507566724.png

Kutuyu diğer hesaplarından da açmaya çalışanlara giden mesaj...

Kod

Kod:
on load:
    delete {ucretsiz::*}
    delete {sure::*}
    delete {kasahak::*}

every 10 minutes:
    loop all players:
        if {sure::%loop-player%} is set:
            remove 10 from {sure::%loop-player%}
            if {sure::%loop-player%} is smaller than 1:
                delete {sure::%loop-player%}
                delete {ucretsiz::%ip of loop-player%}
                delete {kasahak::%loop-player%}
    
command /ücretsizkutu:
    trigger:
        if {ucretsiz::%ip of player%} is not set:
            wait 1 tick
            open chest with 4 row named "&7Ücretsiz Kutu" to player
            if {kasahak::%player%} is not set:
                set {kasahak::%player%} to random integer between 3 and 5
            set {_hak} to "orange" parsed as offlineplayer
            set {_x} to 36
            loop {kasahak::%player%} times:
                remove 1 from {_x}
                make gui slot {_x} of player with skull of {_hak} named "&6Ödül Hakkı" to nothing
            set {_para::%player%} to random integer between 500 and 1000
            set {_chest} to "chest" parsed as offlineplayer
            make gui slot 13 of player with skull of {_chest} named "&eAçmak için tıkla!" with lore "" to run:
                add {_para::%player%} to player's balance
                set {ucretsiz::%ip of player%} to player
                set {sure::%player%} to 120
                make gui slot 4 of player with paper named "&e%{_para::%player%}%TL" with lore "" to nothing
                make gui slot 13 of player with skull of {_chest} named "&eAçmak için tıkla!" with lore "" to run:
                    if {kasahak::%player%} is bigger than 0:
                        remove 1 from {kasahak::%player%}
                        set {_adet} to random integer between 1 and 5
                        remove gui slot {_x} of player
                        add 1 to {_x}
                        set {_item} to random integer between 1 and 9
                        if {_item} is 1 or 2 or 3:
                            if {_adet} is 5:
                                make gui slot 4 of player with 5 coal named "&eKömür" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 4:
                                make gui slot 4 of player with 4 coal named "&eKömür" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 3:
                                make gui slot 4 of player with 3 coal named "&eKömür" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 2:
                                make gui slot 4 of player with 2 coal named "&eKömür" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 1:
                                make gui slot 4 of player with coal named "&eKömür" with lore "||&7Adet: &c%{_adet}%" to nothing
                            loop {_adet} times:
                                give 1 coal to player
                        if {_item} is 4 or 5:
                            if {_adet} is 5:
                                make gui slot 4 of player with 5 iron ingot named "&eDemir" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 4:
                                make gui slot 4 of player with 4 iron ingot named "&eDemir" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 3:
                                make gui slot 4 of player with 3 iron ingot named "&eDemir" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 2:
                                make gui slot 4 of player with 2 iron ingot named "&eDemir" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 5:
                                make gui slot 4 of player with iron ingot named "&eDemir" with lore "||&7Adet: &c%{_adet}%" to nothing
                            loop {_adet} times:
                                give 1 iron ingot to player
                        if {_item} is 6 or 7:
                            if {_adet} is 5:
                                make gui slot 4 of player with 5 gold ingot named "&eAltın" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 4:
                                make gui slot 4 of player with 4 gold ingot named "&eAltın" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 3:
                                make gui slot 4 of player with 3 gold ingot named "&eAltın" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 2:
                                make gui slot 4 of player with 2 gold ingot named "&eAltın" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 1:
                                make gui slot 4 of player with gold ingot named "&eAltın" with lore "||&7Adet: &c%{_adet}%" to nothing
                            loop {_adet} times:
                                give 1 gold ingot to player
                        if {_item} is 8:
                            if {_adet} is 5:
                                make gui slot 4 of player with 5 diamond named "&eElmas" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 4:
                                make gui slot 4 of player with 4 diamond named "&eElmas" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 3:
                                make gui slot 4 of player with 3 diamond named "&eElmas" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 2:
                                make gui slot 4 of player with 2 diamond named "&eElmas" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 1:
                                make gui slot 4 of player with diamond named "&eElmas" with lore "||&7Adet: &c%{_adet}%" to nothing
                            loop {_adet} times:
                                give 1 diamond to player
                        if {_item} is 9:
                            if {_adet} is 5:
                                make gui slot 4 of player with 5 emerald named "&eZümrüt" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 4:
                                make gui slot 4 of player with 4 emerald named "&eZümrüt" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 3:
                                make gui slot 4 of player with 3 emerald named "&eZümrüt" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 2:
                                make gui slot 4 of player with 2 emerald named "&eZümrüt" with lore "||&7Adet: &c%{_adet}%" to nothing
                            if {_adet} is 1:
                                make gui slot 4 of player with emerald named "&eZümrüt" with lore "||&7Adet: &c%{_adet}%" to nothing
                            loop {_adet} times:
                                give 1 emerald to player
                    else:
                        send "&7Hakkın doldu!" to player
                        wait 3 second
                        close player's inventory
        else:
            if {ucretsiz::%ip of player%} is player:
                send "&72 saat aktif olursan kutuyu tekrar açabilirsin." to player
            else:
                send "&a%{ucretsiz::%ip of player%}% &7hesabından kutuyu açmışsın. Tekrar açabilmek için o hesabına girmelisin." to player

Umarım işinize yarar, önerilerinizi bekliyorum.
Görüşmek üzere, hoşçakalın.
 
Yapmış olduğunuz bu sistemi incelemeden önce klasik bir sistem olduğunu sandım ancak hiçte öyle değilmiş. Yani aslında evet, bazı yerleri klasik ancak şu engel olayları gerçekten klasikliğin klasik olmama noktası olmuş. Bir kasayı açabilmek için 2 saat oyunda vakit geçirmek gerekirken yan hesap kontrolü gibi şeylerin olması da sunucu açısından yararlı olmuş ki şahsen sistemi çok beğendim. Eline, emeğine ve var çabana da sağlık ;)
 
Yapmış olduğunuz bu sistemi incelemeden önce klasik bir sistem olduğunu sandım ancak hiçte öyle değilmiş. Yani aslında evet, bazı yerleri klasik ancak şu engel olayları gerçekten klasikliğin klasik olmama noktası olmuş. Bir kasayı açabilmek için 2 saat oyunda vakit geçirmek gerekirken yan hesap kontrolü gibi şeylerin olması da sunucu açısından yararlı olmuş ki şahsen sistemi çok beğendim. Eline, emeğine ve var çabana da sağlık ;)
Değerli yorumun için teşekkürler <3
Haklısın, bazı yerler özgün olsa da dediğin gibi klasik yerler de var. Bunlara da özgün bir şeyler katabilirim bir sonraki güncellemelerde :melek:​
 
Efsane bir skript olmuş, yan hesaplardan alınamama özelliği çok güzel olmuş.
 
Güzel bir skript eline sağlık
 
Güzel bir skript olmuş, ellerine sağlık.
 
Kesinlikle iş görür ne sunucusu olursa olsun kullanılmalı.
 
Menü birazdaha geliştirilebilirdi onun dışında herşey uyumlu ve güzel en çok beğendiğim başka hesaptan girdiğinde diğer hesaptan aldığı için o hesaptan ödül alamaması
 
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