what command I have to add the script to the NPC level and add that he did not take.
currently this well
st.takeItems (ADENA, price1);
player.setExp (player.getStat (). getExpForLevel (play er.getLevel ())) / / sets exp to 0%, if you do not like ppl abusing this by deleveling at 99% exp, delete this line
player.removeExpAndSp (player.getExp () - Experience.LEVEL [player.getLevel () - 1], 0);
player.sendPacket (new CreatureSay (npc.getObjectId (), 0, "Eerie Manager", "Congratulations," player.getName + () + "Has Been Decreased Your level!"));