Bulundu Çubuk skripti

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

Deleted Users 36797

Clasrium 2021
Katılım
4 Mart 2018
Mesajlar
430
Elmaslar
125
Puan
14.025

Discord:

bilisim

Kod:
options:
    bekleme: 600
    prefix: &c&lSoygun &8&l» &7
 
 

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 300 #Buradan verilecek olan parayı düzenleyebilirsiniz.
                add {_x} to player's balance
                send "&7Hesabınıza &c%{_x}%TL &7eklendi."
                wait {@bekleme} seconds
                set line 3 of the clicked block to "&a[Soyulmamis]"
            else:
                send "Bu banka daha önce soyulmuş !"
Böyle bir kod var.Benim isteğim şu adam soyguna başlayınca bir polis elindeki &a&lPolis isimli çubukla o soyan kişiye sağ tıklarsa adamdan 300 Tl alıcak o soygun parasınıda alamıcak.
istek bu
 

Sunucuda Economy eklentisini mi kullanıyorsunuz? Ona göre ayar çekeceğim.
 

Sunucuda Economy eklentisini mi kullanıyorsunuz? Ona göre ayar çekeceğim.
Essentials kullanıyorum 1.14 uyumlu economy plsi bulamadım varsa sen ona göre yap banada linkini at olur mu yada essentialsada yapabilirsin
 
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