Does selenium version affects appium scripts:?

Hi, I am using java client 4.1.2 and selenium 2.53 with appium version 1.8 all the scripts are working fine but when i change the selenium vesion from 2.53 to 3.13 .Scripts got failed so what i have to do ?

Yes, you need to upgrade your java client to latest.