Skocz do zawartości
  • 0

Efekty w GUI


GaRGaMell

Pytanie

W tym skrypie są 3 błędy mam WildSkript Skript i SqQuerty (chyba tak sie to pisze)

naprawi mi ktoś ten skrypt?

command /efekty:
    trigger:
        open chest with 2 rows named "&6&lEFEKTY" to player
        wait 2 ticks
        format slot 0 of player with Gray Stained Glass Pane named " " to close
        format slot 1 of player with Gray Stained Glass Pane named " " to close
        format slot 2 of player with sugar named "&7&lSPEED&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run execute player command ["/toniespeed %player%"]
        format slot 3 of player with Gray Stained Glass Pane named " " to close
        format slot 4 of player with blaze powder named "&7&lSILA&7(&54Min&7)" with lore "&7Koszt &8&l>> &6128 Szmaragdy" to close then run execute player command ["/toniesila %player%"]
        format slot 5 of player with Gray Stained Glass Pane named " " to close
        format slot 6 of player with fire charge named "&7&lFIRE RESISTANCE&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run execute player command ["/toniefire %player%"]
        format slot 7 of player with Gray Stained Glass Pane named " " to close
        format slot 8 of player with Gray Stained Glass Pane named " " to close
        format slot 9 of player with Gray Stained Glass Pane named " " to close
        format slot 10 of player with Gray Stained Glass Pane named " " to close
        format slot 11 of player with Gray Stained Glass Pane named " " to close
        format slot 12 of player with Gray Stained Glass Pane named " " to close
        format slot 13 of player with Fire named "&5&lWYJDZ" to close  
        format slot 14 of player with Gray Stained Glass Pane named " " to close
        format slot 15 of player with Gray Stained Glass Pane named " " to close
        format slot 16 of player with Gray Stained Glass Pane named " " to close
        format slot 17 of player with Gray Stained Glass Pane named " " to close
        stop
command /toniesila [<player>]:
    trigger:
        if player-arg has 128 Emerald:
            remove 128 Emerald from player-arg
            remove Strength from player-arg
            wait 10 ticks
            apply Strength to the player-arg for 240 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Sily."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop
command /toniespeed [<player>]:
    trigger:
        if player-arg has 64 Emerald:
            remove 64 Emerald from player-arg
            remove speed from player-arg
            wait 10 ticks
            apply speed to the player-arg for 480 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Szybkosci."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop
command /toniefire [<player>]:
    trigger:
        if player-arg has 64 Emerald:
            remove 64 Emerald from player-arg
            remove fire resistance from player-arg
            wait 10 ticks
            apply fire resistance to the player-arg for 480 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Odpornosci Na Ogien."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop

Odnośnik do komentarza
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Ależ drobnostka ;) Źle było ustawione (line: 7,9,11)

command /efekty:
    trigger:
        open chest with 2 rows named "&6&lEFEKTY" to player
        wait 2 ticks
        format slot 0 of player with Gray Stained Glass Pane named " " to close
        format slot 1 of player with Gray Stained Glass Pane named " " to close
        format slot 2 of player with sugar named "&7&lSPEED&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniespeed %player%"]
        format slot 3 of player with Gray Stained Glass Pane named " " to close
        format slot 4 of player with blaze powder named "&7&lSILA&7(&54Min&7)" with lore "&7Koszt &8&l>> &6128 Szmaragdy" to close then run [execute player command "toniesila %player%"]
        format slot 5 of player with Gray Stained Glass Pane named " " to close
        format slot 6 of player with fire charge named "&7&lFIRE RESISTANCE&7(&58Min&7)" with lore "&7Koszt &8&l>> &664 Szmaragdy" to close then run [execute player command "toniefire %player%"]
        format slot 7 of player with Gray Stained Glass Pane named " " to close
        format slot 8 of player with Gray Stained Glass Pane named " " to close
        format slot 9 of player with Gray Stained Glass Pane named " " to close
        format slot 10 of player with Gray Stained Glass Pane named " " to close
        format slot 11 of player with Gray Stained Glass Pane named " " to close
        format slot 12 of player with Gray Stained Glass Pane named " " to close
        format slot 13 of player with Fire named "&5&lWYJDZ" to close  
        format slot 14 of player with Gray Stained Glass Pane named " " to close
        format slot 15 of player with Gray Stained Glass Pane named " " to close
        format slot 16 of player with Gray Stained Glass Pane named " " to close
        format slot 17 of player with Gray Stained Glass Pane named " " to close
        stop
command /toniesila [<player>]:
    trigger:
        if player-arg has 128 Emerald:
            remove 128 Emerald from player-arg
            remove Strength from player-arg
            wait 10 ticks
            apply Strength to the player-arg for 240 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Sily."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop
command /toniespeed [<player>]:
    trigger:
        if player-arg has 64 Emerald:
            remove 64 Emerald from player-arg
            remove speed from player-arg
            wait 10 ticks
            apply speed to the player-arg for 480 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Szybkosci."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop
command /toniefire [<player>]:
    trigger:
        if player-arg has 64 Emerald:
            remove 64 Emerald from player-arg
            remove fire resistance from player-arg
            wait 10 ticks
            apply fire resistance to the player-arg for 480 seconds
            broadcast "&7Gracz &6%arg 1% &7Kupil Efekt &9Odpornosci Na Ogien."
        else:
            send "&6Nie Masz &464 Szmaragdow" to player-arg
            stop

:) Liczę na (+) ^^

Odnośnik do komentarza
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ę...