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
Ana menüden bir görüntü...
İlk ödül paradır, her kutudan çıkar ve ödül hakkından götürmez.
2. ödül olarak kömür çıktı ve görüldüğü gibi 2 ödül hakkı gitti.
Ö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.
Kutuyu diğer hesaplarından da açmaya çalışanlara giden mesaj...
Kod
Umarım işinize yarar, önerilerinizi bekliyorum.
Görüşmek üzere, hoşçakalın.
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
Ana menüden bir görüntü...
İlk ödül paradır, her kutudan çıkar ve ödül hakkından götürmez.
2. ödül olarak kömür çıktı ve görüldüğü gibi 2 ödül hakkı gitti.
Ö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.
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.