i need to check the lines on the sign, there are no error but its not working...
Code:
on rightclick on dark oak sign:
line 1 of event-block is "&6Buy Sharpness"
line 2 of event-block is "&d45 &6Coins"
if player has 45 gold nuggets named "&d&l&oMagical Coin":
remove 45 gold nuggets named "&d&l&oMagical Coin" from player's inventory
remove 1 iron sword from player's inventory
give 1 iron sword of sharpness 5 to player
play sound "entity.experience_orb.pickup" to player
else:
play sound "entity.villager.no" to player