Çözüldü Skripte süre ekleme

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: netherite sword
    Efekt: speed
    EfektLvL: 3
    EfektSure: 8
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 3
    Efekt3: strength
    EfektLvL3: 1
    EfektSure3: 5
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 3
    Efekt5: slowness
    EfektLvL5: 4
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 2
    EfektSure6: 5
    Efekt7: blindness
    EfektLvL7: 1
    EfektSure7: 4

on rightclick with {@Esya}:
        execute console command "lp user %player% permission set minecraft.command.particle true"
        wait 0.05 second
        execute player 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
        apply potion of {@Efekt7} of tier {@EfektLvL7} to player for {@EfektSure7} second
        execute console command "lp user %player% permission set minecraft.command.particle false"
        wait 2.90 second
        execute console command "lp user %player% permission set minecraft.command.particle true"
        wait 0.10 second
        execute player 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
        execute console command "lp user %player% permission set minecraft.command.particle false"
        wait 7.90 second
        execute console command "lp user %player% permission set minecraft.command.particle true"
        wait 0.10 second
        execute player 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
        execute console command "lp user %player% permission set minecraft.command.particle false"

arkadaşlar bu skripte süre eklemek istiyorum sağ tıkladıktan 1 dakika içinde bir daha sağ tıklarsa komutlar çalışmasın istiyorum
 
Kod:
options:
    Esya: netherite sword
    Efekt: speed
    EfektLvL: 3
    EfektSure: 8
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 3
    Efekt3: strength
    EfektLvL3: 1
    EfektSure3: 5
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 3
    Efekt5: slowness
    EfektLvL5: 4
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 2
    EfektSure6: 5
    Efekt7: blindness
    EfektLvL7: 1
    EfektSure7: 4

on rightclick with {@Esya}:
        execute console command "lp user %player% permission set minecraft.command.particle true"
        wait 0.05 second
        execute player 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
        apply potion of {@Efekt7} of tier {@EfektLvL7} to player for {@EfektSure7} second
        execute console command "lp user %player% permission set minecraft.command.particle false"
        wait 2.90 second
        execute console command "lp user %player% permission set minecraft.command.particle true"
        wait 0.10 second
        execute player 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
        execute console command "lp user %player% permission set minecraft.command.particle false"
        wait 7.90 second
        execute console command "lp user %player% permission set minecraft.command.particle true"
        wait 0.10 second
        execute player 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
        execute console command "lp user %player% permission set minecraft.command.particle false"

arkadaşlar bu skripte süre eklemek istiyorum sağ tıkladıktan 1 dakika içinde bir daha sağ tıklarsa komutlar çalışmasın istiyorum
Selam, istediğin kod sanırım bu,
JavaScript:
# Tanımlar
options:
    Esya: netherite sword
    Efekt: speed
    EfektLvL: 3
    EfektSure: 8
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 3
    Efekt3: strength
    EfektLvL3: 1
    EfektSure3: 5
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 3
    Efekt5: slowness
    EfektLvL5: 4
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 2
    EfektSure6: 5
    Efekt7: blindness
    EfektLvL7: 1
    EfektSure7: 4
    Cooldown: 60 # Süreyi saniye cinsinden tanımladık (1 dakika)

# Sağ tıklama işlemi
on rightclick with {@Esya}:
    # Sağ tıklama zamanını al
    set {_lastRightClick} to {player_last_right_click.%player%}

    # Eğer daha önce sağ tıklama yapılmışsa ve geçen süre cooldown süresinden küçükse
    if {_lastRightClick} is set and difference between {_lastRightClick} and now < {@Cooldown} seconds:
        # Komutları çalıştırma
        send "&cBu işlemi yapabilmek için daha fazla beklemelisiniz!" to player
        stop

    # Sağ tıklama zamanını güncelle
    set {player_last_right_click.%player%} to now

    # Komutlar ve efektler
    execute console command "lp user %player% permission set minecraft.command.particle true"
    wait 0.05 second
    execute player 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
    apply potion of {@Efekt7} of tier {@EfektLvL7} to player for {@EfektSure7} second
    execute console command "lp user %player% permission set minecraft.command.particle false"
    wait 2.90 second
    execute console command "lp user %player% permission set minecraft.command.particle true"
    wait 0.10 second
    execute player 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
    execute console command "lp user %player% permission set minecraft.command.particle false"
    wait 7.90 second
    execute console command "lp user %player% permission set minecraft.command.particle true"
    wait 0.10 second
    execute player 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
    execute console command "lp user %player% permission set minecraft.command.particle false"

NOT: Kod yapay zeka yardımları ile yazılmış ve test edilmemiştir, bol kullanımlar dilerim.
 
Selam, istediğin kod sanırım bu,
JavaScript:
# Tanımlar
options:
    Esya: netherite sword
    Efekt: speed
    EfektLvL: 3
    EfektSure: 8
    Efekt2: regeneration
    EfektLvL2: 4
    EfektSure2: 3
    Efekt3: strength
    EfektLvL3: 1
    EfektSure3: 5
    Efekt4: slowness
    EfektLvL4: 100
    EfektSure4: 3
    Efekt5: slowness
    EfektLvL5: 4
    EfektSure5: 3
    Efekt6: jump boost
    EfektLvL6: 2
    EfektSure6: 5
    Efekt7: blindness
    EfektLvL7: 1
    EfektSure7: 4
    Cooldown: 60 # Süreyi saniye cinsinden tanımladık (1 dakika)

# Sağ tıklama işlemi
on rightclick with {@Esya}:
    # Sağ tıklama zamanını al
    set {_lastRightClick} to {player_last_right_click.%player%}

    # Eğer daha önce sağ tıklama yapılmışsa ve geçen süre cooldown süresinden küçükse
    if {_lastRightClick} is set and difference between {_lastRightClick} and now < {@Cooldown} seconds:
        # Komutları çalıştırma
        send "&cBu işlemi yapabilmek için daha fazla beklemelisiniz!" to player
        stop

    # Sağ tıklama zamanını güncelle
    set {player_last_right_click.%player%} to now

    # Komutlar ve efektler
    execute console command "lp user %player% permission set minecraft.command.particle true"
    wait 0.05 second
    execute player 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
    apply potion of {@Efekt7} of tier {@EfektLvL7} to player for {@EfektSure7} second
    execute console command "lp user %player% permission set minecraft.command.particle false"
    wait 2.90 second
    execute console command "lp user %player% permission set minecraft.command.particle true"
    wait 0.10 second
    execute player 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
    execute console command "lp user %player% permission set minecraft.command.particle false"
    wait 7.90 second
    execute console command "lp user %player% permission set minecraft.command.particle true"
    wait 0.10 second
    execute player 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
    execute console command "lp user %player% permission set minecraft.command.particle false"

NOT: Kod yapay zeka yardımları ile yazılmış ve test edilmemiştir, bol kullanımlar dilerim.
çalışmıyor
 
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