jakims cudem nadal tego kila nie nabija i wiem, ze same zmienne dzialaja w lore, ale np zmienna {kills.{id.exc}} juz jest uznawana po przeladowaniu za blad, a {kills} juz nie, nie wiem, moze ja cos nie dopatruje w calosci, szperalem juz duzo, ale wciaz bez rezultatu nabijania zabojstw na miecz, tutaj masz caly skrypt:
variables:
{id:exc} = 1
{_x} = 0
on death of player:
if attacker is player:
If attacker's tool is Diamond Sword named "&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fNumer Seryjny: %{id.exc}%":
set {_x} to 3nd 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 "&fPlayer Killed: %{_x}%"
on damage:
if name of attacker's tool is "&e&oExcalibur":
remove strength from the attacker
apply strength 12 to attacker for 3.9 seconds
on rightclick on sign:
if line 1 is "&1[EXCALIBUR]":
if player's account is greater than or equal to 300000:
give 1 Diamond Sword named "&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fNumer Seryjny: %{id.exc}%" to the player
remove 300000 from player's account
Add 1 to {id.exc}
send "&6[SignShop] &fYou have bought &eEXCALIBUR!"
else:
send "&6[SignShop] &fYou don't have &a$300000 &fto pay!"
command /exc:
permission: exc.admin
trigger:
give 1 Diamond Sword named "&e&oExcalibur" with lore "&fDiamond Sword||&6&oDescription: &fWlasnosc %player%||&fPlayers Killed: 0||&fNumer Seryjny: %{id.exc}%" to the player
Add 1 to {id.exc}
send "&6[SignShop] &fYou have bought &eEXCALIBUR!"