Code not working

It goes at the END.

If it isn't working, that means it compiles, that means it uploads but it isn't doingwhat you want.