Skripte Küçük Bir Özellik Lazım

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

AhmetTekin

Odunlara Vur Vur Vur!
Katılım
10 Haziran 2017
Mesajlar
35
Elmaslar
3
Puan
0
Yaş
34
Forumdaki bu skripte bankayı soyan kişi banka soygunu bitene kadar hareket edememe ve körlük eklermisiniz

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 banka daha önce soyulmuş !"
 
Son düzenleme:
Konu Yanlış Yere Actınız Düzeltildi. Yardım Etcek Biri Gelir Eder :D İyi Forumlar
 
Hareket edememe sistemi
Kod:
banka soygunu yapıldığında
set {move.%player%} to false

banka soygunu bittiğinde ise
set {move.%player%} to true

on any move:
    if {move.%player%} is false:
        cancel event
 
Hareket edememe sistemi
Kod:
banka soygunu yapıldığında
set {move.%player%} to false

banka soygunu bittiğinde ise
set {move.%player%} to true

on any move:
    if {move.%player%} is false:
        cancel event
teşekkürler ancak ben yapamadım çalışmadı bu skriptin neresine eklenicek eğer zamanınız varsa skripte ekleyip kodu paylaşırmısınız
 
Son düzenleme:
teşekkürler ancak ben yapamadım çalışmadı bu skriptin neresine eklenicek eğer zamanınız varsa skripte ekleyip kodu paylaşırmısınız
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ı !  "
               set {soygun.%player%} to true
               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
               delete {soygun.%player%}
               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 banka daha önce soyulmuş !"
              
on any move:
    if {soygun.%player%} is true:
        cancel event
Buyrun.
 
Ben Size Bir Alternatif Sunayım İsterseniz Çünkü Bu Her Harekette Kontrol Edicek Ve Bu Biraz Yorucu Olabilir Bunun Yerine
Not: Umbaska Gerektirir​
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]"
               set the freeze state of player to true
               broadcast "&c%player% &7isimli oyuncu &c%location of clicked block% &7kordinatlarındaki ATM'de soyguna başladı !  "
               set {soygun.%player%} to true
               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
               delete {soygun.%player%}
               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%}
               set the freeze state of player to false
               wait {@bekleme} seconds
               set line 3 of the clicked block to "&a[Soyulmamis]"
           else:
               send "Bu banka daha önce soyulmuş !"
 
Körlük yada diğer iksir efekteleri için apply komutununu kullanabilirsin :) Sana bir örnek
Kod:
command /superhero [<text>]:
    permission: trial.mod.eglence
    permission message: {@noperm}
    trigger:
        if arg 1 is "zeus":
            wait 10 seconds
            clear player's inventory
            give iron axe named "&a&LZeusun Baltası" to player
        if arg 1 is "supersword":
            wait 0.1 seconds
            clear player's inventory
            give diamond sword named "&c&lSuper Sword" to player
        if arg 1 is "poseidon":
            wait 0.1 seconds
            clear player's inventory
            give stick named "&6&oPoseidon Donusturucu" to player
    
on rightclick with a stick:
    if display name of player's tool contains "&6&oPoseidon Donusturucu":
        cancel event
        send "{@p} &33 saniye Bekle SOnra Donusuceksin!"
        wait 3 seconds
        open chest with 1 rows named "&4&lDonusturucu!" to player
        format slot 4 of player with green wool named "&a3" to close
        wait 1 seconds
        format slot 4 of player with red wool named "&b2" to close
        wait 1 seconds
        format slot 4 of player with pink wool named "&d1" to close
        wait 1 seconds
        format slot 0 of player with green wool named "&a0" to close
        wait 3 seconds
        give blaze rod named "&a&lPoseidonun RODU" to player
        
on rightclick with a blaze rod:
    if display name of player's tool contains "&a&lPoseidonun RODU":
        cancel event
        wait 0.1 seconds
        clear player's inventory
        give blaze rod of sharpness 15 named "&a&lPoseidonun RODU" to player
            
on rightclick with a iron axe:
    if display name of player's tool contains "&a&LZeusun Baltası":
        cancel event
        wait 0.1 seconds
        execute player command "lightning %player%"
        apply regeneration 3 to the player for 123123123 seconds
        apply strength 6 to the player for 123123312312312 seconds
        
on rightclick with a diamond sword:
    if display name of player's tool contains "&c&lSuper Sword":
        cancel event
        wait 0.1 seconds
        execute player command "lightning %player%"
        clear player's inventory
        give diamond sword of sharpness 15 named "&c&lSuper Sword" to player
 
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