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%"
Pytanie
Grovciu 0
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