Yardım Tabelaya tıklayınca soygun bitene kadar yerinde sabitleme ve sadece yetkisi olanlar tabelaya tıklama yardım

Kabulsüz

Ağaç Yumruklayıcı
Mesajlar
25
En iyi cevaplar
0
Beğeniler
2
Puanları
110
Ruh hali
Skript Plugininin Sürümü
2.5-alpha3
Oyun Sürümü
1.15.2
Kod:
variables:
    {hirsiz.yetenek.%player%} = 1

options:
    bekleme: 300
    prefix: &c&lSoygun &8&l> &7

command /soygun:
    trigger:
        send "{@prefix}Hırsızlık Yetenekleri hakkında bilgi almak için &c/hyetenek"
        send "{@prefix}ATM oluşturmak için &c/atm"

command /hyetenek [<text>]:
    trigger:
        if arg-1 is not set:
            send "{@prefix}Hırsızlık yetenekleri hakkında bilgi almak için &c/hyetenek sss"
            send "{@prefix}Hırsızlık yeteneğini görmek için &c/hyetenek durum"
        if arg-1 is "sss":
            send "{@prefix}Hırsızlık yetenekleri her ATM soygunlarında &c0.2 &7artar."
            send "{@prefix}Böylece her yetenek artışında soygundan çıkan paralar yetenek seviyene göre katlanır."
        if arg-1 is "durum":
            send "{@prefix}Hırsızlık Yetenek Seviyen: &c%{hirsiz.yetenek.%player%}%"
            send "{@prefix}Her yaptığın soygunda çaldığın paralar &cx%{hirsiz.yetenek.%player%}% &7kat artar"

command /atm [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}ATM oluşturmak için &c/atm olustur"
            send "{@prefix}ATM'yi kaldırmak için &c/atm kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[ATM]"
                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 "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"

 


on right click on sign:
    {atm.tabela.%location of clicked block%} is set:
        line 2 of clicked block is "&9[ATM]":
            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 &c%location of clicked block% &7kordinatlarındaki ATM'de soyguna başladı !  "
                wait 2 seconds
                loop 200 times:
                    send ""
                send "&8&l> &7ATM 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 &c%location of clicked block% &7kordinatlarındaki ATM'yi başarı ile soydu ! !  "
                send "&7ATM Başarıyla Soyuldu !"
                set {_x} to random integer between 1 and 9999 #Buradan verilecek olan parayı düzenleyebilirsiniz.
                add {_x}*{hirsiz.yetenek.%player%} to player's balance
                send "&7Hesabınıza &c%{_x}*{hirsiz.yetenek.%player%}%TL &7eklendi ve &c0.2 &7hırsızlık yeteneği kazandın"
                add 0.2 to {hirsiz.yetenek.%player%}
                wait {@bekleme} seconds
                set line 3 of the clicked block to "&a[Soyulmamis]"
            else:
                send "Bu Atm daha önce soyulmuş !"

Elimde böyle bi skript var Tabelaya tıklayınca soygun bitene kadar yerinde sabit kalıp ve sadece yetkisi olanların tabelaya tıklamasını istiyorum fakat bi türlü yapamadım yardım ederseniz sevinirim
 


Son düzenleme:

na2000

Altın Madencisi
Mesajlar
355
En iyi cevaplar
22
Beğeniler
129
Puanları
890
Ruh hali
Kod:
variables:
    {hirsiz.yetenek.%player%} = 1

options:
    bekleme: 300
    prefix: &c&lSoygun &8&l> &7

command /soygun:
    trigger:
        send "{@prefix}Hırsızlık Yetenekleri hakkında bilgi almak için &c/hyetenek"
        send "{@prefix}ATM oluşturmak için &c/atm"

command /hyetenek [<text>]:
    trigger:
        if arg-1 is not set:
            send "{@prefix}Hırsızlık yetenekleri hakkında bilgi almak için &c/hyetenek sss"
            send "{@prefix}Hırsızlık yeteneğini görmek için &c/hyetenek durum"
        if arg-1 is "sss":
            send "{@prefix}Hırsızlık yetenekleri her ATM soygunlarında &c0.2 &7artar."
            send "{@prefix}Böylece her yetenek artışında soygundan çıkan paralar yetenek seviyene göre katlanır."
        if arg-1 is "durum":
            send "{@prefix}Hırsızlık Yetenek Seviyen: &c%{hirsiz.yetenek.%player%}%"
            send "{@prefix}Her yaptığın soygunda çaldığın paralar &cx%{hirsiz.yetenek.%player%}% &7kat artar"

command /atm [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}ATM oluşturmak için &c/atm olustur"
            send "{@prefix}ATM'yi kaldırmak için &c/atm kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[ATM]"
                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 "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"

 


on right click on sign:
    if player has permission "soygun.yap":
        {atm.tabela.%location of clicked block%} is set:
            line 2 of clicked block is "&9[ATM]":
                if line 3 of the clicked block is "&a[Soyulmamis]":
                    set {haraket::%player%} to 1
                    set line 3 of the clicked block to "&c[Soyulmus]"
                    broadcast "&c%player% &7isimli oyuncu &c%location of clicked block% &7kordinatlarındaki ATM'de soyguna başladı !  "
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l> &7ATM 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 &c%location of clicked block% &7kordinatlarındaki ATM'yi başarı ile soydu ! !  "
                    send "&7ATM Başarıyla Soyuldu !"
                    set {_x} to random integer between 1 and 9999 #Buradan verilecek olan parayı düzenleyebilirsiniz.
                    add {_x}*{hirsiz.yetenek.%player%} to player's balance
                    send "&7Hesabınıza &c%{_x}*{hirsiz.yetenek.%player%}%TL &7eklendi ve &c0.2 &7hırsızlık yeteneği kazandın"
                    add 0.2 to {hirsiz.yetenek.%player%}
                    delete {haraket::%player%}
                    wait {@bekleme} seconds
                    set line 3 of the clicked block to "&a[Soyulmamis]"
                else:
                    send "Bu Atm daha önce soyulmuş !"
    else:
        send "&cSoygun yapmak için yetkiniz yok!"
        
on any movement:
    if {haraket::%player%} is set:
        cancel event
Buyur, umarım yardımcı olabilmişimdir ^^
[ tabelaya tıklama yetkisi : soygun.yap ]
 

Kabulsüz

Ağaç Yumruklayıcı
Mesajlar
25
En iyi cevaplar
0
Beğeniler
2
Puanları
110
Ruh hali
Kod:
variables:
    {hirsiz.yetenek.%player%} = 1

options:
    bekleme: 300
    prefix: &c&lSoygun &8&l> &7

command /soygun:
    trigger:
        send "{@prefix}Hırsızlık Yetenekleri hakkında bilgi almak için &c/hyetenek"
        send "{@prefix}ATM oluşturmak için &c/atm"

command /hyetenek [<text>]:
    trigger:
        if arg-1 is not set:
            send "{@prefix}Hırsızlık yetenekleri hakkında bilgi almak için &c/hyetenek sss"
            send "{@prefix}Hırsızlık yeteneğini görmek için &c/hyetenek durum"
        if arg-1 is "sss":
            send "{@prefix}Hırsızlık yetenekleri her ATM soygunlarında &c0.2 &7artar."
            send "{@prefix}Böylece her yetenek artışında soygundan çıkan paralar yetenek seviyene göre katlanır."
        if arg-1 is "durum":
            send "{@prefix}Hırsızlık Yetenek Seviyen: &c%{hirsiz.yetenek.%player%}%"
            send "{@prefix}Her yaptığın soygunda çaldığın paralar &cx%{hirsiz.yetenek.%player%}% &7kat artar"

command /atm [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}ATM oluşturmak için &c/atm olustur"
            send "{@prefix}ATM'yi kaldırmak için &c/atm kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[ATM]"
                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 "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"




on right click on sign:
    if player has permission "soygun.yap":
        {atm.tabela.%location of clicked block%} is set:
            line 2 of clicked block is "&9[ATM]":
                if line 3 of the clicked block is "&a[Soyulmamis]":
                    set {haraket::%player%} to 1
                    set line 3 of the clicked block to "&c[Soyulmus]"
                    broadcast "&c%player% &7isimli oyuncu &c%location of clicked block% &7kordinatlarındaki ATM'de soyguna başladı !  "
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l> &7ATM 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 &c%location of clicked block% &7kordinatlarındaki ATM'yi başarı ile soydu ! !  "
                    send "&7ATM Başarıyla Soyuldu !"
                    set {_x} to random integer between 1 and 9999 #Buradan verilecek olan parayı düzenleyebilirsiniz.
                    add {_x}*{hirsiz.yetenek.%player%} to player's balance
                    send "&7Hesabınıza &c%{_x}*{hirsiz.yetenek.%player%}%TL &7eklendi ve &c0.2 &7hırsızlık yeteneği kazandın"
                    add 0.2 to {hirsiz.yetenek.%player%}
                    delete {haraket::%player%}
                    wait {@bekleme} seconds
                    set line 3 of the clicked block to "&a[Soyulmamis]"
                else:
                    send "Bu Atm daha önce soyulmuş !"
    else:
        send "&cSoygun yapmak için yetkiniz yok!"
      
on any movement:
    if {haraket::%player%} is set:
        cancel event
Buyur, umarım yardımcı olabilmişimdir ^^
[ tabelaya tıklama yetkisi : soygun.yap ]
Teşekkür ederim :)
 

Kabulsüz

Ağaç Yumruklayıcı
Mesajlar
25
En iyi cevaplar
0
Beğeniler
2
Puanları
110
Ruh hali
Kod:
variables:
    {hirsiz.yetenek.%player%} = 1

options:
    bekleme: 300
    prefix: &c&lSoygun &8&l> &7

command /soygun:
    trigger:
        send "{@prefix}Hırsızlık Yetenekleri hakkında bilgi almak için &c/hyetenek"
        send "{@prefix}ATM oluşturmak için &c/atm"

command /hyetenek [<text>]:
    trigger:
        if arg-1 is not set:
            send "{@prefix}Hırsızlık yetenekleri hakkında bilgi almak için &c/hyetenek sss"
            send "{@prefix}Hırsızlık yeteneğini görmek için &c/hyetenek durum"
        if arg-1 is "sss":
            send "{@prefix}Hırsızlık yetenekleri her ATM soygunlarında &c0.2 &7artar."
            send "{@prefix}Böylece her yetenek artışında soygundan çıkan paralar yetenek seviyene göre katlanır."
        if arg-1 is "durum":
            send "{@prefix}Hırsızlık Yetenek Seviyen: &c%{hirsiz.yetenek.%player%}%"
            send "{@prefix}Her yaptığın soygunda çaldığın paralar &cx%{hirsiz.yetenek.%player%}% &7kat artar"

command /atm [<text>]:
    permission: atm.admin
    trigger:
        if arg-1 is not set:
            send "{@prefix}ATM oluşturmak için &c/atm olustur"
            send "{@prefix}ATM'yi kaldırmak için &c/atm kaldir"
        if arg-1 is "olustur":
            if targeted block is sign:
                set line 2 of targeted block to "&9[ATM]"
                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 "&7ATM başarıyla kaldırırldı"
                else:
                    send "{@prefix}Bu bir atm değil !"




on right click on sign:
    if player has permission "soygun.yap":
        {atm.tabela.%location of clicked block%} is set:
            line 2 of clicked block is "&9[ATM]":
                if line 3 of the clicked block is "&a[Soyulmamis]":
                    set {haraket::%player%} to 1
                    set line 3 of the clicked block to "&c[Soyulmus]"
                    broadcast "&c%player% &7isimli oyuncu &c%location of clicked block% &7kordinatlarındaki ATM'de soyguna başladı !  "
                    wait 2 seconds
                    loop 200 times:
                        send ""
                    send "&8&l> &7ATM 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 &c%location of clicked block% &7kordinatlarındaki ATM'yi başarı ile soydu ! !  "
                    send "&7ATM Başarıyla Soyuldu !"
                    set {_x} to random integer between 1 and 9999 #Buradan verilecek olan parayı düzenleyebilirsiniz.
                    add {_x}*{hirsiz.yetenek.%player%} to player's balance
                    send "&7Hesabınıza &c%{_x}*{hirsiz.yetenek.%player%}%TL &7eklendi ve &c0.2 &7hırsızlık yeteneği kazandın"
                    add 0.2 to {hirsiz.yetenek.%player%}
                    delete {haraket::%player%}
                    wait {@bekleme} seconds
                    set line 3 of the clicked block to "&a[Soyulmamis]"
                else:
                    send "Bu Atm daha önce soyulmuş !"
    else:
        send "&cSoygun yapmak için yetkiniz yok!"
      
on any movement:
    if {haraket::%player%} is set:
        cancel event
Buyur, umarım yardımcı olabilmişimdir ^^
[ tabelaya tıklama yetkisi : soygun.yap ]
Hareket etme sorunlu çalışmıyo o kısım
>.... [17:26:51 ERROR]: [Skript] can't understand this event: 'on any movement' (AtmSoygunu.sk, line 97: on any movement:')
 

furkan3000

Obsidyen Madencisi
Emektar Üye
Mesajlar
1,427
En iyi cevaplar
62
Beğeniler
668
Puanları
3,710
Ruh hali
On any movement yerine on move ya da on movement deneyin.
 

Kabulsüz

Ağaç Yumruklayıcı
Mesajlar
25
En iyi cevaplar
0
Beğeniler
2
Puanları
110
Ruh hali
On any movement yerine on move ya da on movement deneyin.

>.... [20:03:00 ERROR]: [Skript] indentation error: expected 8 spaces, but found 2 spaces (AtmSoygunu.sk, line 97: on move:')
şu hatayı alıyorum şimdide on movementi denedim oda aynı hatayı verdi
 

na2000

Altın Madencisi
Mesajlar
355
En iyi cevaplar
22
Beğeniler
129
Puanları
890
Ruh hali
>.... [20:03:00 ERROR]: [Skript] indentation error: expected 8 spaces, but found 2 spaces (AtmSoygunu.sk, line 97: on move:')
şu hatayı alıyorum şimdide on movementi denedim oda aynı hatayı verdi
skQuery gerekli on any movement olarak kalsın.
 

furkan3000

Obsidyen Madencisi
Emektar Üye
Mesajlar
1,427
En iyi cevaplar
62
Beğeniler
668
Puanları
3,710
Ruh hali
>.... [20:03:00 ERROR]: [Skript] indentation error: expected 8 spaces, but found 2 spaces (AtmSoygunu.sk, line 97: on move:')
şu hatayı alıyorum şimdide on movementi denedim oda aynı hatayı verdi
O şu kadar boşluk beklerken şu kadar boşluk var demek, bu örnek için beklediği 8 bulduğu 2, hatanın olduğu dosya AtmSoygunu.sk satır 97 satır 97'nin başına 6 tane daha boşluk gerekiyor ( tabi sorunun çözüldüğü için gerek yok daha sonra lazım olursa diye dedim)
 

Üst