Kod:
command /sakla:
trigger:
if level of player is greater than or equal to 1:
give player exp bottle of unbreaking 1 named "&eSahip&7: &a%player%" with lore "&7Level: &b%level of player%"
send "&cLevel Saklama &7> &a%level of player% &eLevel Başarıyla Saklandı"
set level of player to 0
else:
send "&cLevel Saklama &7> &eLevel Saklamak Için Levelin &c1 &eVeya Daha Fazla Olmalı"
rightclick with exp bottle of unbreaking 1:
lore of player tool contains "&7Level: &b"
set {_s} to lore of player's tool
replace "&7Level: &b" with "" in {_s}
add {_s} parsed as number to level of player
remove 1 of player's tool from player
send "&cLevel Saklama &7> &aLevelin Geri Verildi"
cancel event
ama skriptte çalıştıramadım yardım edebilecek var mı