Code works in 0016 but not 0018

Some libraries have changed between 16 and 18. Are you using any libraries?

its not doing what it is suppose to

What is it not doing?