Take a look at the pill and use %player.setEnergyLevel(NUMBER);
also if this is for what iithink it is tell me how you do it because I needed it for the fists power attack