Bulundu Banka Skripti Hakkında

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

2Adam

Bir Kömür Göründü Kaptanım!
Katılım
13 Haziran 2018
Mesajlar
165
Elmaslar
11
Puan
0
Minecraft
Mr_Eness
Kod:
variables:
    {hirsiz.yetenek.%player%} = 1
   
options:
    bekleme: 300
    prefix: &c&lSoygun &8&l» &7
   
command /soygun:  
    trigger:
        send "{@prefix}Banka oluşturmak için &c/Banka"
   

command /banka [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}banka oluşturmak için &c/banka olustur"
            send "{@prefix}banka'yi kaldırmak için &c/banka kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[KASA]"
                set line 3 of targeted block to "&a[Soyulmamis]"
                set {atm.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldir":
            if targeted block is sign:
                if {atm.tabela.%location of targeted block%} is set:
                    delete {atm.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7Banka başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir Banka değil !"

       

   
on right click on sign:
    {atm.tabela.%location of clicked block%} is set:
        line 2 of clicked block is "&9[Kasa]":
            if line 3 of the clicked block is "&a[Soyulmamis]":
                set line 3 of the clicked block to "&c[Soyulmus]"
                broadcast "&c%player% &7isimli oyuncu Banka soygununa başladı !  "
                console command "dondur %player%"
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&8&l» &7Banka Soyuluyor..."
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&a▌▌▌"
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&a▌▌▌▌▌▌"
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&a▌▌▌▌▌▌▌▌▌"
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                wait 2 seconds
                loop 200 times:
                    send ""
                wait 2 second
                broadcast "&c%player% &7isimli oyuncu Banka'yi başarı ile soydu ! !  "
                console command "kaldir %player%"
                send "&7Bankayı Başarıyla Soyuldu !"
                set {_x} to random integer between 5000 and 50000
                add {_x}*{hirsiz.yetenek.%player%} to player's balance
                send "&7Hesabınıza &c%{_x}*{hirsiz.yetenek.%player%}%TL &7eklendi"
                wait {@bekleme} seconds
                set line 3 of the clicked block to "&a[Soyulmamis]"
            else:
                send "Bu banka daha önce soyulmuş !"

Arkadaşlar skripti bu forumdan buldum biraz editledim ama bi kaç isteğim var

1-Adamlar oyundan çıkınca soygun iptal olsun
2- Adamlar ölünce Soygun iptal olsun
3-/soyguniptal yazınca soygun iptal olsun
 
Moderatör tarafından düzenlendi:
En son 1.7.10 sürümünde when kullandım ozamanda when tam anlamıyla çalışmıyordu, when sorunu düzeldimi bilmiyorum fakat denemek lazım...

Denenmedi!

Kod:
variables:
    {hirsiz.yetenek.%player%} = 1
    
options:
    bekleme: 300
    prefix: &c&lSoygun &8&l» &7
    
command /soygun:   
    trigger:
        send "{@prefix}Banka oluşturmak için &c/Banka"
    

command /banka [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}banka oluşturmak için &c/banka olustur"
            send "{@prefix}banka'yi kaldırmak için &c/banka kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[KASA]"
                set line 3 of targeted block to "&a[Soyulmamis]"
                set {atm.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldir":
            if targeted block is sign:
                if {atm.tabela.%location of targeted block%} is set:
                    delete {atm.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7Banka başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir Banka değil !"

        
on death of player:
    set {%victim%.soyabilir} to false
on quit:
    set {%player%.soyabilir} to false
command /soyguniptal:
    trigger:
        set {%player%.soyabilir} to false
        send "&7Soygun'u iptal ettin!"
    
on right click on sign:
    {atm.tabela.%location of clicked block%} is set:
        line 2 of clicked block is "&9[Kasa]":
            if line 3 of the clicked block is "&a[Soyulmamis]":
                when {%player%.soyabilir} is true:
                    set line 3 of the clicked block to "&c[Soyulmus]"
                    broadcast "&c%player% &7isimli oyuncu Banka soygununa başladı !  "
                    console command "dondur %player%"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l» &7Banka Soyuluyor..."
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    wait 2 second
                    broadcast "&c%player% &7isimli oyuncu Banka'yi başarı ile soydu ! !  "
                    console command "kaldir %player%"
                    send "&7Bankayı Başarıyla Soyuldu !"
                    set {_x} to random integer between 5000 and 50000
                    add {_x}*{hirsiz.yetenek.%player%} to player's balance
                    send "&7Hesabınıza &c%{_x}*{hirsiz.yetenek.%player%}%TL &7eklendi"
                    wait {@bekleme} seconds
                    set line 3 of the clicked block to "&a[Soyulmamis]"
                else:
                    send "Bu banka daha önce soyulmuş !"

Pusat, Selamlar.
 
En son 1.7.10 sürümünde when kullandım ozamanda when tam anlamıyla çalışmıyordu, when sorunu düzeldimi bilmiyorum fakat denemek lazım...

Denenmedi!

Kod:
variables:
    {hirsiz.yetenek.%player%} = 1
   
options:
    bekleme: 300
    prefix: &c&lSoygun &8&l» &7
   
command /soygun:  
    trigger:
        send "{@prefix}Banka oluşturmak için &c/Banka"
   

command /banka [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}banka oluşturmak için &c/banka olustur"
            send "{@prefix}banka'yi kaldırmak için &c/banka kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[KASA]"
                set line 3 of targeted block to "&a[Soyulmamis]"
                set {atm.tabela.%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldir":
            if targeted block is sign:
                if {atm.tabela.%location of targeted block%} is set:
                    delete {atm.tabela.%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7Banka başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir Banka değil !"

       
on death of player:
    set {%victim%.soyabilir} to false
on quit:
    set {%player%.soyabilir} to false
command /soyguniptal:
    trigger:
        set {%player%.soyabilir} to false
        send "&7Soygun'u iptal ettin!"
   
on right click on sign:
    {atm.tabela.%location of clicked block%} is set:
        line 2 of clicked block is "&9[Kasa]":
            if line 3 of the clicked block is "&a[Soyulmamis]":
                when {%player%.soyabilir} is true:
                    set line 3 of the clicked block to "&c[Soyulmus]"
                    broadcast "&c%player% &7isimli oyuncu Banka soygununa başladı !  "
                    console command "dondur %player%"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l» &7Banka Soyuluyor..."
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    wait 2 second
                    broadcast "&c%player% &7isimli oyuncu Banka'yi başarı ile soydu ! !  "
                    console command "kaldir %player%"
                    send "&7Bankayı Başarıyla Soyuldu !"
                    set {_x} to random integer between 5000 and 50000
                    add {_x}*{hirsiz.yetenek.%player%} to player's balance
                    send "&7Hesabınıza &c%{_x}*{hirsiz.yetenek.%player%}%TL &7eklendi"
                    wait {@bekleme} seconds
                    set line 3 of the clicked block to "&a[Soyulmamis]"
                else:
                    send "Bu banka daha önce soyulmuş !"

Pusat, Selamlar.
çalışmıyooor :/
 
/Kaldır komutunda arg-1 in <player> ise <offlineplayer> yap.

Kod:
variables:
    {hirsizyetenek::%player%} = 1
    
options:
    bekleme: 300
    prefix: &c&lSoygun &8&l» &7
    
command /soygun:   
    trigger:
        send "{@prefix}Banka oluşturmak için &c/Banka"

command /banka [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}banka oluşturmak için &c/banka olustur"
            send "{@prefix}banka'yi kaldırmak için &c/banka kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[KASA]"
                set line 3 of targeted block to "&a[Soyulmamis]"
                set {atmtabela::%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldir":
            if targeted block is sign:
                if {atmtabela::%location of targeted block%} is set:
                    delete {atmtabela::%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7Banka başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir Banka değil !"

command /soyguniptal:
    trigger:
        if {soygun::%player%} is set:
            delete {soygun::%player%}
            console command "kaldir %player%"
            send "&7Soygun iptal edildi!"
        else:
            send "&7Bir soygunda değilsin!"

on death of player:
    if {soygun::%player%} is set:
        player command "soyguniptal"

quit:
    if {soygun::%player%} is set:
        delete {soygun::%player%}
        console command "kaldir %player%"

on right click on sign:
    {atmtabela::%location of clicked block%} is set:
        line 2 of clicked block is "&9[Kasa]":
            if line 3 of the clicked block is "&a[Soyulmamis]":
                set {soygun::%player%} to true
                while {soygun::%player%} is set:
                    set line 3 of the clicked block to "&c[Soyulmus]"
                    broadcast "&c%player% &7isimli oyuncu Banka soygununa başladı !  "
                    console command "dondur %player%"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l» &7Banka Soyuluyor..."
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    wait 2 second
                    broadcast "&c%player% &7isimli oyuncu Banka'yi başarı ile soydu ! !  "
                    console command "kaldir %player%"
                    send "&7Bankayı Başarıyla Soyuldu !"
                    set {_x} to random integer between 5000 and 50000
                    add {_x}*{hirsizyetenek::%player%} to player's balance
                    send "&7Hesabınıza &c%{_x}*{hirsizyetenek::%player%}%TL &7eklendi"
                    wait {@bekleme} seconds
                    set line 3 of the clicked block to "&a[Soyulmamis]"
                    delete {soygun::%player%}
            else:
                send "Bu banka daha önce soyulmuş !"
 
/Kaldır komutunda arg-1 in <player> ise <offlineplayer> yap.

Kod:
variables:
    {hirsizyetenek::%player%} = 1
   
options:
    bekleme: 300
    prefix: &c&lSoygun &8&l» &7
   
command /soygun:  
    trigger:
        send "{@prefix}Banka oluşturmak için &c/Banka"

command /banka [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}banka oluşturmak için &c/banka olustur"
            send "{@prefix}banka'yi kaldırmak için &c/banka kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[KASA]"
                set line 3 of targeted block to "&a[Soyulmamis]"
                set {atmtabela::%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldir":
            if targeted block is sign:
                if {atmtabela::%location of targeted block%} is set:
                    delete {atmtabela::%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7Banka başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir Banka değil !"

command /soyguniptal:
    trigger:
        if {soygun::%player%} is set:
            delete {soygun::%player%}
            console command "kaldir %player%"
            send "&7Soygun iptal edildi!"
        else:
            send "&7Bir soygunda değilsin!"

on death of player:
    if {soygun::%player%} is set:
        player command "soyguniptal"

quit:
    if {soygun::%player%} is set:
        delete {soygun::%player%}
        console command "kaldir %player%"

on right click on sign:
    {atmtabela::%location of clicked block%} is set:
        line 2 of clicked block is "&9[Kasa]":
            if line 3 of the clicked block is "&a[Soyulmamis]":
                set {soygun::%player%} to true
                while {soygun::%player%} is set:
                    set line 3 of the clicked block to "&c[Soyulmus]"
                    broadcast "&c%player% &7isimli oyuncu Banka soygununa başladı !  "
                    console command "dondur %player%"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l» &7Banka Soyuluyor..."
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    wait 2 second
                    broadcast "&c%player% &7isimli oyuncu Banka'yi başarı ile soydu ! !  "
                    console command "kaldir %player%"
                    send "&7Bankayı Başarıyla Soyuldu !"
                    set {_x} to random integer between 5000 and 50000
                    add {_x}*{hirsizyetenek::%player%} to player's balance
                    send "&7Hesabınıza &c%{_x}*{hirsizyetenek::%player%}%TL &7eklendi"
                    wait {@bekleme} seconds
                    set line 3 of the clicked block to "&a[Soyulmamis]"
                    delete {soygun::%player%}
            else:
                send "Bu banka daha önce soyulmuş !"
/kaldır diye bir komut yok ki
 
Kod:
variables:
    {hirsizyetenek::%player%} = 1
  
options:
    bekleme: 300
    prefix: &c&lSoygun &8&l» &7
  
command /soygun: 
    trigger:
        send "{@prefix}Banka oluşturmak için &c/Banka"

command /banka [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}banka oluşturmak için &c/banka olustur"
            send "{@prefix}banka'yi kaldırmak için &c/banka kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[KASA]"
                set line 3 of targeted block to "&a[Soyulmamis]"
                set {atmtabela::%location of targeted block%} to 1
            else:
                send "{@prefix}Bir tabelaya bakmalısın"
        if arg-1 is "kaldir":
            if targeted block is sign:
                if {atmtabela::%location of targeted block%} is set:
                    delete {atmtabela::%location of targeted block%}
                    set line 2 of targeted block to ""
                    set line 3 of targeted block to ""
                    send "&7Banka başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir Banka değil !"

command /soyguniptal:
    trigger:
        if {soygun::%player%} is set:
            delete {soygun::%player%}
            console command "kaldir %player%"
            send "&7Soygun iptal edildi!"
        else:
            send "&7Bir soygunda değilsin!"

on death of player:
    if {soygun::%player%} is set:
        delete {soygun::%player%}
        console command "kaldir %player%"

quit:
    if {soygun::%player%} is set:
        delete {soygun::%player%}
        console command "kaldir %player%"

on right click on sign:
    {atmtabela::%location of clicked block%} is set:
        line 2 of clicked block is "&9[Kasa]":
            if line 3 of the clicked block is "&a[Soyulmamis]":
                set {soygun::%player%} to true
                while {soygun::%player%} is set:
                    set line 3 of the clicked block to "&c[Soyulmus]"
                    broadcast "&c%player% &7isimli oyuncu Banka soygununa başladı !  "
                    console command "dondur %player%"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l» &7Banka Soyuluyor..."
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&a▌▌▌▌▌▌▌▌▌▌▌▌"
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    wait 2 second
                    broadcast "&c%player% &7isimli oyuncu Banka'yi başarı ile soydu ! !  "
                    console command "kaldir %player%"
                    send "&7Bankayı Başarıyla Soyuldu !"
                    set {_x} to random integer between 5000 and 50000
                    add {_x}*{hirsizyetenek::%player%} to player's balance
                    send "&7Hesabınıza &c%{_x}*{hirsizyetenek::%player%}%TL &7eklendi"
                    wait {@bekleme} seconds
                    set line 3 of the clicked block to "&a[Soyulmamis]"
                    delete {soygun::%player%}
            else:
                send "Bu banka daha önce soyulmuş !"
 
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