on rightclick on anvil:
cancel event
if player's tool is any pickaxe or any Axe or any shovel or any hoe or any sword or any helmet or any chestplate or any leggings or any boots or bow:
open chest with3 rows named "&8&lKowadlo" to player
set{itemencahnt.%player%} to player's tool
wait 1 ticks
format slot 11 of player with1 of 145 named "&a&lNAPRAW ITEM"with lore " &8» &eKoszt: &a35 lvl" to close then run [execute console command "kowadlo napraw %player%"]
format slot 15 of player with1 of 421 named "&a&lZMIEN NAZWE"with lore " &8» &eKoszt: &a20 lvl" to close then run [execute console command "kowadlo napraw %player%"]
stop
else:
send "&4BLAD: &cKliknij prawym przyciskiem myszy na kowadlo aby naprawic lub zmienic nazwe przedmiotu." to player
command /kowadlo [<text>][<player>]:
trigger:if arg-1 is "napraw":if arg-2 is set:if player-arg's level is greater than 4:
execute console command "repair hand %player%"
remove 35 from player-arg's level
send "&aPomyslnie naprawiono przedmiot." to player-arg
stop
else:
send "&cBLAD: &4nie posiadasz wystarczajacego lvl lub tego przedmiotu nie mozna naprawic." to player-arg
stop
Pytanie
ZombieMc 0
Naprawcie ten skrypt!
Odnośnik do komentarza
https://skript.pl/temat/24994-kowadlo/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi