Syntax error unexpected token

i have a code that i have used for After effects before but now it wont work
the error is in line 4 says after effects
slider = Math.round(effect(“Slider Control”)(“Slider”))
sec = slider%60
min = Math.floor(slider/60)

function addZero(n){ if (n<10) return “0” + n else return n }

addZero(min) + “:” + addZero(sec)

I did not write the code i have just used it when it was working

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.