Skocz do zawartości

Skrypt na kostury naprawa.


Rekomendowane odpowiedzi

Witam, mam problem. Skrypt cały jakby się sypie. przedmiot blaze rod i stick tylko podpala zamiast robić jakieś obrazenia itd.

 

command /KosturMagaWave:
    permission: kostury
    trigger:
        give player 1 blaze rod of sharpness 8 named "&cKostur Maga &7[fala ognia]"
        send "&3Otrzymales kostur!"
        send "&3Lewym przyciskiem myszy atakujesz!"
        send "&3Prawym przyciskiem myszy zmieniasz moc!"
        execute console command "ppo %player% add flame feet"
        execute console command "ppo %player% add flame feet"

on leftclick:
    if name of player's tool is "&cKostur Maga &7[fala ognia]":
    if {dragonwand::spell::%player%} is true:
        set {dragonwand::spell::%player%} to false
        loop blocks from the block in front of player to the block 50 horizontal in front of player:
        light target of player on fire
        damage target of player by 1
        wait 3 seconds
        set {dragonwand::spell::%player%} to true
    stop
    else if {dragonwand::spell::%player%} is false:
        send "&7Poczekaj chwile, zanim znow uzyjesz!"
    stop
    
command /KosturMagaPior:
    permission: kostury
    trigger:
        give player 1 stick of sharpness 8 named "&cKostur Maga 1&7[PIORUN]"
        send "&3Otrzymales kostur!"
        send "&3Lewym przyciskiem myszy atakujesz!"
        send "&3Prawym przyciskiem myszy zmieniasz moc!"
        execute console command "ppo %player% add flame feet"
        execute console command "ppo %player% add flame feet"

on leftclick:
    if name of player's tool is "&cKostur Maga 1 &7[PIORUN]":
    if {czasczeka:%player%} is true:
        loop all entities in radius 2 around targeted block:
            damage loop-entity by 100
        detonate trailing ball large firework colored lime at targeted block
        detonate flickering trailing burst firework colored green at targeted block
        detonate flickering burst firework colored aqua at targeted block
        detonate trailing flickering burst firework colored aqua at targeted block
        wait 8 seconds
        set {czasczeka:%player%} to true
    stop
    else if {czasczeka:%player%} is false:
        send "&7Poczekaj chwile, zanim znow uzyjesz!"
    stop

 

Edytowane przez LeQuLa
Nieaktywny

Wstawiam w code.

Odnośnik do komentarza
https://skript.pl/temat/37387-skrypt-na-kostury-naprawa/
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...