Çözüldü SKRİPT YARDIM

  • Konuyu Başlatan Konuyu Başlatan Vezirx
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 2.525
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Vezirx

Bir Kömür Göründü Kaptanım!
Katılım
16 Nisan 2017
Mesajlar
168
Elmaslar
6
Puan
0
Yaş
27
Arkadaşlar Şu Scripte 2 Dakikada bir yapılması icin cooldown eklermisiniz?




Kod:
options:
    p: &8[&aMC-TR&8]

variables:
    {atmsoy.%player%} = false

on sign change:
    if player has permission "sk.admin":
        if line 1 is "[ATM]":
            if line 2 is "SOY":
                set line 1 to "&8[&2ATM&8]"
                set line 2 to "&9SOY"
                set {tabela.%location of targeted block%} to location of targeted block
                send "{@p} &7Tabela başarıyla yerleştirildi!" to player

on break a sign or wall sign:
    if {tabela.%location of targeted block%} is set:
        if player has permission "sk.admin":
            delete {tabela.%location of targeted block%}
            send "{@p} &cTabela Kaldırıldı!" to player
        else:
            cancel event

on rightclick on sign:
    if line 1 of clicked block is "&8[&2ATM&8]":
        if line 2 of clicked block is "&9SOY":
            make player execute command "atmsoy"
            set {atmsoy.%player%} to true

command /atmsoy:
    trigger:
        if {atmsoy.%player%} is true:
            set {atmsoy.%player%} to false
            set the freeze state of player to true
            broadcast "{@p} %player% ATM'yi Soyuyor!"
            wait 3 second
            execute console command "eco give %player% 50"
            broadcast "{@p} %player% ATM'yi Soyuyor!"
            wait 3 second
            execute console command "eco give %player% 50"
            broadcast "{@p} %player% ATM'yi Soyuyor!"
            wait 3 second
            execute console command "eco give %player% 50"
            broadcast "{@p} %player% ATM'yi Soyuyor!"
            wait 3 second
            execute console command "eco give %player% 50"
            broadcast "{@p} %player% ATM'yi Soyuyor!"
            set the freeze state of player to false
        else:
            send "{@p} &7Tabelaya tıklamalısın!"
            stop



Ve Şu Scriptte Error gözüküyor yardım edermisiniz.
Kod:
on damage of player:
   attacker is player
    if tool of attacker is iron hoe:
        if tool's displayname is "&bŞok Tabancası" with lore "LORE":
            apply speed -100 to the player for 10 seconds
            apply jump -100 to the victim for 10 seconds
            strike lightning at the player
 
Buyur.

Kod:
options:
    p: &8[&aMC-TR&8]
    yenidenkullanim: 2 minutes

variables:
    {atmsoy.%player%} = false

on sign change:
    if player has permission "sk.admin":
        if line 1 is "[ATM]":
            if line 2 is "SOY":
                set line 1 to "&8[&2ATM&8]"
                set line 2 to "&9SOY"
                set {tabela.%location of targeted block%} to location of targeted block
                send "{@p} &7Tabela başarıyla yerleştirildi!" to player

on break a sign or wall sign:
    if {tabela.%location of targeted block%} is set:
        if player has permission "sk.admin":
            delete {tabela.%location of targeted block%}
            send "{@p} &cTabela Kaldırıldı!" to player
        else:
            cancel event

on rightclick on sign:
    if line 1 of clicked block is "&8[&2ATM&8]":
        if line 2 of clicked block is "&9SOY":
            make player execute command "atmsoy"
            set {atmsoy.%player%} to true

command /atmsoy:
    trigger:
        if {atmsoy.%player%} is true:
            if difference between {yenidenkullanim.%player%} and now < {@yenidenkullanim}:
                send "{@p} Yeniden Kullanmadan Once 2 Dakika Beklemelisin!"
                stop
            else:
                set {yenidenkullanim.%player%} to now
                set {atmsoy.%player%} to false
                set the freeze state of player to true
                broadcast "{@p} %player% ATM'yi Soyuyor!"
                wait 3 second
                execute console command "eco give %player% 50"
                broadcast "{@p} %player% ATM'yi Soyuyor!"
                wait 3 second
                execute console command "eco give %player% 50"
                broadcast "{@p} %player% ATM'yi Soyuyor!"
                wait 3 second
                execute console command "eco give %player% 50"
                broadcast "{@p} %player% ATM'yi Soyuyor!"
                wait 3 second
                execute console command "eco give %player% 50"
                broadcast "{@p} %player% ATM'yi Soyuyor!"
                set the freeze state of player to false
                wait 1 second
                broadcast "{@p} %player% ATM'yi Soydu!"
                stop
        else:
            send "{@p} &7Tabelaya tıklamalısın!"
            stop

Diğeri içinde bunu deneyin.

Kod:
on damage of player:
    attacker is player
    if tool of attacker is iron hoe:
        if attacker tool's displayname is "&bŞok Tabancası" with lore "LORE":
            apply speed -100 to the victim for 10 seconds
            apply jump -100 to the victim for 10 seconds
            strike lightning at the victim
 
Son düzenleme:
P0dZPN.png
Yine aynı sorun
 
Kod:
on damage of player:
    attacker is player
    if tool of attacker is iron hoe:
        if name of attacker's tool is "&bŞok Tabancası" with lore "LORE":
            apply speed -100 to the victim for 10 seconds
            apply jump -100 to the victim for 10 seconds
            strike lightning at the victim
 
Kod:
on damage of player:
    attacker is player
    if tool of attacker is iron hoe:
        if name of attacker's tool is "&bŞok Tabancası":
            apply speed -100 to the victim for 10 seconds
            apply jump -100 to the victim for 10 seconds
            strike lightning at the victim
Ilk hatayı diğer konunuzda çözmüştüm. 2. Hata bir daha vermez sanırsam.
 
Sunucunuzda wildskript ve skquery gibi pluginler bulunuyor mu ?
 
Kod:
on damage of player:
    attacker is player
    if tool of attacker is iron hoe:
        if name of attacker's tool is "&bŞok Tabancası":
            apply speed -100 to the victim for 10 seconds
            apply jump -100 to the victim for 10 seconds
            strike lightning at the victim
Ilk hatayı diğer konunuzda çözmüştüm. 2. Hata bir daha vermez sanırsam.
Arkadaşın dediğini görmediniz sanırsam. Bunu uyguladıktan sonra sorununuz çözülürse lütfen belirtiniz. İyi forumlar.
 
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