Thank you mdotstrange, I took your advice and it worked. The energy bar adds a value on collision, however i also noticed with my character it only works when they jump on top of the item, like mario jumping on koopa. I want the character to run into item like Mario running into super mushroom, star, etc. and just pick it up and use it.
Here are the screenshots