I want to make a code that when you right click you enchant the object of the hand.
Code:
Code:
code_language.skript:
on rightclick on a sign:
if line 1 is "&Encantamientos":
if line 2 is "&0Irrompibilidad":
if line 3 is "&050":
if line 4 is "&010&e©":
remove 10 from {monedas.%player%}
enchant sword of unbreaking 50 to player <- ERROR
send "&7[&2Encantamientos&7] &fHas encantado tu &6Espada &fpor &e10 &6&lMonedas" to player