Skocz do zawartości
  • 0

BRON Z EFEKTEM SILY 6


Grovciu

Pytanie

CZEŚĆ CZY POMÓGŁ BY KTOŚ NAPRAWIĆ TEN SKRYPT BARDZO BĘDĘ WDZIĘCZNY.

BŁĘDY: --> https://imgur.com/a/9JOEC

<SKRYPT>

variables:
    {id::exc} = 1
    {zabicia} = 0
command /excalibur:
    permission: essentials.item1
    trigger:
        execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamondSword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_0|&fStrange_Weapon:_%{id::exc}%"
on damage:
    if name of attacker's tool is "&e&oExcalibur":
        remove strength from the attacker
        apply strength 6 to attacker for 2.9 seconds


on rightclick on signs:
    if line 1 is "&1[EXCALIBUR]":
        if line 2 is "NAJSILNIEJSZA":
            if line 3 is "BRON!":
                if line 4 is "300000$":
            if player's balance is greater than 300000:
                remove 300000 from player's account
                execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamondSword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_0|&fStrange_Weapon:_%{id::exc}%"
                add 1 to {licence}
                send "&6[SignShop] &fZakupiles EXCALIBUR za &a$300000&f!"
            else:
                send "&6[SignShop] &fNie masz wystarczajaco duzo dolarow ! Wykonuj prace i zarabiaj lub zamow je smsem !"
                
on death of player:
    if attacker is player:
        if attacker's tool is diamond sword:
            if name of attacker's tool is "&e&oExcalibur":
                set {_x} to 2nd line of lore of attacker's tool
                replace all "&fPlayers Killed: " with "" in {_x}
                set {_x} to {_x} parsed as number
                add 1 to {_x}
                set 3nd line of lore of attacker's tool to "&fPlayers Killed: %{_x}+1%"

 

 

Odnośnik do komentarza
https://skript.pl/temat/25049-bron-z-efektem-sily-6/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

variables:
    {id::exc} = 1
    {zabicia} = 0
command /excalibur:
    permission: essentials.item1
    trigger:
        execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamondSword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_0|&fStrange_Weapon:_%{id::exc}%"
on damage:
    if name of attacker's tool is "&e&oExcalibur":
        remove strength from the attacker
        apply strength 6 to attacker for 2.9 seconds


on rightclick on signs:
    if line 1 is "&1[EXCALIBUR]":
        if line 2 is "NAJSILNIEJSZA":
            if line 3 is "BRON!":
                if line 4 is "300000$":
                    if player's balance is greater than 300000:
                        remove 300000 from player's account
                        execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamondSword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_0|&fStrange_Weapon:_%{id::exc}%"
                        add 1 to {licence}
                        send "&6[SignShop] &fZakupiles EXCALIBUR za &a$300000&f!"
                    else:
                        send "&6[SignShop] &fNie masz wystarczajaco duzo dolarow ! Wykonuj prace i zarabiaj lub zamow je smsem !"
                
on death of player:
    if attacker is a player:
        if attacker's tool is diamond sword:
            if name of attacker's tool is "&e&oExcalibur":
                set {_x} to 2nd line of lore of attacker's tool
                replace all "&fPlayers Killed: " with "" in {_x}
                set {_x} to {_x} parsed as number
                add 1 to {_x}
                set 3nd line of lore of attacker's tool to "&fPlayers Killed: %{_x}+1%"

Odnośnik do komentarza
https://skript.pl/temat/25049-bron-z-efektem-sily-6/#findComment-166633
Udostępnij na innych stronach

  • 0
11 godzin temu, huert2007 napisał:

variables:
    {id::exc} = 1
    {zabicia} = 0
command /excalibur:
    permission: essentials.item1
    trigger:
        execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamondSword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_0|&fStrange_Weapon:_%{id::exc}%"
on damage:
    if name of attacker's tool is "&e&oExcalibur":
        remove strength from the attacker
        apply strength 6 to attacker for 2.9 seconds


on rightclick on signs:
    if line 1 is "&1[EXCALIBUR]":
        if line 2 is "NAJSILNIEJSZA":
            if line 3 is "BRON!":
                if line 4 is "300000$":
                    if player's balance is greater than 300000:
                        remove 300000 from player's account
                        execute console command "/give %player% diamondsword 1 name:&e&oExcalibur lore:&fDiamondSword|&6&oDescription:_&fWlasnosc&f_%player%|&fPlayers_Killed:_0|&fStrange_Weapon:_%{id::exc}%"
                        add 1 to {licence}
                        send "&6[SignShop] &fZakupiles EXCALIBUR za &a$300000&f!"
                    else:
                        send "&6[SignShop] &fNie masz wystarczajaco duzo dolarow ! Wykonuj prace i zarabiaj lub zamow je smsem !"
                
on death of player:
    if attacker is a player:
        if attacker's tool is diamond sword:
            if name of attacker's tool is "&e&oExcalibur":
                set {_x} to 2nd line of lore of attacker's tool
                replace all "&fPlayers Killed: " with "" in {_x}
                set {_x} to {_x} parsed as number
                add 1 to {_x}
                set 3nd line of lore of attacker's tool to "&fPlayers Killed: %{_x}+1%"

Nadal są błędy w tym 

on death of player:
    if attacker is a player:
        if attacker's tool is diamond sword:
            if name of attacker's tool is "&e&oExcalibur":
                set {_x} to 2nd line of lore of attacker's tool
                replace all "&fPlayers Killed: " with "" in {_x}
                set {_x} to {_x} parsed as number
                add 1 to {_x}
                set 3nd line of lore of attacker's tool to "&fPlayers Killed: %{_x}+1%"

Odnośnik do komentarza
https://skript.pl/temat/25049-bron-z-efektem-sily-6/#findComment-166660
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ę...