Çözüldü skript düzenlemesi ve ekleme yapılması lazım.

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

caddeercan28

Somon Balığı Selam Vermeye Geldi
Katılım
12 Ağustos 2024
Mesajlar
12
Elmaslar
0
Puan
115
Yaş
25
Konum
Ankara
Minecraft
FFledpl

Discord:

slexy43

Kod:
options:
    Esya: stone sword
    EsyaAdi: ultragucc
    Efekt: speed
    EfektLvL: 2
    EfektSure: 15
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 5
    Efekt3: strength
    EfektLvL3: 4
    EfektSure3: 15
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 4
    Efekt5: slowness
    EfektLvL5: 3
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 1
    EfektSure6: 15

on rightclick with {@Esya}:
    if tool's name is "{@EsyaAdi}":
        execute players command "/particle minecraft:nautilus ~ ~2 ~ 0 0 0 10 1000"
        play sound "block.shulker_box.close" to players
        apply potion of {@Efekt4} of tier {@EfektLvL4} to player for {@EfektSure4} second
        wait 4 second
        execute players command "/particle minecraft:end_rod ~ ~2 ~ 0 0 0 3 5000"
        play sound "minecraft:block.note_block.harp" to players
        apply potion of {@Efekt} of tier {@EfektLvL} to player for {@EfektSure} second
        apply potion of {@Efekt2} of tier {@EfektLvL2} to player for {@EfektSure2} second
        apply potion of {@Efekt3} of tier {@EfektLvL3} to player for {@EfektSure3} second
        apply potion of {@Efekt6} of tier {@EfektLvL6} to player for {@EfektSure6} second
        wait 15 second
        execute players command "/particle minecraft:campfire_signal_smoke ~ ~2 ~ 0 0 0 1 100"
        play sound "block.shulker_box.open" to players
        apply potion of {@Efekt5} of tier {@EfektLvL5} to player for {@EfektSure5} second

bu skripte sağ tık atınca 1 dakika boyunca sağ tık atılsa bile skript kodu çalışmaması lazım yani zaman zaman kullanılabilmesi için bu lazım
ikinci olarak eşya elindeyken oyuncu 1 kere sağ tık atarsa kılıç başkasına verildiğinde o kişi sağ tık attığında ilk başta sağ tık atan kişiden partiküller çıkıyor bunu çözmemiz lazım yapabilirseniz sevinirim.
 
Kod:
options:
    Esya: stone sword
    EsyaAdi: ultragucc
    Efekt: speed
    EfektLvL: 2
    EfektSure: 15
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 5
    Efekt3: strength
    EfektLvL3: 4
    EfektSure3: 15
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 4
    Efekt5: slowness
    EfektLvL5: 3
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 1
    EfektSure6: 15

on rightclick with {@Esya}:
    if tool's name is "{@EsyaAdi}":
        execute players command "/particle minecraft:nautilus ~ ~2 ~ 0 0 0 10 1000"
        play sound "block.shulker_box.close" to players
        apply potion of {@Efekt4} of tier {@EfektLvL4} to player for {@EfektSure4} second
        wait 4 second
        execute players command "/particle minecraft:end_rod ~ ~2 ~ 0 0 0 3 5000"
        play sound "minecraft:block.note_block.harp" to players
        apply potion of {@Efekt} of tier {@EfektLvL} to player for {@EfektSure} second
        apply potion of {@Efekt2} of tier {@EfektLvL2} to player for {@EfektSure2} second
        apply potion of {@Efekt3} of tier {@EfektLvL3} to player for {@EfektSure3} second
        apply potion of {@Efekt6} of tier {@EfektLvL6} to player for {@EfektSure6} second
        wait 15 second
        execute players command "/particle minecraft:campfire_signal_smoke ~ ~2 ~ 0 0 0 1 100"
        play sound "block.shulker_box.open" to players
        apply potion of {@Efekt5} of tier {@EfektLvL5} to player for {@EfektSure5} second

bu skripte sağ tık atınca 1 dakika boyunca sağ tık atılsa bile skript kodu çalışmaması lazım yani zaman zaman kullanılabilmesi için bu lazım
ikinci olarak eşya elindeyken oyuncu 1 kere sağ tık atarsa kılıç başkasına verildiğinde o kişi sağ tık attığında ilk başta sağ tık atan kişiden partiküller çıkıyor bunu çözmemiz lazım yapabilirseniz sevinirim.

Skript'inizin güncellenmiş halini aşağıya bırakıyorum.

Yapılan değişiklikler:
- Eşyaya bekleme süresi eklendi; oyuncuya değil eşyaya. Eşyayı yere atsanız bile üzerinde bir bekleme süresi olacaktır. Bu kullanım açısından oldukça iyidir.
- Eşya yere atıldığı zaman oyuncunun özel yetenekleri devre dışı bırakılır (tamamen silinir). Bu sayede oyuncu kılıcı kullandıktan sonra particle effect almayacaktır.
- Particle effectler ve ses oynatma için panel kullanımı iptal edildi, fonksiyon sözdizimi ile yeniden yapıldı.
- Kılıç kullanıldıktan sonra geri sayım için Action bar'a reverse progress eklendi.

NOT: SkBee 2.17 ve Skript 2.8.4 eklentileri gerekiyor, onun dışında başka bir şeye ihtiyacınız yok. Tam olarak bu sürümlerde test ettim.

Kod:
options:
    Esya: stone sword
    EsyaAdi: ultragucc
    Efekt: speed
    EfektLvL: 2
    EfektSure: 15
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 5
    Efekt3: strength
    EfektLvL3: 4
    EfektSure3: 15
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 4
    Efekt5: slowness
    EfektLvL5: 3
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 1
    EfektSure6: 15
    
    bekleme süresi: 20 #bu sayı skript için uygundur. dahada düşürmek sorun yaratabilir.

right click with {@Esya}:
    name of player's tool is "{@EsyaAdi}":
        item cooldown of player's tool = 0 seconds:
            set item cooldown of player's tool for player to {@bekleme süresi} seconds
            itemEffect(player)
        else:
            chance of 25%:
                send "&cLütfen bekleyin!" to event-player
                
function itemEffect(p: player):
    {player::has::item::%{_p}%} is not set:
        set {player::has::item::%{_p}%} to true
        apply potion of {@Efekt4} of tier {@EfektLvL4} to {_p} for {@EfektSure4} second
        wait a ticks
        drawPaticleEffect("true", location of {_p}, nautilus, 100, 1)
        playSound({_p}, "block.beacon.activate", 0.9)
        wait 4 second
        drawPaticleEffect("true", location of {_p}, end rod, 200, 1)
        playSound({_p}, "block.beacon.power_select", 0.5)
        apply potion of {@Efekt} of tier {@EfektLvL} to {_p} for {@EfektSure} second
        apply potion of {@Efekt2} of tier {@EfektLvL2} to {_p} for {@EfektSure2} second
        apply potion of {@Efekt3} of tier {@EfektLvL3} to {_p} for {@EfektSure3} second
        apply potion of {@Efekt6} of tier {@EfektLvL6} to {_p} for {@EfektSure6} second
        set {_index} to 15
        
        loop 15 times:
            wait a seconds
            remove 1 from {_index}
            send action bar "&e&lKULLANIM: %aneProgressBar({_index}, 15, "|", 15, "&eBitti")%" to {_p}
            stop loop if {player::has::item::%{_p}%} is not set
        {player::has::item::%{_p}%} is set:
            drawPaticleEffect("true", location of {_p}, campfire signal smoke, 50, 1)
            playSound({_p}, "block.beacon.deactivate", 0.9)
            apply potion of {@Efekt5} of tier {@EfektLvL5} to {_p} for {@EfektSure5} second
            delete {player::has::item::%{_p}%}
            send action bar "" to {_p}
        else:
            clear all the potion effects of {_p}
            send action bar "&c&lKILICI YERE ATTIĞINIZ İÇİN İŞLEM İPTAL EDİLDİ!" to {_p}
drop:
    event-item = {@Esya}:
        name of event-item = "{@EsyaAdi}":
            set {_p} to event-player
            {player::has::item::%{_p}%} is set:
                delete {player::has::item::%{_p}%}
quit:
    set {_p} to event-player
    {player::has::item::%{_p}%} is set:
        delete {player::has::item::%{_p}%}   

function aneProgressBar(current: Integer, total: Integer, symbol: String, size: Integer, fullBar: String) :: String:
    loop {_size} times:
        set {_progress} to "%{_progress} ? ""%%{_symbol}%"
    set {_full} to "&6%subtext of {_progress} from indices 1 to (({_current} / {_total}) * {_size} * (length of {_symbol})) ? ""%"
    set {_void} to "&7%subtext of {_progress} from indices (({_current} / {_total}) * {_size} * (length of {_symbol}))+1 to (length of {_progress}) ? " "%"
    {_current} >= {_total}:
        set {_full} to {_fullBar}
    return "%{_full} ? " " %%{_void}%"
    
function usingType(type: String) :: String:
    {_type} = "true":
        set {_out} to true
    return "%{_out} ? false%"
    
function playSound(p: player, sound: text, pitch: number):
    play sound {_sound} with volume 0.5 with pitch {_pitch} to {_p}
    
local function drawPaticleEffect(type: String, loc: location, particleType: particle, amount: number, speed: number):
    add 2 to y-coordinate of {_loc}
    usingType({_type}) = "true":
        draw {_amount} of {_particleType} particle at {_loc} with offset vector(0, 0, 0) with extra {_speed}
    else:
        send usingType({_type}) to players #deBug [][][]
 
Skript'inizin güncellenmiş halini aşağıya bırakıyorum.

Yapılan değişiklikler:
- Eşyaya bekleme süresi eklendi; oyuncuya değil eşyaya. Eşyayı yere atsanız bile üzerinde bir bekleme süresi olacaktır. Bu kullanım açısından oldukça iyidir.
- Eşya yere atıldığı zaman oyuncunun özel yetenekleri devre dışı bırakılır (tamamen silinir). Bu sayede oyuncu kılıcı kullandıktan sonra particle effect almayacaktır.
- Particle effectler ve ses oynatma için panel kullanımı iptal edildi, fonksiyon sözdizimi ile yeniden yapıldı.
- Kılıç kullanıldıktan sonra geri sayım için Action bar'a reverse progress eklendi.

NOT: SkBee 2.17 ve Skript 2.8.4 eklentileri gerekiyor, onun dışında başka bir şeye ihtiyacınız yok. Tam olarak bu sürümlerde test ettim.

Kod:
options:
    Esya: stone sword
    EsyaAdi: ultragucc
    Efekt: speed
    EfektLvL: 2
    EfektSure: 15
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 5
    Efekt3: strength
    EfektLvL3: 4
    EfektSure3: 15
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 4
    Efekt5: slowness
    EfektLvL5: 3
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 1
    EfektSure6: 15
   
    bekleme süresi: 20 #bu sayı skript için uygundur. dahada düşürmek sorun yaratabilir.

right click with {@Esya}:
    name of player's tool is "{@EsyaAdi}":
        item cooldown of player's tool = 0 seconds:
            set item cooldown of player's tool for player to {@bekleme süresi} seconds
            itemEffect(player)
        else:
            chance of 25%:
                send "&cLütfen bekleyin!" to event-player
               
function itemEffect(p: player):
    {player::has::item::%{_p}%} is not set:
        set {player::has::item::%{_p}%} to true
        apply potion of {@Efekt4} of tier {@EfektLvL4} to {_p} for {@EfektSure4} second
        wait a ticks
        drawPaticleEffect("true", location of {_p}, nautilus, 100, 1)
        playSound({_p}, "block.beacon.activate", 0.9)
        wait 4 second
        drawPaticleEffect("true", location of {_p}, end rod, 200, 1)
        playSound({_p}, "block.beacon.power_select", 0.5)
        apply potion of {@Efekt} of tier {@EfektLvL} to {_p} for {@EfektSure} second
        apply potion of {@Efekt2} of tier {@EfektLvL2} to {_p} for {@EfektSure2} second
        apply potion of {@Efekt3} of tier {@EfektLvL3} to {_p} for {@EfektSure3} second
        apply potion of {@Efekt6} of tier {@EfektLvL6} to {_p} for {@EfektSure6} second
        set {_index} to 15
       
        loop 15 times:
            wait a seconds
            remove 1 from {_index}
            send action bar "&e&lKULLANIM: %aneProgressBar({_index}, 15, "|", 15, "&eBitti")%" to {_p}
            stop loop if {player::has::item::%{_p}%} is not set
        {player::has::item::%{_p}%} is set:
            drawPaticleEffect("true", location of {_p}, campfire signal smoke, 50, 1)
            playSound({_p}, "block.beacon.deactivate", 0.9)
            apply potion of {@Efekt5} of tier {@EfektLvL5} to {_p} for {@EfektSure5} second
            delete {player::has::item::%{_p}%}
            send action bar "" to {_p}
        else:
            clear all the potion effects of {_p}
            send action bar "&c&lKILICI YERE ATTIĞINIZ İÇİN İŞLEM İPTAL EDİLDİ!" to {_p}
drop:
    event-item = {@Esya}:
        name of event-item = "{@EsyaAdi}":
            set {_p} to event-player
            {player::has::item::%{_p}%} is set:
                delete {player::has::item::%{_p}%}
quit:
    set {_p} to event-player
    {player::has::item::%{_p}%} is set:
        delete {player::has::item::%{_p}%}  

function aneProgressBar(current: Integer, total: Integer, symbol: String, size: Integer, fullBar: String) :: String:
    loop {_size} times:
        set {_progress} to "%{_progress} ? ""%%{_symbol}%"
    set {_full} to "&6%subtext of {_progress} from indices 1 to (({_current} / {_total}) * {_size} * (length of {_symbol})) ? ""%"
    set {_void} to "&7%subtext of {_progress} from indices (({_current} / {_total}) * {_size} * (length of {_symbol}))+1 to (length of {_progress}) ? " "%"
    {_current} >= {_total}:
        set {_full} to {_fullBar}
    return "%{_full} ? " " %%{_void}%"
   
function usingType(type: String) :: String:
    {_type} = "true":
        set {_out} to true
    return "%{_out} ? false%"
   
function playSound(p: player, sound: text, pitch: number):
    play sound {_sound} with volume 0.5 with pitch {_pitch} to {_p}
   
local function drawPaticleEffect(type: String, loc: location, particleType: particle, amount: number, speed: number):
    add 2 to y-coordinate of {_loc}
    usingType({_type}) = "true":
        draw {_amount} of {_particleType} particle at {_loc} with offset vector(0, 0, 0) with extra {_speed}
    else:
        send usingType({_type}) to players #deBug [][][]
skriptle ilgili baya dosyam var sürüm değiştirirsem sıkıntı çıkmazmı
 
kodun tamamını kullandığınızdan emin misiniz? çünkü yazdığım fonksiyonları bulamıyoru. ayrıca skript’i test ettim ve hiçbir sorun yoktu. bahsettiğim addon’u ve skript sürümünü doğru yaptığınızdan emin olun.
Discorddan arkadaşlık isteği attım bakabilir misin ?
 
kodun tamamını kullandığınızdan emin misiniz? çünkü yazdığım fonksiyonları bulamıyoru. ayrıca skript’i test ettim ve hiçbir sorun yoktu. bahsettiğim addon’u ve skript sürümünü doğru yaptığınızdan emin olun
farklı bir sunucu kurdum 1.16.5 yaptım dediğiniz eklentileri aynı sürümle kurdum tekrardan aynı hataları verdi
 
farklı bir sunucu kurdum 1.16.5 yaptım dediğiniz eklentileri aynı sürümle kurdum tekrardan aynı hataları verdi
Bu imkansız çünkü item Cooldown özelliği Skript 2.8 de mevcuttur. Skript sürümünüzün doğru olduğundan emin olun.

Bunu bulun:
Kod:
local function drawPaticleEffect(type: String, loc: location, particleType: particle, amount: number, speed: number):

Bununla değiştirin:
Kod:
local function drawPaticleEffect(type: String, loc: location, particleType: String, amount: number, speed: number):

Sizde, nedense bu çalışmadığı için fonksiyon kullanımı hata veriyor.
Test ettiğimde hiç bir sorun olmadı ve doğru şekilde çalışıyordu. Eğer sorun hala çözülmediyse /sk info yazıp ss atın.
 
Bu imkansız çünkü item Cooldown özelliği Skript 2.8 de mevcuttur. Skript sürümünüzün doğru olduğundan emin olun.

Bunu bulun:
Kod:
local function drawPaticleEffect(type: String, loc: location, particleType: particle, amount: number, speed: number):

Bununla değiştirin:
Kod:
local function drawPaticleEffect(type: String, loc: location, particleType: String, amount: number, speed: number):

Sizde, nedense bu çalışmadığı için fonksiyon kullanımı hata veriyor.
Test ettiğimde hiç bir sorun olmadı ve doğru şekilde çalışıyordu. Eğer sorun hala çözülmediyse /sk info yazıp ss atın.
1723484675273.webp

gene aynı hataları aldım sk info yazınca çıkan mesaj:
 
Aşağıda verdiğim Skript'e SkBee gerekmiyor. Fakat oyuncuların particle komutu kullanması için onlara yetki vermeniz gerekiyor.

Kod:
options:
    Esya: stone sword
    EsyaAdi: ultragucc
    Efekt: speed
    EfektLvL: 2
    EfektSure: 15
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 5
    Efekt3: strength
    EfektLvL3: 4
    EfektSure3: 15
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 4
    Efekt5: slowness
    EfektLvL5: 3
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 1
    EfektSure6: 15
    
    bekleme süresi: 20 #bu sayı skript için uygundur. dahada düşürmek sorun yaratabilir.

right click with {@Esya}:
    name of player's tool is "{@EsyaAdi}":
        item cooldown of player's tool = 0 seconds:
            set item cooldown of player's tool for player to {@bekleme süresi} seconds
            itemEffect(player)
        else:
            chance of 25%:
                send "&cLütfen bekleyin!" to event-player
 
function itemEffect(p: player):
    {player::has::item::%{_p}%} is not set:
        set {player::has::item::%{_p}%} to true
        apply potion of {@Efekt4} of tier {@EfektLvL4} to {_p} for {@EfektSure4} second
        wait a ticks
        set {_loc} to location of {_p}
        set {_x} to z-coordinate of {_loc}
        set {_y} to y-coordinate of {_loc}
        set {_z} to z-coordinate of {_loc}
        add 2 to {_y}
        execute {_p} command "particle minecraft:nautilus ~ ~2 ~ 0 0 0 10 1000"
        
        playSound({_p}, "block.beacon.activate", 0.9)
        wait 4 second
        execute {_p} command "particle minecraft:end_rod ~ ~2 ~ 0 0 0 3 5000"
        playSound({_p}, "block.beacon.power_select", 0.5)
        apply potion of {@Efekt} of tier {@EfektLvL} to {_p} for {@EfektSure} second
        apply potion of {@Efekt2} of tier {@EfektLvL2} to {_p} for {@EfektSure2} second
        apply potion of {@Efekt3} of tier {@EfektLvL3} to {_p} for {@EfektSure3} second
        apply potion of {@Efekt6} of tier {@EfektLvL6} to {_p} for {@EfektSure6} second
        set {_index} to 15
        
        loop 15 times:
            wait a seconds
            remove 1 from {_index}
            send action bar "&e&lKULLANIM: %aneProgressBar({_index}, 15, "|", 15, "&eBitti")%" to {_p}
            stop loop if {player::has::item::%{_p}%} is not set
        {player::has::item::%{_p}%} is set:
            execute {_p} command "particle minecraft:campfire_signal_smoke ~ ~2 ~ 0 0 0 1 100"
            playSound({_p}, "block.beacon.deactivate", 0.9)
            apply potion of {@Efekt5} of tier {@EfektLvL5} to {_p} for {@EfektSure5} second
            delete {player::has::item::%{_p}%}
            send action bar "" to {_p}
        else:
            clear all the potion effects of {_p}
            send action bar "&c&lKILICI YERE ATTIĞINIZ İÇİN İŞLEM İPTAL EDİLDİ!" to {_p}
drop:
    event-item = {@Esya}:
        name of event-item = "{@EsyaAdi}":
            set {_p} to event-player
            {player::has::item::%{_p}%} is set:
                delete {player::has::item::%{_p}%}
quit:
    set {_p} to event-player
    {player::has::item::%{_p}%} is set:
        delete {player::has::item::%{_p}%}   

function aneProgressBar(current: Integer, total: Integer, symbol: String, size: Integer, fullBar: String) :: String:
    loop {_size} times:
        set {_progress} to "%{_progress} ? ""%%{_symbol}%"
    set {_full} to "&6%subtext of {_progress} from indices 1 to (({_current} / {_total}) * {_size} * (length of {_symbol})) ? ""%"
    set {_void} to "&7%subtext of {_progress} from indices (({_current} / {_total}) * {_size} * (length of {_symbol}))+1 to (length of {_progress}) ? " "%"
    {_current} >= {_total}:
        set {_full} to {_fullBar}
    return "%{_full} ? " " %%{_void}%"
    
function playSound(p: player, sound: text, pitch: number):
    play sound {_sound} with volume 0.5 with pitch {_pitch} to {_p}
 
Aşağıda verdiğim Skript'e SkBee gerekmiyor. Fakat oyuncuların particle komutu kullanması için onlara yetki vermeniz gerekiyor.

Kod:
options:
    Esya: stone sword
    EsyaAdi: ultragucc
    Efekt: speed
    EfektLvL: 2
    EfektSure: 15
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 5
    Efekt3: strength
    EfektLvL3: 4
    EfektSure3: 15
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 4
    Efekt5: slowness
    EfektLvL5: 3
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 1
    EfektSure6: 15
   
    bekleme süresi: 20 #bu sayı skript için uygundur. dahada düşürmek sorun yaratabilir.

right click with {@Esya}:
    name of player's tool is "{@EsyaAdi}":
        item cooldown of player's tool = 0 seconds:
            set item cooldown of player's tool for player to {@bekleme süresi} seconds
            itemEffect(player)
        else:
            chance of 25%:
                send "&cLütfen bekleyin!" to event-player
 
function itemEffect(p: player):
    {player::has::item::%{_p}%} is not set:
        set {player::has::item::%{_p}%} to true
        apply potion of {@Efekt4} of tier {@EfektLvL4} to {_p} for {@EfektSure4} second
        wait a ticks
        set {_loc} to location of {_p}
        set {_x} to z-coordinate of {_loc}
        set {_y} to y-coordinate of {_loc}
        set {_z} to z-coordinate of {_loc}
        add 2 to {_y}
        execute {_p} command "particle minecraft:nautilus ~ ~2 ~ 0 0 0 10 1000"
       
        playSound({_p}, "block.beacon.activate", 0.9)
        wait 4 second
        execute {_p} command "particle minecraft:end_rod ~ ~2 ~ 0 0 0 3 5000"
        playSound({_p}, "block.beacon.power_select", 0.5)
        apply potion of {@Efekt} of tier {@EfektLvL} to {_p} for {@EfektSure} second
        apply potion of {@Efekt2} of tier {@EfektLvL2} to {_p} for {@EfektSure2} second
        apply potion of {@Efekt3} of tier {@EfektLvL3} to {_p} for {@EfektSure3} second
        apply potion of {@Efekt6} of tier {@EfektLvL6} to {_p} for {@EfektSure6} second
        set {_index} to 15
       
        loop 15 times:
            wait a seconds
            remove 1 from {_index}
            send action bar "&e&lKULLANIM: %aneProgressBar({_index}, 15, "|", 15, "&eBitti")%" to {_p}
            stop loop if {player::has::item::%{_p}%} is not set
        {player::has::item::%{_p}%} is set:
            execute {_p} command "particle minecraft:campfire_signal_smoke ~ ~2 ~ 0 0 0 1 100"
            playSound({_p}, "block.beacon.deactivate", 0.9)
            apply potion of {@Efekt5} of tier {@EfektLvL5} to {_p} for {@EfektSure5} second
            delete {player::has::item::%{_p}%}
            send action bar "" to {_p}
        else:
            clear all the potion effects of {_p}
            send action bar "&c&lKILICI YERE ATTIĞINIZ İÇİN İŞLEM İPTAL EDİLDİ!" to {_p}
drop:
    event-item = {@Esya}:
        name of event-item = "{@EsyaAdi}":
            set {_p} to event-player
            {player::has::item::%{_p}%} is set:
                delete {player::has::item::%{_p}%}
quit:
    set {_p} to event-player
    {player::has::item::%{_p}%} is set:
        delete {player::has::item::%{_p}%}  

function aneProgressBar(current: Integer, total: Integer, symbol: String, size: Integer, fullBar: String) :: String:
    loop {_size} times:
        set {_progress} to "%{_progress} ? ""%%{_symbol}%"
    set {_full} to "&6%subtext of {_progress} from indices 1 to (({_current} / {_total}) * {_size} * (length of {_symbol})) ? ""%"
    set {_void} to "&7%subtext of {_progress} from indices (({_current} / {_total}) * {_size} * (length of {_symbol}))+1 to (length of {_progress}) ? " "%"
    {_current} >= {_total}:
        set {_full} to {_fullBar}
    return "%{_full} ? " " %%{_void}%"
   
function playSound(p: player, sound: text, pitch: number):
    play sound {_sound} with volume 0.5 with pitch {_pitch} to {_p}
op yetkisimi vermem lazım
 
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