çok zor bi polis skripti {ücreti neyse verilir}

  • Konuyu Başlatan Konuyu Başlatan 2Adam
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.612
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:
    {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ş !"

BENİM BÖYLE BİR KODUM VAR İSTEKLERİM ŞUNLAR
1)SOYGUN BAŞLADIĞINDA 100 METRE UZAĞINA (AYARLANABİLİR OLSUN) 4 ATLI OKÇU İSKELET 3 ATLI KILIÇLI ZOMBİ DOĞACAK
2)BU İSKELET(OKLA) VE ZOMBİLER(KILIÇLA) ADAMA VURDUĞUNDA ADAMIN PARASI SIFIRLANCAK VE JAİLE ATICAK
3)ADAM SOYGUNDAN SONRA 10 DAKİKA BOYUNCA HİÇ BİR KOMUT YAZAMICAK
4)O 10 DAKİKA İÇERSİNDE OYUNDAN ÇIKTIĞINDA AYNI ŞEKİLDE PARASI SIFIRLANIP JAİLE ATILCAK


ÜCRETİLİ YAPACAKSANIZ VERİRİM AMA LÜTFEN ÜCRETSİZ BİR ŞEKİLDE YAPIN LÜTFEN <3
 
Kod:
every second:
    loop all players:
        if {soygun::%loop-player%} is set:
            spawn a zombie named "Polis" at 100 meters behind loop-player
            spawn a skeleton named "Polis" at 100 meters behind loop-player
        if {cooldown.%loop-player%} < 1:
            delete {cooldown.%loop-player%}
        else:
            add -1 to {cooldown.%loop-player%}
           
on command:
    if {cooldown.%player%} is set:
        cancel event
        send "&cBu komutu &4%{cooldown.%player%}%s &ckullanamazsınız."
       
on damage:
    if attacker is a zombie named "Polis" or skeleton named "Polis":
        #JAİL VE PARAYI YAPARSIN ZAMANIM YOK
        set {cooldown.%victim%} to 600
 
Kod:
every second:
    loop all players:
        if {soygun::%loop-player%} is set:
            spawn a zombie named "Polis" at 100 meters behind loop-player
            spawn a skeleton named "Polis" at 100 meters behind loop-player
        if {cooldown.%loop-player%} < 1:
            delete {cooldown.%loop-player%}
        else:
            add -1 to {cooldown.%loop-player%}
          
on command:
    if {cooldown.%player%} is set:
        cancel event
        send "&cBu komutu &4%{cooldown.%player%}%s &ckullanamazsınız."
      
on damage:
    if attacker is a zombie named "Polis" or skeleton named "Polis":
        #JAİL VE PARAYI YAPARSIN ZAMANIM YOK
        set {cooldown.%victim%} to 600
Bu biraz sunucuyu öldürür gibi :/
 
@mainup
Kod:
every second:
    loop all players:
        if {soygun::%loop-player%} is set:
            spawn a zombie named "Polis" at 100 meters behind loop-player
            spawn a skeleton named "Polis" at 100 meters behind loop-player
        if {cooldown.%loop-player%} < 1:
            delete {cooldown.%loop-player%}
        else:
            add -1 to {cooldown.%loop-player%}
          
on command:
    if {cooldown.%player%} is set:
        cancel event
        send "&cBu komutu &4%{cooldown.%player%}%s &ckullanamazsınız."
      
on damage:
    if attacker is a zombie named "Polis" or skeleton named "Polis":
        #JAİL VE PARAYI YAPARSIN ZAMANIM YOK
        set {cooldown.%victim%} to 600
her saniye serveri zorlamaz mı ?
 
Her saniye looplamak yerine
Kod:
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]":
                if {soygun::%loop-player%} is set:
                    spawn a zombie named "Polis" at 100 meters behind loop-player
                    spawn a skeleton named "Polis" at 100 meters behind loop-player
                if {cooldown.%loop-player%} < 1:
                    delete {cooldown.%loop-player%}
                else:
                    add -1 to {cooldown.%loop-player%}
Daha iyi olur gibi.
 
Her saniye looplamak yerine
Kod:
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]":
                if {soygun::%loop-player%} is set:
                    spawn a zombie named "Polis" at 100 meters behind loop-player
                    spawn a skeleton named "Polis" at 100 meters behind loop-player
                if {cooldown.%loop-player%} < 1:
                    delete {cooldown.%loop-player%}
                else:
                    add -1 to {cooldown.%loop-player%}
Daha iyi olur gibi.
Bu çalışmaz. (Cooldown çalışmaz)
Gönderi otomatik olarak birleştirildi:

Ve sunucuyu bu tarz kolay şeyler zorlamaz. Her saniye sadece bir değişkeni kontrol ediyor. Bunu basit bir makine bile yapabilir.
 
Dostum forumda artık kimseye yardım etmiyorum. Etiketlemeyi bırakıp özelden mesaj atmazsanız iyi olur.
 
up up up up up up
 
Arkadaşım Anladığım Kadarıyla Bi Soygun Skripti Arıyorsun Daha Kolay Bi Skript Var Elimde Skript Benim Değil Zaten Netten Bulabilirsin Polis Değil Ama Mesela Belli Bi RG Var Eğer O RG Deki Ayarlı Blockların Üstünde Adam Varsa Otomatik Olarak Onu Ayarladığın Hapishaneye Atar
Video Linki Burda Burdan Detaylı Bilgi Alabilirsin Bankanın Şematiğini Ve Soygun Skripti Rarda Bulunmaktadır İyi Günler

 

Ekli dosyalar

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