Hey guys, I need some help

I'm trying to make a timer that syncs to beats in my music, but it doesn't work at all :(Knipsel.PNG